summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src/main/assembly
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-08-07 12:36:54 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-08-07 12:42:24 +0800
commit7ab5d3b5150f3941f61f40bc27c94909bcbdfe7d (patch)
tree63a3f115c7023a07f7f092986f666704ba9a9b21 /engine-d-standalone/src/main/assembly
parent4ced1931f4e031761d6d16484bb59a975dfcdc68 (diff)
Change the groupid from openo to onap
Change the groupid and package paths to onap. Change-Id: Ie2f9926d418fbb434509a0d740efa95148ab58de Issue-ID: HOLMES-8 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d-standalone/src/main/assembly')
-rw-r--r--engine-d-standalone/src/main/assembly/bin/initDB.bat2
-rw-r--r--engine-d-standalone/src/main/assembly/bin/initDB.sh2
-rw-r--r--engine-d-standalone/src/main/assembly/bin/run.bat2
-rw-r--r--engine-d-standalone/src/main/assembly/bin/run.sh2
-rw-r--r--engine-d-standalone/src/main/assembly/bin/stop.bat2
-rw-r--r--engine-d-standalone/src/main/assembly/bin/stop.sh2
-rw-r--r--engine-d-standalone/src/main/assembly/conf/engine-d.yml2
7 files changed, 7 insertions, 7 deletions
diff --git a/engine-d-standalone/src/main/assembly/bin/initDB.bat b/engine-d-standalone/src/main/assembly/bin/initDB.bat
index 29a795c..84b2e54 100644
--- a/engine-d-standalone/src/main/assembly/bin/initDB.bat
+++ b/engine-d-standalone/src/main/assembly/bin/initDB.bat
@@ -24,7 +24,7 @@ echo start init holmes engine-d db
echo HOME=%HOME%
set main_path=%HOME%..\
cd /d %main_path%
-mysql -u%user% -p%password% -P%port% -h%host% < %main_path%\dbscripts\mysql\openo-holmes_engine_d-createobj.sql
+mysql -u%user% -p%password% -P%port% -h%host% < %main_path%\dbscripts\mysql\onap-holmes_engine_d-createobj.sql
set "err=%errorlevel%"
if "%err%"=="0" (
echo init engine-d db success
diff --git a/engine-d-standalone/src/main/assembly/bin/initDB.sh b/engine-d-standalone/src/main/assembly/bin/initDB.sh
index a02391b..97361ea 100644
--- a/engine-d-standalone/src/main/assembly/bin/initDB.sh
+++ b/engine-d-standalone/src/main/assembly/bin/initDB.sh
@@ -24,7 +24,7 @@ host=$4
echo "start init holmes engine-d db"
main_path=$HOME/../
cat $main_path
-mysql -u$user -p$password -P$port -h$host <$main_path/dbscripts/mysql/openo-holmes_engine_d-createobj.sql
+mysql -u$user -p$password -P$port -h$host <$main_path/dbscripts/mysql/onap-holmes_engine_d-createobj.sql
sql_result=$?
if [ $sql_result != 0 ] ; then
echo "failed to init engine-d database!"
diff --git a/engine-d-standalone/src/main/assembly/bin/run.bat b/engine-d-standalone/src/main/assembly/bin/run.bat
index 89151e8..e61f25a 100644
--- a/engine-d-standalone/src/main/assembly/bin/run.bat
+++ b/engine-d-standalone/src/main/assembly/bin/run.bat
@@ -30,7 +30,7 @@ set class_path=%main_path%;%main_path%holmes-engine-d.jar
echo ### jvm_opts: %jvm_opts%
echo ### class_path: %class_path%
-%JAVA% -classpath %class_path% %jvm_opts% org.openo.holmes.engine.EngineDActiveApp server %main_path%conf/engine-d.yml
+%JAVA% -classpath %class_path% %jvm_opts% EngineDActiveApp server %main_path%conf/engine-d.yml
IF ERRORLEVEL 1 goto showerror
exit
diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh
index 4a93b50..a403aeb 100644
--- a/engine-d-standalone/src/main/assembly/bin/run.sh
+++ b/engine-d-standalone/src/main/assembly/bin/run.sh
@@ -31,5 +31,5 @@ echo @JAVA_OPTS@ $JAVA_OPTS
class_path="$main_path/:$main_path/holmes-engine-d.jar"
echo @class_path@ $class_path
-"$JAVA" $JAVA_OPTS -classpath "$class_path" org.openo.holmes.engine.EngineDActiveApp server "$main_path/conf/engine-d.yml"
+"$JAVA" $JAVA_OPTS -classpath "$class_path" EngineDActiveApp server "$main_path/conf/engine-d.yml"
diff --git a/engine-d-standalone/src/main/assembly/bin/stop.bat b/engine-d-standalone/src/main/assembly/bin/stop.bat
index 22280e7..f4ed01b 100644
--- a/engine-d-standalone/src/main/assembly/bin/stop.bat
+++ b/engine-d-standalone/src/main/assembly/bin/stop.bat
@@ -18,7 +18,7 @@
title stopping engine-d-service
set HOME=%~dp0
-set Main_Class="org.openo.holmes.engine.EngineDActiveApp"
+set Main_Class="EngineDActiveApp"
echo ================== engine-d-service info =============================================
echo HOME=$HOME
diff --git a/engine-d-standalone/src/main/assembly/bin/stop.sh b/engine-d-standalone/src/main/assembly/bin/stop.sh
index 8f81bda..5c217f1 100644
--- a/engine-d-standalone/src/main/assembly/bin/stop.sh
+++ b/engine-d-standalone/src/main/assembly/bin/stop.sh
@@ -17,7 +17,7 @@
DIRNAME=`dirname $0`
HOME=`cd $DIRNAME/; pwd`
-Main_Class="org.openo.holmes.engine.EngineDActiveApp"
+Main_Class="EngineDActiveApp"
echo ================== engine-d-service info =============================================
echo HOME=$HOME
diff --git a/engine-d-standalone/src/main/assembly/conf/engine-d.yml b/engine-d-standalone/src/main/assembly/conf/engine-d.yml
index c16bf71..de129c4 100644
--- a/engine-d-standalone/src/main/assembly/conf/engine-d.yml
+++ b/engine-d-standalone/src/main/assembly/conf/engine-d.yml
@@ -15,7 +15,7 @@
#
server:
type: simple
- rootPath: '/openoapi/holmes-engine-mgmt/v1/*'
+ rootPath: '/onapapi/holmes-engine-mgmt/v1/*'
applicationContextPath: /
adminContextPath: /admin
connector: