summaryrefslogtreecommitdiffstats
path: root/authz-service/start.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/start.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/start.sh')
-rw-r--r--authz-service/start.sh22
1 files changed, 16 insertions, 6 deletions
diff --git a/authz-service/start.sh b/authz-service/start.sh
index 8d247c23..7b18f9dc 100644
--- a/authz-service/start.sh
+++ b/authz-service/start.sh
@@ -1,11 +1,21 @@
-DIR=`pwd`
-LIB=$DIR/target/swm/package/nix/dist_files/opt/app/aaf/authz-service/2.0.15/lib
-ETC=$DIR/src/main/sample
-DME2REG=$DIR/../dme2reg
+
+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 -depth 1 -name *.jar`; do
+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 com.att.authz.service.AuthAPI
+java -classpath $CLASSPATH -DDME2_EP_REGISTRY_CLASS=DME2FS -DAFT_DME2_EP_REGISTRY_FS_DIR=$DME2REG org.onap.aaf.authz.service.AuthAPI
+
+
+
+
+