Skip to content

Conversation

@naftis
Copy link
Member

@naftis naftis commented Sep 30, 2024

Confirms the registration via a new GraphQL API confirmRegistration. This change was made due to OpenCRVS architecturally going to the direction of handling communications only via gateway's GraphQL endpoint. This allows core to only internally access workflow's /confirm/registration endpoint and clarifies the divide between internal and external endpoints.

The change also enables 3rd party extensions (such as national id mediators) to call confirmRegistration with the child's identifiers.

Important

Depends on opencrvs/opencrvs-core#7925

@github-actions
Copy link
Contributor

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?".

@naftis naftis changed the title feat: allow confirming registration via the new graphql api feat(message-queue): confirming registration via graphql api Sep 30, 2024
@naftis naftis changed the title feat(message-queue): confirming registration via graphql api feat(message-queue): confirm registration via graphql api Sep 30, 2024
@naftis naftis changed the title feat(message-queue): confirm registration via graphql api feat: confirm registration via graphql api Oct 28, 2024
@naftis naftis merged commit 8eb84cf into develop Nov 12, 2024
2 checks passed
@naftis naftis deleted the ocrvs-6208-reject-registration branch November 12, 2024 14:44
makelicious pushed a commit that referenced this pull request Dec 10, 2024
* feat: confirm registration via graphql api (#288)

* refactor: remove all graphql related stuff

* chore: remove unused code

* feat: allow graphql type hints

* feat: allow confirming registration via the new graphql api

* refactor: use graphql comment so no package needed

* refactor: use graphql comment in the last query as well

* refactor: throw if the composition doesn't have an id

* fix: throw if the id is not found as the function is _get_

* fix: add required env variables

* fix: use identifiers instead of childIdentifiers

* fix: remove posting tracking id

* revert country data changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants