-
Notifications
You must be signed in to change notification settings - Fork 67
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
feat(message-queue): allow confirming and rejecting record externally #7674
base: ocrvs-6208
Are you sure you want to change the base?
Conversation
Oops! Looks like you forgot to update the changelog. When updating CHANGELOG.md, please consider the following:
|
export const enum GQLRejectionReason { | ||
other = 'other', | ||
duplicate = 'duplicate' | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can see, this frontend code acts as a source of truth for the rejection reasons... we must refactor this to be stricter.
it would be the correct REST action for the state changes: chose convention for now
@@ -0,0 +1,53 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test required for this endpoint
Your environment is deployed to https://ocrvs-6208-reject-registration.opencrvs.dev. |
bd84e0e
to
c2db318
Compare
case 'misspelling': | ||
return rejectMessages.rejectionReasonMisspelling | ||
case 'missing_supporting_doc': | ||
return rejectMessages.rejectionReasonMissingSupportingDoc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please double-check these aren't used anywhere? I only found the strings from tests and I'm planning to remove the tests that refer to these.
Country-config: opencrvs/opencrvs-countryconfig#288
Creates two new GraphQL endpoints:
This will also enable integrations such as MOSIP 'hijacking' the confirm path and only doing it when they are ready.
Todo: