From 216f7e8ca6fd6fa2c9eeed41173048afad8675ed Mon Sep 17 00:00:00 2001 From: zhangab Date: Wed, 7 Nov 2018 10:39:05 +0800 Subject: Fix usecase-ui-server shutdown bugs Change-Id: I1b29a6170844e7b0e3ca8f9d46f7ae36202d5983 Issue-ID: USECASEUI-176 Signed-off-by: zhangab --- server/src/main/resources/application.properties | 1 - standalone/src/main/assembly/bin/stop.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src/main/resources/application.properties b/server/src/main/resources/application.properties index e97b3786..7402b510 100644 --- a/server/src/main/resources/application.properties +++ b/server/src/main/resources/application.properties @@ -39,4 +39,3 @@ logging.level.*=ERROR #enable shutdown endpoints.shutdown.enabled=true endpoints.shutdown.sensitive=false -management.context-path=/usecase-ui-server diff --git a/standalone/src/main/assembly/bin/stop.sh b/standalone/src/main/assembly/bin/stop.sh index 2f60715a..88417b36 100644 --- a/standalone/src/main/assembly/bin/stop.sh +++ b/standalone/src/main/assembly/bin/stop.sh @@ -29,7 +29,7 @@ echo @WORK_DIR@ $HOME function shutdown_usecaseui_server(){ echo ================== usecase-ui server shutdown is starting ============================================= - curl -X POST http://localhost:8082/usecase-ui-server/shutdown + curl -X POST http://127.0.0.1:8082/api/usecaseui/server/v1/shutdown echo ================== usecase-ui server shutdown finished ============================================= } -- cgit 1.2.3-korg