From 50c23cc7adb0c5aef4415b7bd38fecec29f4fb2a Mon Sep 17 00:00:00 2001 From: Instrumental Date: Wed, 31 Oct 2018 02:40:03 -0500 Subject: Move to 2.1.17 Also, fix inconsistent startup of AAF Cass Issue-ID: AAF-598 Change-Id: I9300812ec8d2869e92621473ebd5933c9345f283 Signed-off-by: Instrumental --- auth-client/pom.xml | 2 +- auth/auth-batch/file | 4 ---- auth/auth-batch/pom.xml | 2 +- auth/auth-cass/cass_init/cmd.sh | 22 ++++++++++++++-------- auth/auth-cass/pom.xml | 2 +- auth/auth-certman/pom.xml | 2 +- auth/auth-cmd/pom.xml | 2 +- auth/auth-core/pom.xml | 2 +- auth/auth-deforg/pom.xml | 2 +- auth/auth-fs/pom.xml | 2 +- auth/auth-gui/pom.xml | 2 +- auth/auth-hello/pom.xml | 2 +- auth/auth-locate/pom.xml | 2 +- auth/auth-oauth/pom.xml | 2 +- auth/auth-service/pom.xml | 2 +- auth/docker/agent.sh | 2 +- auth/docker/d.props.init | 2 +- auth/helm/aaf/Chart.yaml | 2 +- auth/helm/aaf/templates/aaf-cass.yaml | 4 ++-- auth/helm/aaf/values.yaml | 5 +++-- auth/pom.xml | 2 +- cadi/aaf/pom.xml | 2 +- cadi/client/pom.xml | 2 +- cadi/core/pom.xml | 2 +- cadi/oauth-enduser/pom.xml | 2 +- cadi/pom.xml | 2 +- cadi/servlet-sample/pom.xml | 2 +- misc/env/pom.xml | 2 +- misc/log4j/pom.xml | 2 +- misc/pom.xml | 2 +- misc/rosetta/pom.xml | 2 +- misc/xgen/pom.xml | 2 +- pom.xml | 2 +- version.properties | 2 +- 34 files changed, 49 insertions(+), 46 deletions(-) delete mode 100644 auth/auth-batch/file diff --git a/auth-client/pom.xml b/auth-client/pom.xml index 79f64587..32d8e7b4 100644 --- a/auth-client/pom.xml +++ b/auth-client/pom.xml @@ -25,7 +25,7 @@ org.onap.aaf.authz parent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT aaf-auth-client diff --git a/auth/auth-batch/file b/auth/auth-batch/file deleted file mode 100644 index 4055fcda..00000000 --- a/auth/auth-batch/file +++ /dev/null @@ -1,4 +0,0 @@ -instructions -instructions -promptinstructions -promptinstructions diff --git a/auth/auth-batch/pom.xml b/auth/auth-batch/pom.xml index d5db8df3..6bebd2c6 100644 --- a/auth/auth-batch/pom.xml +++ b/auth/auth-batch/pom.xml @@ -25,7 +25,7 @@ org.onap.aaf.authz authparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT ../pom.xml diff --git a/auth/auth-cass/cass_init/cmd.sh b/auth/auth-cass/cass_init/cmd.sh index fd0706f2..0683fde2 100644 --- a/auth/auth-cass/cass_init/cmd.sh +++ b/auth/auth-cass/cass_init/cmd.sh @@ -3,7 +3,8 @@ # Engage normal Cass Init, then check for data installation # DIR="/opt/app/aaf/status" -INSTALLED_VERSION=/etc/cassandra/AAF_VERSION +INSTALLED_VERSION=/var/lib/cassandra/AAF_VERSION +AAF_INIT_DATA=/var/lib/cassandra/AAF_INIT_DATA if [ ! -e /aaf_cmd ]; then ln -s /opt/app/aaf/cass_init/cmd.sh /aaf_cmd @@ -92,13 +93,18 @@ function install_cql { function install_onap { echo " cd /opt/app/aaf/cass_init" install_cql initialized - status prep data for bootstrapping - cd /opt/app/aaf/cass_init - status prep data - bash prep.sh - status push data to cassandra - bash push.sh - cd - + if [ -e "$AAF_INIT_DATA" ]; then + echo "AAF Data already initialized on this Cassandra" + else + status prep data for bootstrapping + cd /opt/app/aaf/cass_init + status prep data + bash prep.sh + status push data to cassandra + bash push.sh + cd - + echo $(date) > $AAF_INIT_DATA + fi status ready } diff --git a/auth/auth-cass/pom.xml b/auth/auth-cass/pom.xml index f47b601e..c7c0e489 100644 --- a/auth/auth-cass/pom.xml +++ b/auth/auth-cass/pom.xml @@ -17,7 +17,7 @@ org.onap.aaf.authz authparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT ../pom.xml diff --git a/auth/auth-certman/pom.xml b/auth/auth-certman/pom.xml index dc63f666..f398e58c 100644 --- a/auth/auth-certman/pom.xml +++ b/auth/auth-certman/pom.xml @@ -19,7 +19,7 @@ org.onap.aaf.authz authparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT ../pom.xml diff --git a/auth/auth-cmd/pom.xml b/auth/auth-cmd/pom.xml index b50c636b..369b53bd 100644 --- a/auth/auth-cmd/pom.xml +++ b/auth/auth-cmd/pom.xml @@ -18,7 +18,7 @@ org.onap.aaf.authz authparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT ../pom.xml diff --git a/auth/auth-core/pom.xml b/auth/auth-core/pom.xml index 10232ef6..9e8f30d8 100644 --- a/auth/auth-core/pom.xml +++ b/auth/auth-core/pom.xml @@ -25,7 +25,7 @@ org.onap.aaf.authz authparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT ../pom.xml diff --git a/auth/auth-deforg/pom.xml b/auth/auth-deforg/pom.xml index 182e3ea6..ed1fe928 100644 --- a/auth/auth-deforg/pom.xml +++ b/auth/auth-deforg/pom.xml @@ -26,7 +26,7 @@ authparent ../pom.xml org.onap.aaf.authz - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT aaf-auth-deforg diff --git a/auth/auth-fs/pom.xml b/auth/auth-fs/pom.xml index bca16eec..671d4a24 100644 --- a/auth/auth-fs/pom.xml +++ b/auth/auth-fs/pom.xml @@ -17,7 +17,7 @@ org.onap.aaf.authz authparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT ../pom.xml diff --git a/auth/auth-gui/pom.xml b/auth/auth-gui/pom.xml index f6e9d6dd..d5b1c6ff 100644 --- a/auth/auth-gui/pom.xml +++ b/auth/auth-gui/pom.xml @@ -17,7 +17,7 @@ org.onap.aaf.authz authparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT ../pom.xml diff --git a/auth/auth-hello/pom.xml b/auth/auth-hello/pom.xml index 67403bc6..527a9ef5 100644 --- a/auth/auth-hello/pom.xml +++ b/auth/auth-hello/pom.xml @@ -17,7 +17,7 @@ org.onap.aaf.authz authparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT ../pom.xml diff --git a/auth/auth-locate/pom.xml b/auth/auth-locate/pom.xml index 2b3994e1..8291ff42 100644 --- a/auth/auth-locate/pom.xml +++ b/auth/auth-locate/pom.xml @@ -17,7 +17,7 @@ org.onap.aaf.authz authparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT ../pom.xml diff --git a/auth/auth-oauth/pom.xml b/auth/auth-oauth/pom.xml index 81784b89..61a8881c 100644 --- a/auth/auth-oauth/pom.xml +++ b/auth/auth-oauth/pom.xml @@ -17,7 +17,7 @@ org.onap.aaf.authz authparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT ../pom.xml diff --git a/auth/auth-service/pom.xml b/auth/auth-service/pom.xml index ad74853e..5b747043 100644 --- a/auth/auth-service/pom.xml +++ b/auth/auth-service/pom.xml @@ -17,7 +17,7 @@ org.onap.aaf.authz authparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT ../pom.xml diff --git a/auth/docker/agent.sh b/auth/docker/agent.sh index 45f5b43a..f6ae5cd3 100644 --- a/auth/docker/agent.sh +++ b/auth/docker/agent.sh @@ -9,7 +9,7 @@ fi . ./aaf.props DOCKER=${DOCKER:=docker} -CADI_VERSION=${CADI_VERSION:=2.1.6-SNAPSHOT} +CADI_VERSION=${CADI_VERSION:=2.1.7-SNAPSHOT} for V in VERSION DOCKER_REPOSITORY AAF_FQDN AAF_FQDN_IP DEPLOY_FQI APP_FQDN APP_FQI VOLUME DRIVER LATITUDE LONGITUDE; do if [ "$(grep $V ./aaf.props)" = "" ]; then diff --git a/auth/docker/d.props.init b/auth/docker/d.props.init index b64ba1f0..eab44cbc 100644 --- a/auth/docker/d.props.init +++ b/auth/docker/d.props.init @@ -2,7 +2,7 @@ ORG=onap PROJECT=aaf DOCKER_REPOSITORY=nexus3.onap.org:10003 -VERSION=2.1.6-SNAPSHOT +VERSION=2.1.7-SNAPSHOT CONF_ROOT_DIR=/opt/app/osaaf # For local builds, set PREFIX= PREFIX="$DOCKER_REPOSITORY/" diff --git a/auth/helm/aaf/Chart.yaml b/auth/helm/aaf/Chart.yaml index 323a6e14..7f43534c 100644 --- a/auth/helm/aaf/Chart.yaml +++ b/auth/helm/aaf/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "1.0" description: AAF Helm Chart name: aaf -version: 2.1.4-SNAPSHOT +version: 2.1.7-SNAPSHOT diff --git a/auth/helm/aaf/templates/aaf-cass.yaml b/auth/helm/aaf/templates/aaf-cass.yaml index 7002bc09..e8d91e2c 100644 --- a/auth/helm/aaf/templates/aaf-cass.yaml +++ b/auth/helm/aaf/templates/aaf-cass.yaml @@ -38,7 +38,7 @@ spec: volumes: - name: {{ .Chart.Name }}-cass-vol persistentVolumeClaim: - claimName: {{ .Chart.Name }}-cass-pvc + claimName: {{ .Chart.Name }}-cass-pvc containers: ### ### AAF-CASS @@ -49,7 +49,7 @@ spec: # installing with cmd "onap" will not only initialize the DB, but add ONAP bootstrap data as well command: ["/bin/bash","/opt/app/aaf/cass_init/cmd.sh","onap"] volumeMounts: - - mountPath: "/data" + - mountPath: "/var/lib/cassandra" name: {{ .Chart.Name }}-cass-vol ports: - name: storage diff --git a/auth/helm/aaf/values.yaml b/auth/helm/aaf/values.yaml index 839d939a..83e0ae68 100644 --- a/auth/helm/aaf/values.yaml +++ b/auth/helm/aaf/values.yaml @@ -22,7 +22,8 @@ cadi: aaf_locate_as: "aaf-locate" persistence: - mountPath: "/mnt/data/aaf" + # Note: Minikube will persist to /data on your host machine + mountPath: "/data/aaf" config: volumeReclaimPolicy: Retain accessMode: ReadWriteOnce @@ -48,7 +49,7 @@ image: # When using Docker Repo, add, and include trailing "/" # repository: nexus3.onap.org:10003/ # repository: localhost:5000/ - version: 2.1.6-SNAPSHOT + version: 2.1.7-SNAPSHOT resources: {} # We usually recommend not to specify default resources and to leave this as a conscious diff --git a/auth/pom.xml b/auth/pom.xml index d6426cef..61ad1c4e 100644 --- a/auth/pom.xml +++ b/auth/pom.xml @@ -26,7 +26,7 @@ org.onap.aaf.authz parent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT authparent AAF Auth Parent diff --git a/cadi/aaf/pom.xml b/cadi/aaf/pom.xml index 2a613486..10731cf0 100644 --- a/cadi/aaf/pom.xml +++ b/cadi/aaf/pom.xml @@ -24,7 +24,7 @@ org.onap.aaf.authz cadiparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT .. diff --git a/cadi/client/pom.xml b/cadi/client/pom.xml index 87956d14..63920a2a 100644 --- a/cadi/client/pom.xml +++ b/cadi/client/pom.xml @@ -22,7 +22,7 @@ org.onap.aaf.authz cadiparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT .. diff --git a/cadi/core/pom.xml b/cadi/core/pom.xml index 87b0a1a1..34886d26 100644 --- a/cadi/core/pom.xml +++ b/cadi/core/pom.xml @@ -16,7 +16,7 @@ org.onap.aaf.authz cadiparent .. - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT 4.0.0 diff --git a/cadi/oauth-enduser/pom.xml b/cadi/oauth-enduser/pom.xml index 7b1d20a1..edbd2b0e 100644 --- a/cadi/oauth-enduser/pom.xml +++ b/cadi/oauth-enduser/pom.xml @@ -25,7 +25,7 @@ org.onap.aaf.authz cadiparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT .. diff --git a/cadi/pom.xml b/cadi/pom.xml index 811ad9f7..3e3a8c55 100644 --- a/cadi/pom.xml +++ b/cadi/pom.xml @@ -24,7 +24,7 @@ org.onap.aaf.authz parent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT cadiparent AAF CADI Parent (Code, Access, Data, Identity) diff --git a/cadi/servlet-sample/pom.xml b/cadi/servlet-sample/pom.xml index 385e00a7..49537146 100644 --- a/cadi/servlet-sample/pom.xml +++ b/cadi/servlet-sample/pom.xml @@ -4,7 +4,7 @@ org.onap.aaf.authz cadiparent .. - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT 4.0.0 CADI Servlet Sample (Test Only) diff --git a/misc/env/pom.xml b/misc/env/pom.xml index 87ba9a2a..9b63e347 100644 --- a/misc/env/pom.xml +++ b/misc/env/pom.xml @@ -24,7 +24,7 @@ org.onap.aaf.authz miscparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT .. diff --git a/misc/log4j/pom.xml b/misc/log4j/pom.xml index 694b5b20..c72f5b8d 100644 --- a/misc/log4j/pom.xml +++ b/misc/log4j/pom.xml @@ -24,7 +24,7 @@ org.onap.aaf.authz miscparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT .. diff --git a/misc/pom.xml b/misc/pom.xml index 49ed2f5e..b4ef0ceb 100644 --- a/misc/pom.xml +++ b/misc/pom.xml @@ -25,7 +25,7 @@ org.onap.aaf.authz parent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT miscparent AAF Misc Parent diff --git a/misc/rosetta/pom.xml b/misc/rosetta/pom.xml index 81e40dfe..383c8967 100644 --- a/misc/rosetta/pom.xml +++ b/misc/rosetta/pom.xml @@ -24,7 +24,7 @@ org.onap.aaf.authz miscparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT .. diff --git a/misc/xgen/pom.xml b/misc/xgen/pom.xml index 7a99d85b..7fc3fe32 100644 --- a/misc/xgen/pom.xml +++ b/misc/xgen/pom.xml @@ -24,7 +24,7 @@ org.onap.aaf.authz miscparent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT .. diff --git a/pom.xml b/pom.xml index 49a07a08..78834386 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ 4.0.0 org.onap.aaf.authz parent - 2.1.6-SNAPSHOT + 2.1.7-SNAPSHOT aaf-authz pom diff --git a/version.properties b/version.properties index 0349e30b..2400e4d3 100644 --- a/version.properties +++ b/version.properties @@ -27,7 +27,7 @@ major=2 minor=1 -patch=6 +patch=7 base_version=${major}.${minor}.${patch} -- cgit 1.2.3-korg