Today dbname, dbuser and dbpassword in db_upgrade_scripts are hardcoded, Instead of this, dbname, dbuser and dbpassword need to be taken as input during execution time. Please review and correct for all platform modules.
Proposed solution:
Make below mentioned inputs dynamic in db_upgrade_scripts as well as postgres-init helm chart and mosip-config:
Database Name
Database User
Database Password
Repo’s where the changes needs to be updated:
admin-services
audit-manager
keymanager
commons
id-repository
pre-registration
id-authentication
registration
resident-services
otp-manager
digital-card-services
esignet
esignet-mock-services
mosip-compliance-toolkit
inji-certify
inji-verify
mimoto
Today dbname, dbuser and dbpassword in db_upgrade_scripts are hardcoded, Instead of this, dbname, dbuser and dbpassword need to be taken as input during execution time. Please review and correct for all platform modules.
Proposed solution:
Make below mentioned inputs dynamic in db_upgrade_scripts as well as postgres-init helm chart and mosip-config:
Database Name
Database User
Database Password
Repo’s where the changes needs to be updated:
admin-services
audit-manager
keymanager
commons
id-repository
pre-registration
id-authentication
registration
resident-services
otp-manager
digital-card-services
esignet
esignet-mock-services
mosip-compliance-toolkit
inji-certify
inji-verify
mimoto