summaryrefslogtreecommitdiffstats
path: root/rulemgt-standalone/src/main
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-08-07 12:30:35 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-08-07 12:41:11 +0800
commit20a1514bf93035472d4f940f00a357106d4bec1f (patch)
tree53c8e874f204f4b5ac7e64cbfdf783dbd2e9e019 /rulemgt-standalone/src/main
parent40f54b8acefce59ecbd9e9fde60e062373243982 (diff)
Change the groupid from openo to onap
Change the groupid and package paths to onap. Change-Id: I8432e9ac2c979bbc36e10e6a702c6f04fc41446a Issue-ID: HOLMES-7 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone/src/main')
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/initDB.bat2
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/initDB.sh4
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/run.bat2
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/run.sh2
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/stop.bat2
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/stop.sh2
-rw-r--r--rulemgt-standalone/src/main/assembly/conf/rulemgt.yml2
7 files changed, 8 insertions, 8 deletions
diff --git a/rulemgt-standalone/src/main/assembly/bin/initDB.bat b/rulemgt-standalone/src/main/assembly/bin/initDB.bat
index f6d83af..fd60aed 100644
--- a/rulemgt-standalone/src/main/assembly/bin/initDB.bat
+++ b/rulemgt-standalone/src/main/assembly/bin/initDB.bat
@@ -24,7 +24,7 @@ echo start init holmes rulemgt 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_rulemgt-createobj.sql
+mysql -u%user% -p%password% -P%port% -h%host% < %main_path%\dbscripts\mysql\onap-holmes_rulemgt-createobj.sql
set "err=%errorlevel%"
if "%err%"=="0" (
echo init rulemgt db success
diff --git a/rulemgt-standalone/src/main/assembly/bin/initDB.sh b/rulemgt-standalone/src/main/assembly/bin/initDB.sh
index 905ad1b..a602bf9 100644
--- a/rulemgt-standalone/src/main/assembly/bin/initDB.sh
+++ b/rulemgt-standalone/src/main/assembly/bin/initDB.sh
@@ -23,12 +23,12 @@ port=$3
host=$4
echo "start init holmes rulemgt db"
main_path=$HOME/../
-cat $main_path/dbscripts/mysql/openo-holmes_rulemgt-createobj.sql
+cat $main_path/dbscripts/mysql/onap-holmes_rulemgt-createobj.sql
echo "user="$user
echo "password"$password
echo "port="$port
echo "host="$host
-mysql -u$user -p$password -P$port -h$host <$main_path/dbscripts/mysql/openo-holmes_rulemgt-createobj.sql
+mysql -u$user -p$password -P$port -h$host <$main_path/dbscripts/mysql/onap-holmes_rulemgt-createobj.sql
sql_result=$?
cat "sql_result="$sql_result
if [ $sql_result != 0 ] ; then
diff --git a/rulemgt-standalone/src/main/assembly/bin/run.bat b/rulemgt-standalone/src/main/assembly/bin/run.bat
index 6553c82..1ea81ab 100644
--- a/rulemgt-standalone/src/main/assembly/bin/run.bat
+++ b/rulemgt-standalone/src/main/assembly/bin/run.bat
@@ -30,7 +30,7 @@ set class_path=%main_path%;%main_path%holmes-rulemgt.jar
echo ### jvm_opts: %jvm_opts%
echo ### class_path: %class_path%
-%JAVA% -classpath %class_path% %jvm_opts% org.openo.holmes.rulemgt.RuleActiveApp server %main_path%conf/rulemgt.yml
+%JAVA% -classpath %class_path% %jvm_opts% org.onap.holmes.rulemgt.RuleActiveApp server %main_path%conf/rulemgt.yml
IF ERRORLEVEL 1 goto showerror
exit
diff --git a/rulemgt-standalone/src/main/assembly/bin/run.sh b/rulemgt-standalone/src/main/assembly/bin/run.sh
index 0519cc2..b6ab959 100644
--- a/rulemgt-standalone/src/main/assembly/bin/run.sh
+++ b/rulemgt-standalone/src/main/assembly/bin/run.sh
@@ -31,5 +31,5 @@ echo @JAVA_OPTS@ $JAVA_OPTS
class_path="$main_path/:$main_path/holmes-rulemgt.jar"
echo @class_path@ $class_path
-"$JAVA" $JAVA_OPTS -classpath "$class_path" org.openo.holmes.rulemgt.RuleActiveApp server "$main_path/conf/rulemgt.yml"
+"$JAVA" $JAVA_OPTS -classpath "$class_path" org.onap.holmes.rulemgt.RuleActiveApp server "$main_path/conf/rulemgt.yml"
diff --git a/rulemgt-standalone/src/main/assembly/bin/stop.bat b/rulemgt-standalone/src/main/assembly/bin/stop.bat
index ca7b4ff..bfde362 100644
--- a/rulemgt-standalone/src/main/assembly/bin/stop.bat
+++ b/rulemgt-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.rulemgt.RuleActiveApp"
+set Main_Class="org.onap.holmes.rulemgt.RuleActiveApp"
echo ================== engine-d-service info =============================================
echo HOME=$HOME
diff --git a/rulemgt-standalone/src/main/assembly/bin/stop.sh b/rulemgt-standalone/src/main/assembly/bin/stop.sh
index f9e07a4..2f98e77 100644
--- a/rulemgt-standalone/src/main/assembly/bin/stop.sh
+++ b/rulemgt-standalone/src/main/assembly/bin/stop.sh
@@ -17,7 +17,7 @@
DIRNAME=`dirname $0`
HOME=`cd $DIRNAME/; pwd`
-Main_Class="org.openo.holmes.rulemgt.RuleActiveApp"
+Main_Class="org.onap.holmes.rulemgt.RuleActiveApp"
echo ================== engine-d-service info =============================================
echo HOME=$HOME
diff --git a/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml b/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml
index 8ad1f9a..fe2e18e 100644
--- a/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml
+++ b/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml
@@ -9,7 +9,7 @@ apidescription: ZTE Holmes rule Management rest API
server:
type: simple
- rootPath: '/openoapi/holmes-rule-mgmt/v1/*'
+ rootPath: '/onapapi/holmes-rule-mgmt/v1/*'
applicationContextPath: /
adminContextPath: /admin
connector: