You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within this ticket we are creating two new endpoints confirmRegistration and rejectRegistration. This allows for country-config or third party extensions calling either endpoint. Confirming the registration gets end-to-end tested easily when opencrvs/opencrvs-countryconfig#288 is merged to Farajaland, but rejection needs custom logic.
Let's create a light-hearted check, that when the child's name is President, the birth gets rejected because no one should get born into leadership positions in Farajaland :)
Acceptance criteria
GIVEN a birth registration is made in Farajaland
WHEN the child's name is President
THEN the birth gets rejected via rejectRegistration endpoint
Dev tasks
Create rejectRegistration and confirmRegistration to country config
Merge to Farajaland
In Farajaland, add a check in the event-registration endpoint if the child's first name is President, the birth gets rejected via the rejectRegistration endpoint
Create a E2E test that checks the registration actually goes to the rejected workqueue
Description
#6208
Within this ticket we are creating two new endpoints
confirmRegistration
andrejectRegistration
. This allows for country-config or third party extensions calling either endpoint. Confirming the registration gets end-to-end tested easily when opencrvs/opencrvs-countryconfig#288 is merged to Farajaland, but rejection needs custom logic.Let's create a light-hearted check, that when the child's name is
President
, the birth gets rejected because no one should get born into leadership positions in Farajaland :)Acceptance criteria
GIVEN a birth registration is made in Farajaland
WHEN the child's name is
President
THEN the birth gets rejected via
rejectRegistration
endpointDev tasks
President
, the birth gets rejected via therejectRegistration
endpointImportant
Depends on #7674
Depends on opencrvs/opencrvs-countryconfig#288
The text was updated successfully, but these errors were encountered: