SaFi Bank Space : SaFi How to add environment variables to a backend module

We have such environment variables as DB_URL and DB_PASSWORD for backend modules. What if you wanna add extra environment variables to a module? How would you notify the DevOps team of the variables? For example, if the variable name is DUMMY_TEST. Here is a brief summary.

  • check to see if the environment variable name is listed on this page: Environment variables . If not, add the variable name there. DUMMY_TEST is not there, so you add it there, and give it a short description to let the DevOps team know its purpose.

  • append the environment variable to the file .evn.dev in the root directory of your project. For example

DB_URL=jdbc:postgresql://localhost:15432/test
DB_USER=postgres
DB_PASSWORD=postgres
KAFKA_URL=localhost:9092
SCHEMA_REGISTRY_URL=http://127.0.0.1:8081
SAFI_CUSTOMER_MANAGER_URL=https://customer-manager.apps.dev.safibank.online
DUMMY_TEST=1
  • send the Jira ticket concerning the environment variables to DevOps team, asking them to make sure that these variables shall be set.