aboutsummaryrefslogtreecommitdiffstats
path: root/cps-application
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2023-08-01 15:36:27 +0100
committerPriyank Maheshwari <priyank.maheshwari@est.tech>2023-08-04 09:04:40 +0000
commit612fb579067ea79d0148462a45eeff737a58503f (patch)
tree9fbb678ca8a76c357aa141cb4fa8f3371233c475 /cps-application
parent5c03520a3709ea215e1e6c4c77dd962864dda4af (diff)
Ability to disable sending auth header
- introduced configurable parameter to disable sending auth header in the request to dmi-plugin - default is to include the auth header - DMI_AUTH_ENABLED flag can be set to true/false to control the behaviour - Also added the env variables to the CSITs - updated release-notes Issue-ID: CPS-1819 Change-Id: If97c06e33f06e391d2190b7300d73210ed2f4e27 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-application')
-rw-r--r--cps-application/src/main/resources/application.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml
index 47592b41f0..a18de2acdb 100644
--- a/cps-application/src/main/resources/application.yml
+++ b/cps-application/src/main/resources/application.yml
@@ -174,6 +174,7 @@ ncmp:
auth:
username: ${DMI_USERNAME}
password: ${DMI_PASSWORD}
+ enabled: ${DMI_AUTH_ENABLED:true}
api:
base-path: dmi