Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change serving country certificates #7521

Merged
merged 16 commits into from
Aug 28, 2024
Merged

Conversation

Nil20
Copy link
Collaborator

@Nil20 Nil20 commented Aug 21, 2024

Country config PR: opencrvs/opencrvs-countryconfig#250

We can token protect the farajaland certificate routes like in the farajaland PR which seems like a much simpler approach than creating presigned url like we discussed here.

Copy link

Oops! Looks like you forgot to update the changelog. When updating CHANGELOG.md, please consider the following:

  • Changelog is read by country implementors who might not always be familiar with all technical details of OpenCRVS. Keep language high-level, user friendly and avoid technical references to internals.
  • Answer "What's new?", "Why was the change made?" and "Why should I care?" for each change.
  • If it's a breaking change, include a migration guide answering "What do I need to do to upgrade?".

@rikukissa
Copy link
Member

rikukissa commented Aug 26, 2024

Indeed, seems like a better approach for now 👍 Could you please confirm the certificates also still work offline?

@rikukissa
Copy link
Member

@Zangetsu101 could you also review this please?

@Nil20
Copy link
Collaborator Author

Nil20 commented Aug 27, 2024

We can update the changelog in this PR

packages/client/src/components/interface/Navigation.tsx Outdated Show resolved Hide resolved
packages/client/src/offline/reducer.ts Outdated Show resolved Hide resolved
packages/client/src/offline/reducer.ts Outdated Show resolved Hide resolved
packages/client/src/offline/reducer.ts Show resolved Hide resolved
@Nil20
Copy link
Collaborator Author

Nil20 commented Aug 28, 2024

Indeed, seems like a better approach for now 👍 Could you please confirm the certificates also still work offline?

Yep. It does.

@Nil20 Nil20 merged commit bd26a13 into develop Aug 28, 2024
22 checks passed
@Nil20 Nil20 added this to the v1.6.0 milestone Aug 29, 2024
github-actions bot pushed a commit that referenced this pull request Aug 29, 2024
Nil20 added a commit that referenced this pull request Aug 29, 2024
* chore: add a proxy route to serve country certificates

* chore!: serve certificates from country-config while loading and remove ceritificate components from ui

* fix: amend client unit tests

* Revert "chore: add a proxy route to serve country certificates"

This reverts commit d07e047.

* chore: get event certificates with token

* chore: remove seeding certificates

* fix: keep integrations in config workqueue

* fix: reduce number of redux actions

* fix: amend error handler message for certificate endpoint in config

* fix: amend offline reducers

* fix: update offline data properties to proper offline data

* chore: revert navigation unit test for config tab

* chore: revert offline template data for field agents

* chore: refactor certificate fetching handler
Zangetsu101 added a commit that referenced this pull request Sep 2, 2024
(For 1.6) 🍒 Merge changes from PR #7521 to release-v1.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants