From 56b8406095f2b3f84ad4d28695d9fe420a418270 Mon Sep 17 00:00:00 2001 From: "halil.cakal" Date: Wed, 25 Oct 2023 12:02:49 +0100 Subject: [BUG] DMI Change management base endpoint - Update DMI management endpoint from /manage to /actuator - The actuator port is as same as application port - Change CSIT portfolio - Change web config filters - Change docker-compose - Update the docs Issue-ID: CPS-1922 Change-Id: Iab45a625b518f1b24a77c99dbdf20a58105723b6 Signed-off-by: halil.cakal --- csit/plans/dmi/setup.sh | 2 +- csit/plans/dmi/test.properties | 1 - csit/tests/actuator/actuator.robot | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'csit') diff --git a/csit/plans/dmi/setup.sh b/csit/plans/dmi/setup.sh index 7008e29b..8117c1f2 100755 --- a/csit/plans/dmi/setup.sh +++ b/csit/plans/dmi/setup.sh @@ -26,7 +26,7 @@ check_health() while [ "$TICKER" -le "$TIME_OUT" ]; do - RESPONSE=$(curl --location --request GET 'http://'$1'/manage/health/readiness') + RESPONSE=$(curl --location --request GET 'http://'$1'/actuator/health/readiness') if [[ "$RESPONSE" == *"UP"* ]]; then echo "$2 started in $TICKER" diff --git a/csit/plans/dmi/test.properties b/csit/plans/dmi/test.properties index 39e577ae..2929eb68 100644 --- a/csit/plans/dmi/test.properties +++ b/csit/plans/dmi/test.properties @@ -17,7 +17,6 @@ DMI_HOST=$LOCAL_IP DMI_PORT=8783 DMI_USERNAME=cpsuser DMI_PASSWORD=cpsr0cks! -DMI_MANAGEMENT_PORT=8787 DMI_SERVICE_URL=http://$LOCAL_IP:$DMI_PORT DOCKER_REPO=nexus3.onap.org:10003 diff --git a/csit/tests/actuator/actuator.robot b/csit/tests/actuator/actuator.robot index dcb4f3ef..e278f5f9 100644 --- a/csit/tests/actuator/actuator.robot +++ b/csit/tests/actuator/actuator.robot @@ -22,7 +22,7 @@ Documentation DMI - Actuator endpoints Library Collections Library RequestsLibrary -Suite Setup Create Session MANAGEMENT_URL http://${DMI_HOST}:${DMI_MANAGEMENT_PORT}/manage +Suite Setup Create Session MANAGEMENT_URL http://${DMI_HOST}:${DMI_PORT}/actuator *** Test Cases *** Test DMI Enhanced Healthcheck -- cgit 1.2.3-korg