diff options
author | sg481n <sg481n@att.com> | 2017-09-18 16:35:50 -0400 |
---|---|---|
committer | sg481n <sg481n@att.com> | 2017-09-18 17:19:08 -0400 |
commit | a2ac6780451f31bf01718cf4e3f196ac421186fd (patch) | |
tree | 623e74a8574c9f151c82545eae8d1d2e881074dc /authz-service/src/main/resources/docker-compose | |
parent | 20e269405bc72144421ebccb1b2208ea22d17a55 (diff) |
Update AAF project version to release docker image
Removed deploy plugin from all pom's.Updated project version to
1.0.1-SNAPSHOT and modified few aaf property files to release
docker image of aaf to nexts onap.
Change-Id: Ic048da22d69b8030974b97bb118892d4b9328f21
Issue-id: AAF-60
Signed-off-by: sg481n <sg481n@att.com>
Diffstat (limited to 'authz-service/src/main/resources/docker-compose')
4 files changed, 8 insertions, 24 deletions
diff --git a/authz-service/src/main/resources/docker-compose/aafcli.sh b/authz-service/src/main/resources/docker-compose/aafcli.sh deleted file mode 100644 index 89e9a4ea..00000000 --- a/authz-service/src/main/resources/docker-compose/aafcli.sh +++ /dev/null @@ -1,9 +0,0 @@ -DIR=`pwd` -DME2REG=$DIR/../dme2reg -CLASSPATH=etc:target/authz-cmd-2.0.15-jar-with-dependencies.jar - -java -cp $CLASSPATH \ - -Dcadi_prop_files=../authz-service/src/main/sample/authAPI.props \ - -DDME2_EP_REGISTRY_CLASS=DME2FS -DAFT_DME2_EP_REGISTRY_FS_DIR=$DME2REG \ - com.att.cmd.AAFcli $* - diff --git a/authz-service/src/main/resources/docker-compose/docker-compose.yml b/authz-service/src/main/resources/docker-compose/docker-compose.yml index fce6824d..f79d368f 100644 --- a/authz-service/src/main/resources/docker-compose/docker-compose.yml +++ b/authz-service/src/main/resources/docker-compose/docker-compose.yml @@ -23,7 +23,7 @@ version: '2'
services:
aaf_container:
- image: attos/aaf
+ image: onap/aaf/authz-service
ports:
- "8101:8101"
@@ -33,7 +33,7 @@ services: # - ./authAPI.props:/opt/app/aaf/authz-service/2.0.15/etc/authAPI.props
- ./wait_for_host_port.sh:/tmp/wait_for_host_port.sh
- ./data2:/data
- - ./runaafcli.sh:/opt/app/aaf/authz-service/2.0.15/runaafcli.sh
+ # - ./runaafcli.sh:/opt/app/aaf/authz-service/2.0.15/runaafcli.sh
# - ./com.osaaf.common.props:/opt/app/aaf/authz-service/2.0.15/etc/com.osaaf.common.props
# - ./cadi-core-1.3.0.jar:/opt/app/aaf/authz-service/2.0.15/lib/cadi-core-1.3.0.jar
# - ./cadi-aaf-1.3.0.jar:/opt/app/aaf/authz-service/2.0.15/lib/cadi-aaf-1.3.0.jar
diff --git a/authz-service/src/main/resources/docker-compose/runaafcli.sh b/authz-service/src/main/resources/docker-compose/runaafcli.sh deleted file mode 100644 index a4ce5182..00000000 --- a/authz-service/src/main/resources/docker-compose/runaafcli.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -DIR=`pwd` -#DME2REG=$DIR/../dme2reg -DME2REG=/opt/dme2reg -#CLASSPATH=etc:target/authz-cmd-2.0.15-jar-with-dependencies.jar -CLASSPATH=/opt/app/aaf/authz-service/2.0.15/etc:/opt/app/aaf/authz-service/2.0.15/lib/authz-cmd-2.0.15-jar-with-dependencies.jar -#java -cp $CLASSPATH -Dcadi_prop_files=../authz-service/src/main/sample/authAPI.props -DDME2_EP_REGISTRY_CLASS=DME2FS -DAFT_DME2_EP_REGISTRY_FS_DIR=$DME2REG com.att.cmd.AAFcli $* -java -cp $CLASSPATH -Dcadi_prop_files=/opt/app/aaf/authz-service/2.0.15/etc/authAPI.props -DDME2_EP_REGISTRY_CLASS=DME2FS -DAFT_DME2_EP_REGISTRY_FS_DIR=$DME2REG com.att.cmd.AAFcli $* diff --git a/authz-service/src/main/resources/docker-compose/startupaaf.sh b/authz-service/src/main/resources/docker-compose/startupaaf.sh index bc1f0b29..b45bba5e 100644 --- a/authz-service/src/main/resources/docker-compose/startupaaf.sh +++ b/authz-service/src/main/resources/docker-compose/startupaaf.sh @@ -1,9 +1,9 @@ # lji: this startup file shadows the existing extry point startup.sh file of the container # because we need to pass in the cassandra cluster location -LIB=/opt/app/aaf/authz-service/2.0.15/lib +LIB=/opt/app/aaf/authz-service/lib -ETC=/opt/app/aaf/authz-service/2.0.15/etc +ETC=/opt/app/aaf/authz-service/etc DME2REG=/opt/dme2reg echo "this is LIB" $LIB @@ -15,7 +15,7 @@ for FILE in `find $LIB -name *.jar`; do CLASSPATH=$CLASSPATH:$FILE done -FILEPATHS="/opt/app/aaf/common/com.osaaf.common.props /opt/app/aaf/authz-service/2.0.15/etc/com.osaaf.common.props" +FILEPATHS="/opt/app/aaf/authz-service/etc/com.osaaf.common.props /opt/app/aaf/authz-service/etc/com.osaaf.common.props" for FILEPATH in $FILEPATHS: do if [ -e ${FILEPATH} ]; then @@ -26,7 +26,9 @@ do 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 # keet it running so we can check fs while sleep 2; do echo thinking; done + + |