diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-08-28 15:55:55 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-08-28 17:10:41 +0800 |
commit | bd36ad0992f45f6d2efd2f5d90cb573a4f003310 (patch) | |
tree | 05fa4a9f776ee30ef7a7eff2a2ed3a3f812cb24b | |
parent | 4fd730a89753cff0e9ef604f0e0b6a91e1a04c26 (diff) |
Modify the configruation for docker-making
Add some dependencies in the pom.xml
Change the main path of the entrypoint of the app
Change-Id: I8242b9502fff28e5c90a111a95cd996db47d0ffc
Issue-ID: HOLMES-39
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
-rw-r--r-- | engine-d-standalone/src/main/assembly/bin/run.sh | 4 | ||||
-rw-r--r-- | engine-d/pom.xml | 5 | ||||
-rw-r--r-- | pom.xml | 6 |
3 files changed, 12 insertions, 3 deletions
diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh index a403aeb..a1aa671 100644 --- a/engine-d-standalone/src/main/assembly/bin/run.sh +++ b/engine-d-standalone/src/main/assembly/bin/run.sh @@ -21,7 +21,7 @@ echo @RUNHOME@ $RUNHOME echo @JAVA_HOME@ $JAVA_HOME JAVA="$JAVA_HOME/bin/java" echo @JAVA@ $JAVA -main_path=$RUNHOME/../ +main_path=$RUNHOME/.. cd $main_path JAVA_OPTS="-Xms50m -Xmx128m" port=8312 @@ -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" EngineDActiveApp server "$main_path/conf/engine-d.yml" +"$JAVA" $JAVA_OPTS -classpath "$class_path" org.onap.holmes.engine.EngineDActiveApp server "$main_path/conf/engine-d.yml" diff --git a/engine-d/pom.xml b/engine-d/pom.xml index c5aa87d..44ae940 100644 --- a/engine-d/pom.xml +++ b/engine-d/pom.xml @@ -34,7 +34,10 @@ </properties> <dependencies> - + <dependency> + <groupId>org.reflections</groupId> + <artifactId>reflections</artifactId> + </dependency> <dependency> <groupId>org.onap.holmes.common</groupId> <artifactId>holmes-actions</artifactId> @@ -55,6 +55,7 @@ <jersey.version>2.22.2</jersey.version> <jaxrs.consumer.version>5.0</jaxrs.consumer.version> <slf4j.version>1.6.1</slf4j.version> + <reflections.version>0.9.9</reflections.version> <quartz.version>2.2.1</quartz.version> <packagename>onap-holmes-engine-d</packagename> @@ -67,6 +68,11 @@ <dependencyManagement> <dependencies> <dependency> + <groupId>org.reflections</groupId> + <artifactId>reflections</artifactId> + <version>${reflections.version}</version> + </dependency> + <dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> <version>3.0</version> |