diff options
author | 2017-08-29 19:28:59 +0800 | |
---|---|---|
committer | 2017-08-29 19:28:59 +0800 | |
commit | 735aa4e942ea69b738c1d64d77021f7276636131 (patch) | |
tree | 357d5d16039c77cb1ba881d4e419c8f28c042e74 /dmaap-dsa-standalone/src/main | |
parent | 1db590a6b07cfd0ab8c1718b0b760a25fe4dd60f (diff) |
Modify the configuration files
Modify the shell and cmd scripts.
Modify the docker file.
Change-Id: I9f86cd0e414be59c941f277858ddfc2039f34747
Issue-ID: HOLMES-29
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'dmaap-dsa-standalone/src/main')
5 files changed, 8 insertions, 8 deletions
diff --git a/dmaap-dsa-standalone/src/main/assembly/Dockerfile b/dmaap-dsa-standalone/src/main/assembly/Dockerfile index 77b1795..e49d027 100644 --- a/dmaap-dsa-standalone/src/main/assembly/Dockerfile +++ b/dmaap-dsa-standalone/src/main/assembly/Dockerfile @@ -32,7 +32,7 @@ RUN mkdir /home/holmes WORKDIR /home/holmes -ADD holmes-dsa-standalone-*-linux64.tar.gz /home/holmes/ +ADD holmes-dmaap-dsa-standalone-*-linux64.tar.gz /home/holmes/ RUN chmod 755 /home/holmes/bin/*.sh diff --git a/dmaap-dsa-standalone/src/main/assembly/bin/run.bat b/dmaap-dsa-standalone/src/main/assembly/bin/run.bat index 1ea81ab..01c9ca9 100644 --- a/dmaap-dsa-standalone/src/main/assembly/bin/run.bat +++ b/dmaap-dsa-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.onap.holmes.rulemgt.RuleActiveApp server %main_path%conf/rulemgt.yml
+%JAVA% -classpath %class_path% %jvm_opts% org.onap.holmes.dsa.dmaap.DmaapDsaActiveApp server %main_path%conf/dmaap-dsa.yml
IF ERRORLEVEL 1 goto showerror
exit
diff --git a/dmaap-dsa-standalone/src/main/assembly/bin/run.sh b/dmaap-dsa-standalone/src/main/assembly/bin/run.sh index b6ab959..8079e60 100644 --- a/dmaap-dsa-standalone/src/main/assembly/bin/run.sh +++ b/dmaap-dsa-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.onap.holmes.rulemgt.RuleActiveApp server "$main_path/conf/rulemgt.yml" +"$JAVA" $JAVA_OPTS -classpath "$class_path" org.onap.holmes.dsa.dmaap.DmaapDsaActiveApp server "$main_path/conf/dmaap-dsa.yml" diff --git a/dmaap-dsa-standalone/src/main/assembly/bin/stop.bat b/dmaap-dsa-standalone/src/main/assembly/bin/stop.bat index bfde362..d234ab6 100644 --- a/dmaap-dsa-standalone/src/main/assembly/bin/stop.bat +++ b/dmaap-dsa-standalone/src/main/assembly/bin/stop.bat @@ -18,14 +18,14 @@ title stopping engine-d-service
set HOME=%~dp0
-set Main_Class="org.onap.holmes.rulemgt.RuleActiveApp"
+set Main_Class="org.onap.holmes.dsa.dmaap.DmaapDsaActiveApp"
-echo ================== engine-d-service info =============================================
+echo ================== dmaap-dsa-service info =============================================
echo HOME=$HOME
echo Main_Class=%Main_Class%
echo ===============================================================================
-echo ### Stopping engine-d-service
+echo ### Stopping dmaap-dsa-service
cd /d %HOME%
for /f "delims=" %%i in ('"%JAVA_HOME%\bin\jcmd"') do (
diff --git a/dmaap-dsa-standalone/src/main/assembly/bin/stop.sh b/dmaap-dsa-standalone/src/main/assembly/bin/stop.sh index 2f98e77..4448949 100644 --- a/dmaap-dsa-standalone/src/main/assembly/bin/stop.sh +++ b/dmaap-dsa-standalone/src/main/assembly/bin/stop.sh @@ -17,9 +17,9 @@ DIRNAME=`dirname $0` HOME=`cd $DIRNAME/; pwd` -Main_Class="org.onap.holmes.rulemgt.RuleActiveApp" +Main_Class="org.onap.holmes.dsa.dmaap.DmaapDsaActiveApp" -echo ================== engine-d-service info ============================================= +echo ================== dmaap-dsa-service info ============================================= echo HOME=$HOME echo Main_Class=$Main_Class echo =============================================================================== |