diff options
author | mpriyank <priyank.maheshwari@est.tech> | 2024-04-30 10:14:26 +0100 |
---|---|---|
committer | Priyank Maheshwari <priyank.maheshwari@est.tech> | 2024-04-30 14:34:38 +0000 |
commit | 86dd13916f8e1ec3b9ac981c19913ddad89dc343 (patch) | |
tree | d50df43c1605a8634a2aca2b48f8b15bdf81f42f /cps-application/src/main | |
parent | 45dcb449f10e1c9070eb4db3773cf1089686be19 (diff) |
[BUG]Defaults for cps and dmi user and pass
- provided default values for DMI_USERNAME and DMI_PASSWORD which is
required to set when DMI_AUTH_ENABLED is true
- Also provided defaults for CPS_USERNAME and CPS_PASSWORD as its
been used in the logback xml file and if not provided then causes an
issue with the logger
Issue-ID: CPS-2194
Change-Id: I70fdbeca970556c7bd19f27c1b6b5123fd591283
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-application/src/main')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 27bc6c6189..7873cc459c 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -144,8 +144,8 @@ security: # comma-separated uri patterns which do not require authorization permit-uri: /actuator/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/**,/v3/api-docs/** auth: - username: ${CPS_USERNAME} - password: ${CPS_PASSWORD} + username: ${CPS_USERNAME:cpsuser} + password: ${CPS_PASSWORD:cpsr0cks!} # Actuator management: @@ -175,8 +175,8 @@ ncmp: maximumConnectionsTotal: 100 idleConnectionEvictionThresholdInSeconds: 5 auth: - username: ${DMI_USERNAME} - password: ${DMI_PASSWORD} + username: ${DMI_USERNAME:cpsuser} + password: ${DMI_PASSWORD:cpsr0cks!} enabled: ${DMI_AUTH_ENABLED:true} api: base-path: dmi |