From 20a1514bf93035472d4f940f00a357106d4bec1f Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Mon, 7 Aug 2017 12:30:35 +0800 Subject: 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 --- rulemgt-standalone/pom.xml | 10 +++++----- rulemgt-standalone/src/main/assembly/bin/initDB.bat | 2 +- rulemgt-standalone/src/main/assembly/bin/initDB.sh | 4 ++-- rulemgt-standalone/src/main/assembly/bin/run.bat | 2 +- rulemgt-standalone/src/main/assembly/bin/run.sh | 2 +- rulemgt-standalone/src/main/assembly/bin/stop.bat | 2 +- rulemgt-standalone/src/main/assembly/bin/stop.sh | 2 +- rulemgt-standalone/src/main/assembly/conf/rulemgt.yml | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) (limited to 'rulemgt-standalone') diff --git a/rulemgt-standalone/pom.xml b/rulemgt-standalone/pom.xml index ea4b985..2327c11 100644 --- a/rulemgt-standalone/pom.xml +++ b/rulemgt-standalone/pom.xml @@ -20,9 +20,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - org.openo.holmes.rule-management + org.onap.holmes.rule-management holmes-rulemgt-parent - 1.1.0-SNAPSHOT + 1.0.0-SNAPSHOT holmes-rulemgt-standalone @@ -96,7 +96,7 @@ - org.openo.holmes.rule-management + org.onap.holmes.rule-management holmes-rulemgt jar true @@ -115,7 +115,7 @@ - org.openo.holmes.rule-management + org.onap.holmes.rule-management holmes-rulemgt jar true @@ -166,7 +166,7 @@ - org.openo.holmes.rule-management + org.onap.holmes.rule-management holmes-rulemgt ${project.version} 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: -- cgit 1.2.3-korg