aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-11-07 10:39:05 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-11-07 10:39:07 +0800
commit216f7e8ca6fd6fa2c9eeed41173048afad8675ed (patch)
tree077c404fe97f1ba724ef29983d2117c556b1049e
parent2e207eb9381305585c6eba891b65c3950ae9faeb (diff)
Fix usecase-ui-server shutdown bugs
Change-Id: I1b29a6170844e7b0e3ca8f9d46f7ae36202d5983 Issue-ID: USECASEUI-176 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
-rw-r--r--server/src/main/resources/application.properties1
-rw-r--r--standalone/src/main/assembly/bin/stop.sh2
2 files changed, 1 insertions, 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 =============================================
}