summaryrefslogtreecommitdiffstats
path: root/rulemgt-standalone
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2018-03-28 10:26:27 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2018-03-28 10:26:27 +0800
commitd165bd9397c9de0d16c5dc580306d6e63e1e1d60 (patch)
tree78b149c5a6641a6c1f058c4d51438bb85969ab7b /rulemgt-standalone
parentfc6926a65285263a32bae736684ff5c765ebf3e2 (diff)
Updated the Version of Dropwizard
Change-Id: I83105eadc15fd1ad635beb4a255206b312796ef8 Issue-ID: HOLMES-123 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone')
-rw-r--r--rulemgt-standalone/pom.xml34
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/run.sh2
-rw-r--r--rulemgt-standalone/src/main/assembly/conf/rulemgt.yml2
3 files changed, 36 insertions, 2 deletions
diff --git a/rulemgt-standalone/pom.xml b/rulemgt-standalone/pom.xml
index 606acbf..2b9ea50 100644
--- a/rulemgt-standalone/pom.xml
+++ b/rulemgt-standalone/pom.xml
@@ -70,6 +70,23 @@
</configuration>
</execution>
<execution>
+ <id>copy-lib-${linux64id}</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${linux64outputdir}/lib</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.parent.basedir}/rulemgt/target/lib</directory>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+ <overwrite>true</overwrite>
+ </configuration>
+ </execution>
+ <execution>
<id>copy-resources-${win64id}</id>
<phase>process-resources</phase>
<goals>
@@ -98,6 +115,23 @@
</configuration>
</execution>
<execution>
+ <id>copy-lib-${win64id}</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${win64outputdir}/lib</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.parent.basedir}/rulemgt/target/lib</directory>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+ <overwrite>true</overwrite>
+ </configuration>
+ </execution>
+ <execution>
<id>copy-dockerfile</id>
<phase>process-resources</phase>
<goals>
diff --git a/rulemgt-standalone/src/main/assembly/bin/run.sh b/rulemgt-standalone/src/main/assembly/bin/run.sh
index f0beb56..1b77f33 100644
--- a/rulemgt-standalone/src/main/assembly/bin/run.sh
+++ b/rulemgt-standalone/src/main/assembly/bin/run.sh
@@ -30,7 +30,7 @@ port=8312
#JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=$port,server=y,suspend=n"
echo @JAVA_OPTS@ $JAVA_OPTS
-class_path="$main_path/:$main_path/holmes-rulemgt.jar"
+class_path="$main_path/*:$main_path/lib/*:$main_path/holmes-rulemgt.jar"
echo @class_path@ $class_path
if [ -z ${JDBC_USERNAME} ]; then
diff --git a/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml b/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml
index a043ab2..c3dc4cc 100644
--- a/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml
+++ b/rulemgt-standalone/src/main/assembly/conf/rulemgt.yml
@@ -41,7 +41,7 @@ logging:
threshold: ERROR
#logFormat: "%nopexception%logger\n|%date{yyyy-MM-dd'T'HH:mm:ss.SSSXXX,UTC}\n|%level\n|%message\n|%X{InvocationID}\n|%rootException\n|%marker\n|%thread\n|%n \r\n"
logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] invocationID:{InvocationID} - %m%n"
- currentLogFilename: ../logs/ONAP/holmes/rulemgt-relation-error.log
+ currentLogFilename: var/log/ONAP/holmes/rulemgt-relation-error.log
archivedLogFilenamePattern: /var/log/ONAP/holmes/zip/rulemgt-relation-error-%d{yyyy-MM-dd}.log.gz
archivedFileCount: 7
- type: file