Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
940 commits
Select commit Hold shift + click to select a range
b8bece1
chore: upgrade toolkit version
naftis Feb 7, 2025
63f5bc3
chore: downgrade toolkit
naftis Feb 7, 2025
e5f012c
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Feb 7, 2025
4c8b8e2
chore: add necessary env variables to mosip-api
naftis Feb 7, 2025
e3a6ced
fix: remove duplicate environment variable
naftis Feb 10, 2025
7d4a1b2
fix: refer to path and not the value of private key
naftis Feb 10, 2025
080c05d
fix: use latest env variables
naftis Feb 10, 2025
e4dff72
chore: expose certs to mosip-api
naftis Feb 10, 2025
bae598b
chore: add certs to esignet-mock
naftis Feb 10, 2025
131d282
feat: add configuration to implement logic (#18)
tahmidrahman-dsi Feb 13, 2025
b4ba21c
Added vadym mudryi to development and e2e servers
Feb 13, 2025
0e528b9
Merge pull request #1224 from opencrvs/add-vmudryi-to-users
adskyiproger Feb 13, 2025
0c9a53a
fix: pass request and h to the handlers
naftis Feb 13, 2025
669dab6
chore: always forward to id system for now
naftis Feb 13, 2025
1143000
feat: handle incomplete declarations
naftis Feb 13, 2025
5c42c1a
chore: add conditional for disabling field when verified, authenticated
tahmidrahman-dsi Feb 14, 2025
889595c
chore: apply new conditional in birth form
tahmidrahman-dsi Feb 14, 2025
abcfbbb
chore: apply new conditional in death form
tahmidrahman-dsi Feb 14, 2025
4b88a53
fix: show certification date instead of registration (#416)
Zangetsu101 Feb 14, 2025
3953437
Merge branch 'release-v1.7.0' of github.com:opencrvs/opencrvs-country…
Zangetsu101 Feb 14, 2025
4160594
chore: comment out mosip related info
Zangetsu101 Feb 14, 2025
80027a3
fix: Added vadym mudryi to opencrvs servers, disabled niko
Feb 14, 2025
6f535c9
fix: update snapshot
tahmidrahman-dsi Feb 14, 2025
387b75f
Merge pull request #1225 from opencrvs/ocrvs-8632
adskyiproger Feb 14, 2025
6ae2e96
fix: add missed out conditional
tahmidrahman-dsi Feb 14, 2025
4c2e028
Merge pull request #19 from opencrvs/feat/disable-fields-when-verified
tahmidrahman-dsi Feb 14, 2025
826f144
Merge pull request #1212 from opencrvs/release-v1.7.0
adskyiproger Feb 17, 2025
88d4f9d
fix: wait for assignment to propagate
makelicious Feb 18, 2025
d25a9f5
fix: add resolveJsonModule flag
makelicious Feb 18, 2025
7007ce0
Merge pull request #1227 from opencrvs/fix/e2e-death-test
makelicious Feb 18, 2025
ec82efe
fix: disable nationality field when verified or authenticated
tahmidrahman-dsi Feb 19, 2025
4ace5bd
Merge branch 'develop' into chore/sync-farajaland-250219
makelicious Feb 19, 2025
cca9655
Merge pull request #1230 from opencrvs/chore/sync-farajaland-250219
makelicious Feb 19, 2025
b679f5c
fix environment references in deploy.yml
rikukissa Feb 19, 2025
bff213e
fix: revert bad merge environment references
makelicious Feb 19, 2025
74ef678
Merge pull request #1231 from opencrvs/fix/deploy-script-farajaland
makelicious Feb 19, 2025
fdb0752
fix: add fixed node version
makelicious Feb 19, 2025
bd6c0d9
Merge branch 'develop' of github.com:opencrvs/opencrvs-farajaland int…
tareq89 Feb 19, 2025
560fce9
Merge pull request #1233 from opencrvs/fix/add-nvmrc
makelicious Feb 19, 2025
535460a
Merge pull request #20 from opencrvs/fix/disable-nationality-when-ver…
tahmidrahman-dsi Feb 20, 2025
647dcf2
chore!: copy QA docker-compose to staging
naftis Feb 20, 2025
5043078
chore: add missing environment variables for mosip-api
naftis Feb 20, 2025
d3bed63
chore: make env variables required on mosip-api
naftis Feb 20, 2025
cf7b07f
chore: add esignet jwk
naftis Feb 20, 2025
707e1a5
Merge remote-tracking branch 'upstream/develop' into sync-with-countr…
cibelius Feb 20, 2025
315ca70
chore: add missing paths to environments
naftis Feb 20, 2025
d84a3e7
chore: remove the env variables the default deploy script requires
naftis Feb 20, 2025
48c109c
Merge pull request #1235 from opencrvs/sync-with-countryconfig
cibelius Feb 20, 2025
c1b3a37
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Feb 21, 2025
8e7a197
refactor: move object has property to country config
naftis Feb 21, 2025
748f872
fix: use custom birth & death webhook urls in staging
naftis Feb 24, 2025
2e5b80e
Merge pull request #1220 from opencrvs/ocrvs-event-v2-7919
tareq89 Feb 24, 2025
7887bf8
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Feb 25, 2025
3604833
Sync changes with develop
Feb 25, 2025
4662fe6
Merge pull request #1243 from opencrvs/develop
makelicious Feb 25, 2025
ed952ac
Merge branch 'develop' into develop
adskyiproger Feb 26, 2025
be0d367
feat: add id reader in deceased and spouse section in death form (#22)
tahmidrahman-dsi Feb 26, 2025
3700f8f
Revert "Merge branch 'develop' into develop"
cibelius Feb 26, 2025
5db2f49
Merge pull request #445 from opencrvs/revert-accidental-farajaland-sync
cibelius Feb 26, 2025
434ed79
Events v2: Add missing translations (#447)
rikukissa Feb 26, 2025
4fdc4bd
fix: remove fields from workqueue
jamil314 Feb 27, 2025
712f644
chore: bump up toolkit
jamil314 Feb 27, 2025
dfc00d7
feat: add same form for validate as for others
makelicious Feb 27, 2025
a547ca5
feat: Auto sync changes to Farajaland from countryconfig (#8716)
Feb 27, 2025
ac457b8
Merge pull request #450 from opencrvs/ocrvs-8716
adskyiproger Feb 28, 2025
635ae57
fix: Replaced default GITHUB_TOKEN with repository level fine gained …
Feb 28, 2025
7431d84
Merge pull request #452 from opencrvs/ocrvs-8716
adskyiproger Feb 28, 2025
a9fd8c1
fix: Replaced default GITHUB_TOKEN with repository level fine gained …
Feb 28, 2025
afe1167
Merge pull request #453 from opencrvs/ocrvs-8716
adskyiproger Feb 28, 2025
3e81430
fix: Replaced default GITHUB_TOKEN with repository level fine gained …
Feb 28, 2025
b9c3832
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Feb 28, 2025
8745ed8
fix: Replaced default GITHUB_TOKEN with repository level fine gained …
Feb 28, 2025
95a1db5
Merge pull request #454 from opencrvs/ocrvs-8716
adskyiproger Feb 28, 2025
5365a0a
fix: Replaced default GITHUB_TOKEN with repository level fine gained …
Feb 28, 2025
986c361
fix: Replaced default GITHUB_TOKEN with repository level fine gained …
Feb 28, 2025
3b56e61
Merge pull request #455 from opencrvs/ocrvs-8716
adskyiproger Feb 28, 2025
dc5c15d
fix: Replaced default GITHUB_TOKEN with repository level fine gained …
Feb 28, 2025
fb0cd4c
fix: Replaced default GITHUB_TOKEN with repository level fine gained …
Feb 28, 2025
db8620b
Merge pull request #456 from opencrvs/ocrvs-8716
adskyiproger Feb 28, 2025
666f732
testing slack messages
Feb 28, 2025
df465a0
Merge pull request #457 from opencrvs/ocrvs-8716-testing
adskyiproger Feb 28, 2025
6bb2dbf
Updated the ELK stack to 8.16.4
alsmk Feb 28, 2025
37e77e4
fix: Create PR in Farajaland repository (#8716)
Mar 3, 2025
bad09ee
CREATE action removed from config
tareq89 Mar 3, 2025
991d17f
Merge pull request #471 from opencrvs/ocrvs-8725
tareq89 Mar 3, 2025
be043e7
update toolkit package json
cibelius Mar 3, 2025
7e42b3d
Merge pull request #472 from opencrvs/ocrvs-8725
cibelius Mar 3, 2025
295d7fa
Merge pull request #464 from opencrvs/ocrvs-8716-fixes
adskyiproger Mar 3, 2025
b98c65c
fix: Merge and push segregated, to avoid skipping push (#8716)
Mar 3, 2025
d3994c3
Merge pull request #473 from opencrvs/ocrvs-8716-fixes-2
adskyiproger Mar 3, 2025
14a88cd
chore: organize custom fields files
tahmidrahman-dsi Mar 3, 2025
f4e99d4
try adding node version to seed data workflow
cibelius Mar 3, 2025
916116c
Merge pull request #474 from opencrvs/add-node-version-to-seed-data-w…
cibelius Mar 3, 2025
658a212
Merge pull request #460 from opencrvs/ocrvs-8749
adskyiproger Mar 3, 2025
e74a7dd
Merge branch 'develop' into feat/scope-based-actions-on-declare
makelicious Mar 3, 2025
8fc7c8b
fix: Deprecating save-state and set-output commands (#8798)
Mar 3, 2025
3109d78
Merge pull request #478 from opencrvs/ocrvs-8798
adskyiproger Mar 3, 2025
96f68e3
fix: misc amends in birth form
tahmidrahman-dsi Mar 4, 2025
c8f75d0
feat: make `getGender` function take additional initial value parameter
tahmidrahman-dsi Mar 4, 2025
9737a0b
chore: update marriage forms with the latest custom fields re-organiz…
tahmidrahman-dsi Mar 4, 2025
04f9600
fix: id reader pre-populate in death form
tahmidrahman-dsi Mar 4, 2025
2358e08
chore: update `yarn.lock` file
tahmidrahman-dsi Mar 4, 2025
e93fa9e
chore: merge develop
jamil314 Mar 4, 2025
96f68a6
fix: typo
tahmidrahman-dsi Mar 4, 2025
9a0dfc8
feat: hide exact dob unknown checkbox after pre-population by id-reader
tahmidrahman-dsi Mar 4, 2025
d66d145
Merge branch 'develop' into feat/scope-based-actions-on-declare
makelicious Mar 4, 2025
2ef6dc6
chore: bump up toolkit
jamil314 Mar 4, 2025
a0c23cc
Merge pull request #448 from opencrvs/fix-simplify-workqueue
jamil314 Mar 4, 2025
a58814c
fix: Sync between Countryconfig and Farajaland: Separate steps to job…
Mar 4, 2025
833403d
Merge pull request #449 from opencrvs/feat/scope-based-actions-on-dec…
makelicious Mar 5, 2025
43d90f6
fix: minor amend
tahmidrahman-dsi Mar 5, 2025
ff87a4a
Merge pull request #494 from opencrvs/ocrvs-8716
adskyiproger Mar 5, 2025
83b895f
remove required from checkboxes in birth form
cibelius Mar 5, 2025
dd7a372
Merge pull request #24 from opencrvs/fix/qr-scanner-not-pre-populatin…
tahmidrahman-dsi Mar 5, 2025
ba4433b
Merge pull request #25 from opencrvs/feat/hide-exact-dob-unknown-when…
tahmidrahman-dsi Mar 5, 2025
197cc22
add translation
cibelius Mar 5, 2025
9dbc048
Merge pull request #497 from opencrvs/ocrvs-8821
cibelius Mar 5, 2025
81e2ffb
fix: add configurable date format
makelicious Mar 5, 2025
f16d7ad
fix: Change the way of defining node version and replace `cd` command…
Mar 5, 2025
628d1dc
Merge pull request #499 from opencrvs/ocvrs-8822
makelicious Mar 6, 2025
7331a82
Domains required for CORS (#23)
euanmillar Mar 6, 2025
11620b6
add traefik for esignet mock
naftis Mar 6, 2025
7332839
fix: move cors definitions to correct places
naftis Mar 6, 2025
85754c9
Merge pull request #500 from opencrvs/fix-nvmrc-path
adskyiproger Mar 6, 2025
59e5196
chore: add the client app url for mosip-api
naftis Mar 6, 2025
e657160
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Mar 6, 2025
0322834
fix: copy paste code
naftis Mar 6, 2025
16746ba
fix: make MOSIP_API_USERINFO_URL mandatory
naftis Mar 6, 2025
f292dda
fix: make ESIGNET_TOKEN_URL mandatory
naftis Mar 6, 2025
dc17244
fix: use redirect_url instead of token url
naftis Mar 6, 2025
74d54ca
fix: add ESIGNET_TOKEN_URL to mosip-api
naftis Mar 6, 2025
236fe8f
chore: add missing ESIGNET_REDIRECT_URL
naftis Mar 6, 2025
fa4fed6
feat: add loader field name (#26)
tahmidrahman-dsi Mar 6, 2025
916bf05
chore: bump @opencrvs/mosip
naftis Mar 6, 2025
d3c902d
chore: bump mosip version
tahmidrahman-dsi Mar 7, 2025
7a48a27
fix: remove getGenderCustom altogether
tahmidrahman-dsi Mar 7, 2025
1dccd3e
fix: disable gender dropdown when verified or authenticated
tahmidrahman-dsi Mar 7, 2025
99ca30b
fix: type of id hidden for authenticated verification status
tahmidrahman-dsi Mar 7, 2025
223fb4f
chore: bump @opencrvs/mosip
tahmidrahman-dsi Mar 7, 2025
4e7936f
Merge pull request #27 from opencrvs/fix/form-configuration-issues
tahmidrahman-dsi Mar 7, 2025
1ec5cb2
chore: bump @opencrvs/mosip (#28)
tahmidrahman-dsi Mar 10, 2025
d72770a
feat: create PR when @opencrvs/mosip updates
naftis Mar 10, 2025
fef6d51
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Mar 13, 2025
0cda088
fix: exact dob unknown conditionals
tahmidrahman-dsi Mar 14, 2025
069008d
chore: add translatable messages
tahmidrahman-dsi Mar 18, 2025
69801bc
chore: upgrade @opencrvs/mosip
tahmidrahman-dsi Mar 18, 2025
832cbb8
Merge pull request #29 from opencrvs/fix/ocrvs-8776-hide-exact-dob-un…
tahmidrahman-dsi Mar 19, 2025
38988d5
Merge branch 'develop' into feat/esignet-failed
tahmidrahman-dsi Mar 19, 2025
eb67a66
Merge pull request #31 from opencrvs/feat/esignet-failed
tahmidrahman-dsi Mar 20, 2025
6ab2194
chore: upgrade fhir type version to use fhir3 types
tahmidrahman-dsi Mar 21, 2025
fcbb36b
chore: copy over only essential fhir functions
tahmidrahman-dsi Mar 21, 2025
dd7fdcc
chore: remove eslint rule which is safe to disable in typescript
tahmidrahman-dsi Mar 21, 2025
04197f2
feat: implement defined logic
tahmidrahman-dsi Mar 21, 2025
df43917
feat: make the defined logic work in only QA_ENV
tahmidrahman-dsi Mar 21, 2025
4917739
fix: remove redundant check
tahmidrahman-dsi Mar 21, 2025
05ffe2c
fix: remove unused import
tahmidrahman-dsi Mar 21, 2025
98abe34
fix: update failedFetchIdDetails modal messages
tahmidrahman-dsi Mar 24, 2025
1f18c8f
Merge pull request #32 from opencrvs/chore/configure-qa-verification-…
tahmidrahman-dsi Mar 25, 2025
aa449a3
feat: add backup and clear all data for SQLite (#33)
naftis Mar 26, 2025
ee82a15
chore: implement countryconfig filtering in mosip payload
tahmidrahman-dsi Mar 26, 2025
fdf550c
chore: add compositionId
tahmidrahman-dsi Mar 26, 2025
4edaf5e
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Mar 26, 2025
f0d93f4
chore: cleanup for env
tahmidrahman-dsi Mar 26, 2025
806c2a1
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Apr 2, 2025
c0d7a86
fix: Add vadym as admin
Apr 2, 2025
7eae581
Merge pull request #35 from opencrvs/add-vmudryi
adskyiproger Apr 2, 2025
d1ab8bb
feat: add websub environment variables
naftis Apr 3, 2025
db1fb62
fix: add localhost for mock websub callback
naftis Apr 3, 2025
e81d1d2
fix: add websub hub url
naftis Apr 3, 2025
658c72c
chore: move websub hub url to env variables
naftis Apr 3, 2025
377e241
fix: add websub callback url to mock
naftis Apr 3, 2025
396d084
chore: add tracking id in the mosip payload
tahmidrahman-dsi Apr 7, 2025
97c8af4
chore(wip): update payload transformations with recent payload structure
tahmidrahman-dsi Apr 8, 2025
d380dd7
fix: improve implementation
tahmidrahman-dsi Apr 9, 2025
a175c18
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Apr 15, 2025
de50ce1
chore: remove extra route added on merge
naftis Apr 15, 2025
ed4549a
fix: expressions in initial value
tahmidrahman-dsi Apr 16, 2025
3527883
feat: check for E-Signet authentication if id check (#37)
naftis Apr 16, 2025
feb5fde
Merge pull request #38 from opencrvs/fix/revoke-reset-issue
tahmidrahman-dsi Apr 16, 2025
861d683
fix: update conditionals of age of individual in years texfield (#39)
tahmidrahman-dsi Apr 17, 2025
2c5a604
Merge branch 'develop' into feat/mosip-payload
tahmidrahman-dsi Apr 17, 2025
34790b2
fix: amend implementation upon type updates
tahmidrahman-dsi Apr 17, 2025
c8f7371
chore: upgrade @opencrvs/mosip
tahmidrahman-dsi Apr 17, 2025
73e24a2
Merge pull request #34 from opencrvs/feat/mosip-payload
tahmidrahman-dsi Apr 17, 2025
1a9679a
fix: handle deceased not found when resolving national id (#40)
tahmidrahman-dsi Apr 17, 2025
2f9a358
fix: misc amends -2 (#41)
tahmidrahman-dsi Apr 17, 2025
519887e
update: env variables for vercreds
naftis Apr 17, 2025
72b8222
chore: expose mosip-mock and add issuer url for vercred
naftis Apr 17, 2025
5a2b1e2
fix: birth date conditionals
tahmidrahman-dsi Apr 18, 2025
c716ff6
Merge pull request #42 from opencrvs/fix/misc-amends
tahmidrahman-dsi Apr 21, 2025
254e1c1
fix: websub topic not matching the mock
naftis Apr 22, 2025
c1265d0
chore: update mosip mock issuer url
naftis Apr 22, 2025
6c5cb95
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Apr 22, 2025
f0ad990
chore: move mosip utils to own file and separate birth/death (#43)
naftis Apr 24, 2025
8b257a7
deps: update @opencrvs/mosip
naftis Apr 24, 2025
c3eba4e
chore: update env vars in docker compose deploy files
tahmidrahman-dsi May 2, 2025
d7030a1
chore: bump `@opencrvs/mosip` to `1.8.0-beta.4`
tahmidrahman-dsi May 5, 2025
17ae4d6
Merge pull request #44 from opencrvs/chore/update-countryconfig-with-…
tahmidrahman-dsi May 5, 2025
43ab9a9
Pull in latest fixes from release-v1.8.0
euanmillar May 23, 2025
01e5801
Merge branch 'release-v1.8.0' of github.com:opencrvs/opencrvs-country…
tahmidrahman-dsi Jul 3, 2025
0a13bca
fix: add @opencrvs/mosip v1.8.0 support
tahmidrahman-dsi Jul 3, 2025
b630975
chore: update CHANGELOG.md
tahmidrahman-dsi Jul 3, 2025
3cc676a
fix: rephrase CHANGELOG.md
tahmidrahman-dsi Jul 3, 2025
9b9508e
Merge pull request #46 from opencrvs/latest-fixes-1.8
tahmidrahman-dsi Jul 4, 2025
f55216b
Merge branch 'master' of github.com:opencrvs/opencrvs-countryconfig i…
tahmidrahman-dsi Jul 10, 2025
4fa6277
Merge pull request #48 from opencrvs/update-countryconfig-v1.8.0
tahmidrahman-dsi Jul 10, 2025
8778aa6
Merge tag 'v1.8.0' of github.com:opencrvs/opencrvs-countryconfig into…
Zangetsu101 Jul 17, 2025
f6b1f2e
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Aug 5, 2025
901d73d
fix(merge): duplicate keys on staging compose
naftis Aug 5, 2025
fd13ccb
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Sep 8, 2025
c17dd13
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Sep 10, 2025
73e3246
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Sep 16, 2025
4c4f5b9
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Sep 22, 2025
a390ce8
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Oct 6, 2025
007aa1f
upgrade for OpenCRVS 1.9 (#50)
naftis Oct 6, 2025
a0db35c
add examples of how to get data from declaration
naftis Oct 6, 2025
9064eef
make graphql gateway url just gateway url
naftis Oct 6, 2025
f7255fd
add child nid
naftis Oct 8, 2025
9468253
Merge branch 'opencrvs:develop' into develop
naftis Oct 8, 2025
9c9a698
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Oct 9, 2025
7008f31
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Oct 13, 2025
c12dc99
E-Signet flow (#51)
naftis Oct 16, 2025
78e1e04
chore: query-param form projection (#52)
tahmidrahman-dsi Oct 17, 2025
8ff2b50
Sync with countryconfig (#53)
tahmidrahman-dsi Oct 17, 2025
805768f
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
naftis Oct 17, 2025
4a69059
fix: hidden fields should not receive a value
naftis Oct 17, 2025
b706275
Merge pull request #54 from opencrvs/fix-hidden-field-values
tahmidrahman-dsi Oct 17, 2025
5d5057c
fix: backend doesnt get the full http payload (#55)
naftis Oct 20, 2025
8aa3b3a
fix: re-configure query param reader
tahmidrahman-dsi Oct 20, 2025
891a40d
hide id reader on review
naftis Oct 21, 2025
36cea97
remove unused mosip utils
naftis Oct 21, 2025
b77f974
move mosip utils to mosip.ts (#57)
naftis Oct 21, 2025
cc37092
move the conditional change from #55 properly with mosip.ts
naftis Oct 21, 2025
018342e
Merge branch 'develop' of github.com:opencrvs/opencrvs-countryconfig-…
tahmidrahman-dsi Oct 21, 2025
0f94087
Merge branch 'develop' of github.com:opencrvs/opencrvs-countryconfig …
tahmidrahman-dsi Oct 21, 2025
ccaf359
Merge pull request #58 from opencrvs/sync-with-countryconfig-develop
naftis Oct 21, 2025
e8131cc
Merge branch 'develop' of github.com:opencrvs/opencrvs-countryconfig-…
tahmidrahman-dsi Oct 21, 2025
77ba894
fix: update query param reader configuration
tahmidrahman-dsi Oct 21, 2025
4578add
refactor: configuration so that disable authenticated fields stays di…
tahmidrahman-dsi Oct 22, 2025
e35b5d6
chore: update toolkit version
tahmidrahman-dsi Oct 22, 2025
ddae349
Merge pull request #56 from opencrvs/fix/query-param-reader-removing-…
tahmidrahman-dsi Oct 22, 2025
708574d
bump mosip api to project nid & id type
naftis Oct 22, 2025
f43a106
connect to fetched nid & id type in rest other pages
tahmidrahman-dsi Oct 22, 2025
5d43005
fix: remove unrelated parent from informants
tahmidrahman-dsi Oct 22, 2025
fec96a5
fix: remove parent from idTypes
tahmidrahman-dsi Oct 22, 2025
2659c5e
fix: id reader conditional
tahmidrahman-dsi Oct 22, 2025
3ec18d3
Merge pull request #59 from opencrvs/bump-mosip-api-and-project-nid-i…
naftis Oct 22, 2025
e48890e
add NID to birth certificate
naftis Oct 22, 2025
d58fd1c
chore: support qr code pending verificationStatus (#60)
tahmidrahman-dsi Oct 22, 2025
0a9f775
chore: improve config updates
tahmidrahman-dsi Oct 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ module.exports = {
],
rules: {
'no-console': 'warn',
'no-unused-vars': 'warn',
'no-undef': 'warn'
'no-unused-vars': 'warn'
},
globals: {
NodeJS: true,
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,21 @@

### New features

- Upgraded to `@opencrvs/mosip` v1.8.0 to support the following enhancements:
- Added QR code scanner form configuration, allowing users to scan QR codes and automatically prefill form fields with the extracted data. [#7939](https://github.com/opencrvs/opencrvs-core/issues/7939)
- Integrated E-signet authentication flow using mock identities. [#8062](https://github.com/opencrvs/opencrvs-core/issues/8062)
- Enabled online verification flow with mock identities. [#7944](https://github.com/opencrvs/opencrvs-core/issues/7944)
- Provided support for custom business logic to determine whether MOSIP processing should be triggered during registration. [#7942](https://github.com/opencrvs/opencrvs-core/issues/7942)
- Ensured that registering a death event deactivates the corresponding identity in MOSIP. [#7943](https://github.com/opencrvs/opencrvs-core/issues/7943)
- Enforced rejection of registrations if MOSIP processing fails. [#8174](https://github.com/opencrvs/opencrvs-core/issues/8174)
Comment on lines +44 to +50
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Duplicate MOSIP v1.8.0 upgrade entry - these same features are listed in both 1.8.0 and 1.9.0 sections (lines 7-9 and 44-50). Remove from 1.8.0 section.


### Improvements

- Added Build summary and refactored deployment workflow to be more clear [#6984](https://github.com/opencrvs/opencrvs-core/issues/6984)
- Build OpenCRVS release images for arm devices [#9455](https://github.com/opencrvs/opencrvs-core/issues/9455)
Comment on lines +54 to +55
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Duplicate improvement entries - these are repeated from 1.9.0 section (lines 11-14) and again in 1.6.4 (lines 64-65). Remove duplicates.


## 1.6.4

- Added a local virtual machine setup for testing Ansible playbooks locally (on MacOS and Ubuntu ). Check [provision.ipynb](infrastructure/local-development/provision.ipynb) for more details.

Comment on lines +57 to 60
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: 1.6.4 section appears twice - once here (lines 57-60) and once later (lines 272-276). Consolidate into single entry.

### Improvements
Expand Down
13 changes: 12 additions & 1 deletion infrastructure/backups/backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ mkdir -p $ROOT_PATH/backups/mongo
mkdir -p $ROOT_PATH/backups/minio
mkdir -p $ROOT_PATH/backups/vsexport
mkdir -p $ROOT_PATH/backups/postgres
mkdir -p $ROOT_PATH/backups/sqlite

# This enables root-created directory to be writable by the docker user
chown -R 1000:1000 $ROOT_PATH/backups
Expand Down Expand Up @@ -215,7 +216,16 @@ docker run --rm \
postgres:17 \
bash -c "pg_dump -h postgres -U $POSTGRES_USER -d events -F c -f /backups/events-${LABEL:-$BACKUP_DATE}.dump"

#-------------------------------------------------------------------------------------
# Backup SQLite
# ---------------------------------------------------------------------------------------------
echo "Creating a backup for SQLite"

docker run --rm \
-v $ROOT_PATH/sqlite:/data/sqlite \
-v $ROOT_PATH/backups/sqlite:/data/backup \
alpine sh -c "apk add --no-cache sqlite && \
sqlite3 /data/sqlite/mosip-api.db \".backup '/data/backup/mosip-api-${LABEL:-$BACKUP_DATE}.sqlite'\""
Comment on lines +226 to +227
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: The .backup command will fail if the target directory doesn't exist or if the database is locked. Consider adding error handling or a lock check



echo ""
echo "Delete all currently existing snapshots"
Expand Down Expand Up @@ -313,6 +323,7 @@ mkdir -p $BACKUP_RAW_FILES_DIR/mongo/ && cp $ROOT_PATH/backups/mongo/metrics-${L
mkdir -p $BACKUP_RAW_FILES_DIR/mongo/ && cp $ROOT_PATH/backups/mongo/webhooks-${LABEL:-$BACKUP_DATE}.gz $BACKUP_RAW_FILES_DIR/mongo/
mkdir -p $BACKUP_RAW_FILES_DIR/mongo/ && cp $ROOT_PATH/backups/mongo/performance-${LABEL:-$BACKUP_DATE}.gz $BACKUP_RAW_FILES_DIR/mongo/
mkdir -p $BACKUP_RAW_FILES_DIR/postgres/ && cp $ROOT_PATH/backups/postgres/events-${LABEL:-$BACKUP_DATE}.dump $BACKUP_RAW_FILES_DIR/postgres/
mkdir -p $BACKUP_RAW_FILES_DIR/sqlite/ && cp $ROOT_PATH/backups/sqlite/mosip-api-${LABEL:-$BACKUP_DATE}.sqlite $BACKUP_RAW_FILES_DIR/sqlite/

tar -czf /tmp/${LABEL:-$BACKUP_DATE}.tar.gz -C "$BACKUP_RAW_FILES_DIR" .

Expand Down
5 changes: 5 additions & 0 deletions infrastructure/clear-all-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,10 @@ echo "✅ Database and roles dropped."
echo "🚀 Reinitializing Postgres with on-deploy.sh..."

docker service update --force opencrvs_postgres-on-update
# Delete all data from SQLite
# ---------------------------
docker run --rm -v /data/sqlite:/data/sqlite alpine \
sh -c "apk add --no-cache sqlite && sqlite3 /data/sqlite/mosip-api.db 'DELETE FROM transactions;'"
Comment on lines +161 to +162
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: This command will fail silently if the database file doesn't exist or the path is incorrect. Add error handling or a check to verify the database file exists before attempting to delete data.


echo "✅ All data cleared."

73 changes: 73 additions & 0 deletions infrastructure/docker-compose.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,11 @@ services:
- INFOBIP_SENDER_ID=${INFOBIP_SENDER_ID:-}
- DOMAIN={{hostname}}
- ANALYTICS_DATABASE_URL=postgres://events_analytics:${ANALYTICS_POSTGRES_PASSWORD}@postgres/events
- ESIGNET_REDIRECT_URL=${ESIGNET_REDIRECT_URL}
- OPENID_PROVIDER_CLIENT_ID=${OPENID_PROVIDER_CLIENT_ID:-}
- OPENID_PROVIDER_CLAIMS=${OPENID_PROVIDER_CLAIMS:-}
- MOSIP_API_USERINFO_URL=${MOSIP_API_USERINFO_URL:-}
- LOCALE=en
networks:
- overlay_net
logging:
Expand Down Expand Up @@ -1099,6 +1104,74 @@ services:
placement:
constraints:
- node.labels.data1 == true

mosip-api:
volumes:
- '/data/sqlite:/data/sqlite'
image: ghcr.io/opencrvs/mosip-api:${MOSIP_API_VERSION}
Comment on lines +1108 to +1111
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Volume mount lacks placement constraint. The mosip-api service uses a persistent SQLite volume at /data/sqlite, but unlike other stateful services (mongo1, elasticsearch, postgres), it doesn't have a placement.constraints to pin it to a specific node. If the container moves to a different node, it will lose access to its database. Should mosip-api be constrained to data1 like other stateful services?

environment:
- NODE_ENV=production
- MOSIP_BIRTH_WEBHOOK_URL=http://mosip-mock:20240/webhooks/opencrvs/birth
- MOSIP_DEATH_WEBHOOK_URL=http://mosip-mock:20240/webhooks/opencrvs/death
- OPENCRVS_GATEWAY_URL=http://gateway:7070
- OPENCRVS_PUBLIC_KEY_URL=http://auth:4040/.well-known
- LOCALE=en
- ESIGNET_USERINFO_URL=${ESIGNET_USERINFO_URL}
- ESIGNET_TOKEN_URL=${ESIGNET_TOKEN_URL}
- ESIGNET_REDIRECT_URL=${ESIGNET_REDIRECT_URL}
- OIDP_CLIENT_PRIVATE_KEY_PATH=${OIDP_CLIENT_PRIVATE_KEY_PATH}
- OPENID_PROVIDER_CLAIMS=${OPENID_PROVIDER_CLAIMS}
- DECRYPT_P12_FILE_PATH=${DECRYPT_P12_FILE_PATH}
- DECRYPT_P12_FILE_PASSWORD=${DECRYPT_P12_FILE_PASSWORD}
- ENCRYPT_CERT_PATH=${ENCRYPT_CERT_PATH}
- IDA_AUTH_DOMAIN_URI=${IDA_AUTH_DOMAIN_URI}
- IDA_AUTH_URL=${IDA_AUTH_URL}
- PARTNER_APIKEY=${PARTNER_APIKEY}
- PARTNER_ID=${PARTNER_ID}
- PARTNER_MISP_LK=${PARTNER_MISP_LK}
- SIGN_P12_FILE_PATH=${SIGN_P12_FILE_PATH}
- SIGN_P12_FILE_PASSWORD=${SIGN_P12_FILE_PASSWORD}
- CLIENT_APP_URL=https://register.{{hostname}}
- SQLITE_DATABASE_PATH=/data/sqlite/mosip-api.db
- MOSIP_PACKET_AUTH_CLIENT_ID=${MOSIP_PACKET_AUTH_CLIENT_ID}
- MOSIP_PACKET_AUTH_CLIENT_SECRET=${MOSIP_PACKET_AUTH_CLIENT_SECRET}
- MOSIP_WEBSUB_AUTH_CLIENT_ID=${MOSIP_WEBSUB_AUTH_CLIENT_ID}
- MOSIP_WEBSUB_AUTH_CLIENT_SECRET=${MOSIP_WEBSUB_AUTH_CLIENT_SECRET}
- MOSIP_AUTH_URL=${MOSIP_AUTH_URL}
- MOSIP_WEBSUB_CALLBACK_URL=https://mosip-api.{{hostname}}/websub/callback
- MOSIP_WEBSUB_HUB_URL=${MOSIP_WEBSUB_HUB_URL}
- MOSIP_WEBSUB_SECRET=${MOSIP_WEBSUB_SECRET}
- MOSIP_WEBSUB_TOPIC=${MOSIP_WEBSUB_TOPIC}
- MOSIP_CREATE_PACKET_URL=${MOSIP_CREATE_PACKET_URL}
- MOSIP_PROCESS_PACKET_URL=${MOSIP_PROCESS_PACKET_URL}
- MOSIP_VERIFIABLE_CREDENTIAL_ALLOWLIST=${MOSIP_VERIFIABLE_CREDENTIAL_ALLOWLIST}
- MOSIP_CENTER_ID=${MOSIP_CENTER_ID}
- MOSIP_MACHINE_ID=${MOSIP_MACHINE_ID}
deploy:
replicas: 1
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.mosip-api.rule=Host(`mosip-api.{{hostname}}`)'
- 'traefik.http.services.mosip-api.loadbalancer.server.port=2024'
- 'traefik.http.routers.mosip-api.tls=true'
- 'traefik.http.routers.mosip-api.tls.certresolver=certResolver'
- 'traefik.http.routers.mosip-api.entrypoints=web,websecure'
- 'traefik.http.routers.mosip-api.middlewares=gzip-compression'
- 'traefik.docker.network=opencrvs_overlay_net'
- 'traefik.http.middlewares.mosip-api.headers.customresponseheaders.Pragma=no-cache'
- 'traefik.http.middlewares.mosip-api.headers.customresponseheaders.Cache-control=no-store'
- 'traefik.http.middlewares.mosip-api.headers.customresponseheaders.X-Robots-Tag=none'
- 'traefik.http.middlewares.mosip-api.headers.stsseconds=31536000'
- 'traefik.http.middlewares.mosip-api.headers.stsincludesubdomains=true'
- 'traefik.http.middlewares.mosip-api.headers.stspreload=true'
networks:
- overlay_net
logging:
driver: gelf
options:
gelf-address: 'udp://127.0.0.1:12201'
tag: 'mosip-api'

secrets:
redis-acl.{{ts}}:
external: true
Expand Down
4 changes: 4 additions & 0 deletions infrastructure/docker-compose.development-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ services:
- SMTP_USERNAME=${SMTP_USERNAME}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- SMTP_SECURE=${SMTP_SECURE}
- ESIGNET_REDIRECT_URL=${ESIGNET_REDIRECT_URL}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Missing default value for required environment variable. Unlike the other OpenID variables (lines 32-34), ESIGNET_REDIRECT_URL has no :- fallback, which will cause deployment failures if the variable is unset.

- OPENID_PROVIDER_CLIENT_ID=${OPENID_PROVIDER_CLIENT_ID:-}
- OPENID_PROVIDER_CLAIMS=${OPENID_PROVIDER_CLAIMS:-}
- MOSIP_API_USERINFO_URL=${MOSIP_API_USERINFO_URL:-}
deploy:
replicas: 1
networks:
Expand Down
68 changes: 68 additions & 0 deletions infrastructure/docker-compose.qa-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ services:
- SMTP_USERNAME=${SMTP_USERNAME}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- SMTP_SECURE=${SMTP_SECURE}
- ESIGNET_REDIRECT_URL=${ESIGNET_REDIRECT_URL}
- OPENID_PROVIDER_CLIENT_ID=${OPENID_PROVIDER_CLIENT_ID:-}
- OPENID_PROVIDER_CLAIMS=${OPENID_PROVIDER_CLAIMS:-}
- MOSIP_API_USERINFO_URL=${MOSIP_API_USERINFO_URL}
Comment on lines +60 to +63
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Missing :- default syntax for ESIGNET_REDIRECT_URL and MOSIP_API_USERINFO_URL while other similar variables have it. Should these variables also be optional with empty defaults like the OPENID variables, or are they required for the QA environment?

- V2_EVENTS=true
deploy:
replicas: 1
networks:
Expand Down Expand Up @@ -125,3 +130,66 @@ services:
environment:
- QA_ENV=true
- NODE_ENV=production

mosip-api:
environment:
- MOSIP_WEBSUB_CALLBACK_URL=http://mosip-api:2024/websub/callback
volumes:
- /certs:/certs:ro

mosip-mock:
image: ghcr.io/opencrvs/mosip-mock:${MOSIP_API_VERSION}
depends_on:
- mosip-api
environment:
- NODE_ENV=production
- SENDER_EMAIL_ADDRESS=${SENDER_EMAIL_ADDRESS:-}
- ALERT_EMAIL=${ALERT_EMAIL:-}
- SMTP_HOST=${SMTP_HOST:-}
- SMTP_PORT=${SMTP_PORT:-}
- SMTP_USERNAME=${SMTP_USERNAME:-}
- SMTP_PASSWORD=${SMTP_PASSWORD:-}
- SMTP_SECURE=${SMTP_SECURE:-}
- MOSIP_WEBSUB_CALLBACK_URL=http://mosip-api:2024/websub/callback
- ISSUER_URL=http://mosip-mock:20240
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Port typo: ISSUER_URL points to port 20240 but esignet-mock service exposes port20260 (line 177)

- MOSIP_WEBSUB_TOPIC=${MOSIP_WEBSUB_TOPIC}
networks:
- overlay_net
logging:
driver: gelf
options:
gelf-address: 'udp://127.0.0.1:12201'
tag: 'mosip-mock'

esignet-mock:
image: ghcr.io/opencrvs/esignet-mock:${MOSIP_API_VERSION}
volumes:
- /certs:/certs:ro
environment:
- NODE_ENV=production
- CLIENT_APP_URL=https://register.{{hostname}}
- OIDP_CLIENT_PRIVATE_KEY_PATH=${OIDP_CLIENT_PRIVATE_KEY_PATH}
deploy:
replicas: 1
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.esignet-mock.rule=Host(`esignet-mock.{{hostname}}`)'
- 'traefik.http.services.esignet-mock.loadbalancer.server.port=20260'
- 'traefik.http.routers.esignet-mock.tls=true'
- 'traefik.http.routers.esignet-mock.tls.certresolver=certResolver'
- 'traefik.http.routers.esignet-mock.entrypoints=web,websecure'
- 'traefik.http.routers.esignet-mock.middlewares=gzip-compression'
- 'traefik.docker.network=opencrvs_overlay_net'
- 'traefik.http.middlewares.esignet-mock.headers.customresponseheaders.Pragma=no-cache'
- 'traefik.http.middlewares.esignet-mock.headers.customresponseheaders.Cache-control=no-store'
- 'traefik.http.middlewares.esignet-mock.headers.customresponseheaders.X-Robots-Tag=none'
- 'traefik.http.middlewares.esignet-mock.headers.stsseconds=31536000'
- 'traefik.http.middlewares.esignet-mock.headers.stsincludesubdomains=true'
- 'traefik.http.middlewares.esignet-mock.headers.stspreload=true'
networks:
- overlay_net
logging:
driver: gelf
options:
gelf-address: 'udp://127.0.0.1:12201'
tag: 'esignet-mock'
119 changes: 59 additions & 60 deletions infrastructure/docker-compose.staging-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
#
# Production deployments of OpenCRVS should never be exposed to the internet.
# Instead, they should be deployed on a private network and exposed to the internet via a VPN.
#
# Before you deploy staging or production environments, make sure the application servers are
# either in an internal network or protected with a firewall. No ports should be exposed to the internet.
#

services:
gateway:
environment:
Expand Down Expand Up @@ -88,29 +80,6 @@ services:
environment:
- NODE_ENV=production

countryconfig:
image: ${DOCKERHUB_ACCOUNT}/${DOCKERHUB_REPO}:${COUNTRY_CONFIG_VERSION}
restart: unless-stopped
secrets:
- jwt-public-key.{{ts}}
environment:
- NODE_ENV=production
- FHIR_URL=http://hearth:3447/fhir
- AUTH_URL=http://auth:4040
- APPLICATION_CONFIG_URL=http://config:2021
- CONFIRM_REGISTRATION_URL=http://workflow:5050/confirm/registration
- CHECK_INVALID_TOKEN=true
- SENTRY_DSN=${SENTRY_DSN:-}
- SENDER_EMAIL_ADDRESS=${SENDER_EMAIL_ADDRESS}
- ALERT_EMAIL=${ALERT_EMAIL}
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT}
- SMTP_USERNAME=${SMTP_USERNAME}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- SMTP_SECURE=${SMTP_SECURE}
deploy:
replicas: 1

client:
environment:
- DECLARED_DECLARATION_SEARCH_QUERY_COUNT=100
Expand Down Expand Up @@ -150,36 +119,12 @@ services:
- REPLICAS=1

traefik:
# These templates use an Automatic Certificate Management Environment (Let's Encrypt).
# This makes sure that the HTTPS certificates are automatically generated and renewed without manual maintenance.
#
# This default configuration will only work if OpenCRVS is directly accessible from the internet.
#
# WE STRONGLY RECOMMEND THAT YOU DO NOT EXPOSE PRODUCTION OPENCRVS TO THE INTERNET!
#
# If you are deploying OpenCRVS in a private network, you have two options:
# 1. Use a DNS provider that supports ACME DNS-01 challenges.
# 2. Use a manually renewed certificate file.

# For your country to use the DNS-01 challenge, your domain's DNS provider must be one of the ones listed here
# https://doc.traefik.io/traefik/https/acme/#providers
#
# If your DNS provider is not listed, you can use manually renewed certificate files instead of Let's Encrypt.
# To do this, remove the `environment` and `certificatesresolvers.certResolver.acme` sections and uncomment the following lines.
# You will also need to place your certificates in the `/data/traefik/certs` directory.
# Ensure that the file names match the ones defined below.
#
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# - /data/traefik/certs:/certs
# command:
# - --tls.certificates.certfile=/certs/crvs.cm.crt
# - --tls.certificates.keyfile=/certs/crvs.cm.key
# - --tls.certificates.stores=default
# - --tls.stores.default.defaultcertificate.certfile=/certs/crvs.cm.crt
# - --tls.stores.default.defaultcertificate.keyfile=/certs/crvs.cm.key

networks:
- overlay_net
command:
# Use HTTP-01 challenge as the web server is publicly available
# https://doc.traefik.io/traefik/https/acme/#httpchallenge
# For DNS-01 challenge and manual certificates, check staging and production configurations
- --certificatesresolvers.certResolver.acme.email=riku@opencrvs.org
- --certificatesresolvers.certResolver.acme.storage=acme.json
- --certificatesresolvers.certResolver.acme.caserver=https://acme-v02.api.letsencrypt.org/directory
Expand All @@ -201,3 +146,57 @@ services:
- --accesslog=true
- --accesslog.format=json
- --ping=true

countryconfig:
image: ${DOCKERHUB_ACCOUNT}/${DOCKERHUB_REPO}:${COUNTRY_CONFIG_VERSION}
restart: unless-stopped
secrets:
- jwt-public-key.{{ts}}
environment:
- NODE_ENV=production
- QA_ENV=true
- FHIR_URL=http://hearth:3447/fhir
- AUTH_URL=http://auth:4040
- APPLICATION_CONFIG_URL=http://config:2021
- CONFIRM_REGISTRATION_URL=http://workflow:5050/confirm/registration
- CHECK_INVALID_TOKEN=true
- MONGO_URL=mongodb://mongo1/user-mgnt?replicaSet=rs0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: MONGO_URL missing authentication credentials. Other services use mongodb://user:password@mongo1/database?replicaSet=rs0 pattern (see line 44). This unauthenticated connection is a security risk.

- SENTRY_DSN=${SENTRY_DSN:-}
- SENDER_EMAIL_ADDRESS=${SENDER_EMAIL_ADDRESS}
- ALERT_EMAIL=${ALERT_EMAIL}
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT}
- SMTP_USERNAME=${SMTP_USERNAME}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- SMTP_SECURE=${SMTP_SECURE}
- ESIGNET_REDIRECT_URL=${ESIGNET_REDIRECT_URL}
- OPENID_PROVIDER_CLIENT_ID=${OPENID_PROVIDER_CLIENT_ID:-}
- OPENID_PROVIDER_CLAIMS=${OPENID_PROVIDER_CLAIMS:-}
- MOSIP_API_USERINFO_URL=${MOSIP_API_USERINFO_URL:-}
deploy:
replicas: 1
networks:
- overlay_net


mosip-api:
volumes:
- /certs:/certs:ro
environment:
- CREDENTIAL_PARTNER_CERTIFICATE_PATH=/certs/credential-partner.csr
- CREDENTIAL_PARTNER_PRIVATE_KEY_PATH=/certs/credential-partner.pem
Comment on lines +186 to +187
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Certificate path uses .csr extension for the certificate and .pem for the private key. CSR files are certificate signing requests, not certificates. Should CREDENTIAL_PARTNER_CERTIFICATE_PATH point to a .crt or .pem certificate file? Is the CSR file intentional here, or should this be pointing to the actual certificate file generated after signing?

- MOSIP_PACKET_AUTH_CLIENT_ID=${MOSIP_PACKET_AUTH_CLIENT_ID}
- MOSIP_PACKET_AUTH_CLIENT_SECRET=${MOSIP_PACKET_AUTH_CLIENT_SECRET}
- MOSIP_WEBSUB_AUTH_CLIENT_ID=${MOSIP_WEBSUB_AUTH_CLIENT_ID}
- MOSIP_WEBSUB_AUTH_CLIENT_SECRET=${MOSIP_WEBSUB_AUTH_CLIENT_SECRET}
- MOSIP_AUTH_PASS=${MOSIP_AUTH_PASS}
- MOSIP_AUTH_URL=${MOSIP_AUTH_URL}
- MOSIP_AUTH_USER=${MOSIP_AUTH_USER}
- MOSIP_GENERATE_AID_URL=${MOSIP_GENERATE_AID_URL}
- MOSIP_BIRTH_WEBHOOK_URL=${MOSIP_BIRTH_WEBHOOK_URL}
- MOSIP_DEATH_WEBHOOK_URL=${MOSIP_DEATH_WEBHOOK_URL}
logging:
driver: gelf
options:
gelf-address: 'udp://127.0.0.1:12201'
tag: 'esignet-mock'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Logging tag 'esignet-mock' doesn't match the service name 'mosip-api'. This will make log filtering and monitoring more difficult.

Loading
Loading