summaryrefslogtreecommitdiffstats
path: root/authz-service/src/main/resources/docker/startup.sh
diff options
context:
space:
mode:
authorsg481n <sg481n@att.com>2017-09-15 13:06:30 -0400
committersg481n <sg481n@att.com>2017-09-15 13:06:37 -0400
commitdc5fcf12db027827a32c54089a4d064908e52dca (patch)
treec101c8e4cce9ffc5e55c27b677dab0d4a295beaf /authz-service/src/main/resources/docker/startup.sh
parent3e504757a272d3468d27bea2c20540f342520b79 (diff)
Release docker image of AAF to onap nexus
Adding new plugins in authz-service to release aaf docker image into ONAP nexus Issue-id: AAF-60 Change-Id: I373f6861e3bd62f16ee3256ff56b51487af578e5 Signed-off-by: sg481n <sg481n@att.com>
Diffstat (limited to 'authz-service/src/main/resources/docker/startup.sh')
-rw-r--r--authz-service/src/main/resources/docker/startup.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/authz-service/src/main/resources/docker/startup.sh b/authz-service/src/main/resources/docker/startup.sh
new file mode 100644
index 00000000..7b18f9dc
--- /dev/null
+++ b/authz-service/src/main/resources/docker/startup.sh
@@ -0,0 +1,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
+
+
+
+
+
+