From 612fb579067ea79d0148462a45eeff737a58503f Mon Sep 17 00:00:00 2001 From: mpriyank Date: Tue, 1 Aug 2023 15:36:27 +0100 Subject: 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 --- csit/plans/cps/setup.sh | 2 +- csit/plans/cps/test.properties | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'csit') diff --git a/csit/plans/cps/setup.sh b/csit/plans/cps/setup.sh index 269d3cb29..bdea01985 100755 --- a/csit/plans/cps/setup.sh +++ b/csit/plans/cps/setup.sh @@ -129,4 +129,4 @@ check_health $DMI_HOST:$DMI_MANAGEMENT_PORT 'dmi-plugin' ###################### ROBOT Configurations ########################## # Pass variables required for Robot test suites in ROBOT_VARIABLES -ROBOT_VARIABLES="-v CPS_CORE_HOST:$CPS_CORE_HOST -v CPS_CORE_PORT:$CPS_CORE_PORT -v DMI_HOST:$LOCAL_IP -v DMI_PORT:$DMI_PORT -v DMI_CSIT_STUB_HOST:$LOCAL_IP -v DMI_CSIT_STUB_PORT:$DMI_DEMO_STUB_PORT -v CPS_CORE_MANAGEMENT_PORT:$CPS_CORE_MANAGEMENT_PORT -v DATADIR:$WORKSPACE/data --exitonfailure" +ROBOT_VARIABLES="-v CPS_CORE_HOST:$CPS_CORE_HOST -v CPS_CORE_PORT:$CPS_CORE_PORT -v DMI_HOST:$LOCAL_IP -v DMI_PORT:$DMI_PORT -v DMI_CSIT_STUB_HOST:$LOCAL_IP -v DMI_CSIT_STUB_PORT:$DMI_DEMO_STUB_PORT -v DMI_AUTH_ENABLED:$DMI_AUTH_ENABLED -v CPS_CORE_MANAGEMENT_PORT:$CPS_CORE_MANAGEMENT_PORT -v DATADIR:$WORKSPACE/data --exitonfailure" diff --git a/csit/plans/cps/test.properties b/csit/plans/cps/test.properties index 474a71818..b3dcf05fa 100644 --- a/csit/plans/cps/test.properties +++ b/csit/plans/cps/test.properties @@ -32,3 +32,5 @@ CPS_HOME=$CPS_HOME DMI_DEMO_STUB_PORT=8784 DMI_DEMO_STUB_VERSION=latest + +DMI_AUTH_ENABLED=true -- cgit 1.2.3-korg