blob: aa2f69b6798fbc04835623200a18c0e152e18b54 [file] [log] [blame]
Fiachra Corcoranfa1da982018-07-26 07:23:34 +01001#!/bin/bash
sg481naaf2df82017-08-03 17:56:38 -04002LIB=/opt/app/datartr/lib
3ETC=/opt/app/datartr/etc
4echo "this is LIB" $LIB
5echo "this is ETC" $ETC
6mkdir -p /opt/app/datartr/logs
7mkdir -p /opt/app/datartr/spool
8CLASSPATH=$ETC
9for FILE in `find $LIB -name *.jar`; do
10 CLASSPATH=$CLASSPATH:$FILE
11done
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010012java -classpath $CLASSPATH org.onap.dmaap.datarouter.provisioning.Main
sg481naaf2df82017-08-03 17:56:38 -040013
14runner_file="$LIB/datarouter-prov-jar-with-dependencies.jar"
15echo "Starting using" $runner_file
efiacor1ccd9c32019-10-08 16:24:28 +010016java -Dorg.onap.dmaap.datarouter.provserver.properties=/opt/app/datartr/etc/provserver.properties \
17-Dcom.att.eelf.logging.file=/opt/app/datartr/etc/logback.xml -Dcom.att.eelf.logging.path=/root -jar $runner_file