blob: 759769953f9547d0ba0e1d62a5a419ad5829356c [file] [log] [blame]
Yuli Shlosberg958c32d2018-02-15 12:04:46 +02001#!/bin/sh
2
sebdetdf353be2020-09-21 22:13:05 +02003JAVA_OPTIONS="$JAVA_OPTIONS \
4 -Dconfig.home=$JETTY_BASE/config \
5 -Dlog.home=$JETTY_BASE/logs \
6 -Dlogback.configurationFile=$JETTY_BASE/config/catalog-fe/logback.xml \
7 -Dconfiguration.yaml=$JETTY_BASE/config/catalog-fe/configuration.yaml \
8 -Donboarding_configuration.yaml=$JETTY_BASE/config/onboarding-fe/onboarding_configuration.yaml \
9 -Djavax.net.ssl.trustStore=$JETTY_BASE/etc/org.onap.sdc.trust.jks \
k.kedrona22105e2020-03-25 15:29:42 +010010 -Djavax.net.ssl.trustStorePassword=z+KEj;t+,KN^iimSiS89e#p0 \
sebdetdf353be2020-09-21 22:13:05 +020011 -Djetty.console-capture.dir=$JETTY_BASE/logs"
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020012
sebdetdf353be2020-09-21 22:13:05 +020013cd $JETTY_BASE/chef-solo
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020014chef-solo -c solo.rb -E ${ENVNAME}
15
sebdetdf353be2020-09-21 22:13:05 +020016cd $JETTY_HOME
vasraz2dca3ec2022-02-09 15:55:38 +000017echo "etc/rewrite-root-to-sdc1.xml" >> $JETTY_HOME/start.d/rewrite.ini
Yuli Shlosberg958c32d2018-02-15 12:04:46 +020018
sebdetdf353be2020-09-21 22:13:05 +020019java $JAVA_OPTIONS -jar "${JETTY_HOME}/start.jar"