summaryrefslogtreecommitdiffstats
path: root/authz-service/start.sh
blob: 7b18f9dc7d18d5eb079b9b88d6b8f8f9c88f50b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
LIB=/opt/app/aaf/authz-service/1.0.0-SNAPSHOT/lib

ETC=/opt/app/aaf/authz-service/1.0.0-SNAPSHOT/etc
DME2REG=/opt/dme2reg

echo "this is LIB" $LIB
echo "this is ETC" $ETC
echo "this is DME2REG" $DME2REG

CLASSPATH=$ETC
for FILE in `find $LIB -name *.jar`; do
  CLASSPATH=$CLASSPATH:$FILE
done
java -classpath $CLASSPATH -DDME2_EP_REGISTRY_CLASS=DME2FS -DAFT_DME2_EP_REGISTRY_FS_DIR=$DME2REG org.onap.aaf.authz.service.AuthAPI