summaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly/bin
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-04-20 12:06:46 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-04-20 12:06:47 +0800
commit19afe18cf5a8d6c2d6fc86fa6f643911b191771e (patch)
treed7322994272ec1b873c7e0ac755e5a4c248f3be2 /standalone/src/main/assembly/bin
parente804d7764e58ceb10fb7a931b0257cc42b76e18e (diff)
Add usecase-ui-server database init data
Change-Id: I23cdfcb2b0ef7ddd4dd77529a6ed09b9eb9afbd3 Issue-ID: USECASEUI-236 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'standalone/src/main/assembly/bin')
-rw-r--r--standalone/src/main/assembly/bin/stop.sh17
1 files changed, 2 insertions, 15 deletions
diff --git a/standalone/src/main/assembly/bin/stop.sh b/standalone/src/main/assembly/bin/stop.sh
index 88417b36..598f976b 100644
--- a/standalone/src/main/assembly/bin/stop.sh
+++ b/standalone/src/main/assembly/bin/stop.sh
@@ -15,31 +15,18 @@
# limitations under the License.
#
-DIRNAME=`dirname $0`
-HOME=`cd $DIRNAME/; pwd`
-Main_Class="usecase-ui-server"
-
-echo ================== usecase-ui-server info =============================================
-echo HOME=$HOME
-echo Main_Class=$Main_Class
-echo ===============================================================================
-cd $HOME; pwd
-
-echo @WORK_DIR@ $HOME
-
function shutdown_usecaseui_server(){
echo ================== usecase-ui server shutdown is starting =============================================
- curl -X POST http://127.0.0.1:8082/api/usecaseui/server/v1/shutdown
+ curl -X POST http://127.0.0.1:8082/api/usecaseui-server/v1/shutdown
echo ================== usecase-ui server shutdown finished =============================================
}
function shutdown_usecaseui_db(){
echo ================== usecase-ui database shutdown is starting =============================================
- service mysql stop
+ service postgresql stop
echo ================== usecase-ui database shutdown finished =============================================
}
shutdown_usecaseui_server;
shutdown_usecaseui_db;
echo "*****************usecase server shutdown finished*****************"
-sleep 1