Fix usecase-ui-server shutdown bugs 29/72029/1
authorzhangab <zhanganbing@chinamobile.com>
Wed, 7 Nov 2018 02:39:05 +0000 (10:39 +0800)
committerzhangab <zhanganbing@chinamobile.com>
Wed, 7 Nov 2018 02:39:07 +0000 (10:39 +0800)
Change-Id: I1b29a6170844e7b0e3ca8f9d46f7ae36202d5983
Issue-ID: USECASEUI-176
Signed-off-by: zhangab <zhanganbing@chinamobile.com>
server/src/main/resources/application.properties
standalone/src/main/assembly/bin/stop.sh

index e97b378..7402b51 100644 (file)
@@ -39,4 +39,3 @@ logging.level.*=ERROR
 #enable shutdown
 endpoints.shutdown.enabled=true
 endpoints.shutdown.sensitive=false
-management.context-path=/usecase-ui-server
index 2f60715..88417b3 100644 (file)
@@ -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 =============================================
 }