Mock implementation of auth for e-signet
This folder containers various SQL scripts to create database and tables in postgres.
The tables are described under <db name>/ddl/.
Default data that's populated in the tables is present under <db name>/dml folder.
- Make sure that the esignet database has been initialized and its associated service is currently running.
- Command line utilities:
- kubectl
- helm
- Helm repos:
helm repo add bitnami https://charts.bitnami.com/bitnami helm repo add mosip https://mosip.github.io/mosip-helm
These scripts are automatically run with below mentioned script in existing k8 cluster with Postgres installed.
- Set your kube_config file or kube_config variable on PC.
- Update
init_values.yamlwith db-common-password from the postgres namespace in the required fielddbUserPasswords.dbuserPasswordand ensuredatabases.mosip_mockidentitysystemis enabled../init_db.sh`
Developers may run the SQLs using <db name>/deploy.sh script.