Move to 2.1.17 31/71531/1
authorInstrumental <jonathan.gathman@att.com>
Wed, 31 Oct 2018 07:40:03 +0000 (02:40 -0500)
committerInstrumental <jonathan.gathman@att.com>
Wed, 31 Oct 2018 07:52:47 +0000 (02:52 -0500)
Also, fix inconsistent startup of AAF Cass

Issue-ID: AAF-598
Change-Id: I9300812ec8d2869e92621473ebd5933c9345f283
Signed-off-by: Instrumental <jonathan.gathman@att.com>
34 files changed:
auth-client/pom.xml
auth/auth-batch/file [deleted file]
auth/auth-batch/pom.xml
auth/auth-cass/cass_init/cmd.sh
auth/auth-cass/pom.xml
auth/auth-certman/pom.xml
auth/auth-cmd/pom.xml
auth/auth-core/pom.xml
auth/auth-deforg/pom.xml
auth/auth-fs/pom.xml
auth/auth-gui/pom.xml
auth/auth-hello/pom.xml
auth/auth-locate/pom.xml
auth/auth-oauth/pom.xml
auth/auth-service/pom.xml
auth/docker/agent.sh
auth/docker/d.props.init
auth/helm/aaf/Chart.yaml
auth/helm/aaf/templates/aaf-cass.yaml
auth/helm/aaf/values.yaml
auth/pom.xml
cadi/aaf/pom.xml
cadi/client/pom.xml
cadi/core/pom.xml
cadi/oauth-enduser/pom.xml
cadi/pom.xml
cadi/servlet-sample/pom.xml
misc/env/pom.xml
misc/log4j/pom.xml
misc/pom.xml
misc/rosetta/pom.xml
misc/xgen/pom.xml
pom.xml
version.properties

index 79f6458..32d8e7b 100644 (file)
@@ -25,7 +25,7 @@
     <parent>
         <groupId>org.onap.aaf.authz</groupId>
         <artifactId>parent</artifactId>
-        <version>2.1.6-SNAPSHOT</version>
+        <version>2.1.7-SNAPSHOT</version>
     </parent>
        
        <artifactId>aaf-auth-client</artifactId>
diff --git a/auth/auth-batch/file b/auth/auth-batch/file
deleted file mode 100644 (file)
index 4055fcd..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-instructions
-instructions
-promptinstructions
-promptinstructions
index d5db8df..6bebd2c 100644 (file)
@@ -25,7 +25,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>authparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>../pom.xml</relativePath>
        </parent>
 
index fd0706f..0683fde 100644 (file)
@@ -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
 }
 
index f47b601..c7c0e48 100644 (file)
@@ -17,7 +17,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>authparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>../pom.xml</relativePath>
        </parent>
 
index dc63f66..f398e58 100644 (file)
@@ -19,7 +19,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>authparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>../pom.xml</relativePath>
        </parent>
 
index b50c636..369b53b 100644 (file)
@@ -18,7 +18,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>authparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>../pom.xml</relativePath>
        </parent>
 
index 10232ef..9e8f30d 100644 (file)
@@ -25,7 +25,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>authparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>../pom.xml</relativePath>
        </parent>
 
index 182e3ea..ed1fe92 100644 (file)
@@ -26,7 +26,7 @@
                <artifactId>authparent</artifactId>
                <relativePath>../pom.xml</relativePath>
                <groupId>org.onap.aaf.authz</groupId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
        </parent>
 
        <artifactId>aaf-auth-deforg</artifactId>
index bca16ee..671d4a2 100644 (file)
@@ -17,7 +17,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>authparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>../pom.xml</relativePath>
        </parent>
 
index f6e9d6d..d5b1c6f 100644 (file)
@@ -17,7 +17,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>authparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>../pom.xml</relativePath>
        </parent>
 
index 67403bc..527a9ef 100644 (file)
@@ -17,7 +17,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>authparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>../pom.xml</relativePath>
        </parent>
 
index 2b3994e..8291ff4 100644 (file)
@@ -17,7 +17,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>authparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>../pom.xml</relativePath>
        </parent>
 
index 81784b8..61a8881 100644 (file)
@@ -17,7 +17,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>authparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>../pom.xml</relativePath>
        </parent>
 
index ad74853..5b74704 100644 (file)
@@ -17,7 +17,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>authparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>../pom.xml</relativePath>
        </parent>
 
index 45f5b43..f6ae5cd 100644 (file)
@@ -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
index b64ba1f..eab44cb 100644 (file)
@@ -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/"
index 323a6e1..7f43534 100644 (file)
@@ -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
index 7002bc0..e8d91e2 100644 (file)
@@ -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
index 839d939..83e0ae6 100644 (file)
@@ -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
index d6426ce..61ad1c4 100644 (file)
@@ -26,7 +26,7 @@
        <parent>
         <groupId>org.onap.aaf.authz</groupId>
         <artifactId>parent</artifactId>
-        <version>2.1.6-SNAPSHOT</version>
+        <version>2.1.7-SNAPSHOT</version>
     </parent>
        <artifactId>authparent</artifactId>
        <name>AAF Auth Parent</name>
index 2a61348..10731cf 100644 (file)
@@ -24,7 +24,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>cadiparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
 
index 87956d1..63920a2 100644 (file)
@@ -22,7 +22,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>cadiparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
 
index 87b0a1a..34886d2 100644 (file)
@@ -16,7 +16,7 @@
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>cadiparent</artifactId>
                <relativePath>..</relativePath>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
index 7b1d20a..edbd2b0 100644 (file)
@@ -25,7 +25,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>cadiparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
        
index 811ad9f..3e3a8c5 100644 (file)
@@ -24,7 +24,7 @@
        <parent>
            <groupId>org.onap.aaf.authz</groupId>
            <artifactId>parent</artifactId>
-           <version>2.1.6-SNAPSHOT</version>
+           <version>2.1.7-SNAPSHOT</version>
     </parent>
        <artifactId>cadiparent</artifactId>
        <name>AAF CADI Parent (Code, Access, Data, Identity)</name>
index 385e00a..4953714 100644 (file)
@@ -4,7 +4,7 @@
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>cadiparent</artifactId>
                <relativePath>..</relativePath>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
        </parent>
        <modelVersion>4.0.0</modelVersion>
        <name>CADI Servlet Sample (Test Only)</name>
index 87ba9a2..9b63e34 100644 (file)
@@ -24,7 +24,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>miscparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
 
index 694b5b2..c72f5b8 100644 (file)
@@ -24,7 +24,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>miscparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
 
index 49ed2f5..b4ef0ce 100644 (file)
@@ -25,7 +25,7 @@
        <parent>
        <groupId>org.onap.aaf.authz</groupId>
        <artifactId>parent</artifactId>
-       <version>2.1.6-SNAPSHOT</version>
+       <version>2.1.7-SNAPSHOT</version>
     </parent>
        <artifactId>miscparent</artifactId>
        <name>AAF Misc Parent</name>
index 81e40df..383c896 100644 (file)
@@ -24,7 +24,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>miscparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
 
index 7a99d85..7fc3fe3 100644 (file)
@@ -24,7 +24,7 @@
        <parent>
                <groupId>org.onap.aaf.authz</groupId>
                <artifactId>miscparent</artifactId>
-               <version>2.1.6-SNAPSHOT</version>
+               <version>2.1.7-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
 
diff --git a/pom.xml b/pom.xml
index 49a07a0..7883438 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.onap.aaf.authz</groupId>
     <artifactId>parent</artifactId>
-    <version>2.1.6-SNAPSHOT</version>
+    <version>2.1.7-SNAPSHOT</version>
     <name>aaf-authz</name>
     <packaging>pom</packaging>
 
index 0349e30..2400e4d 100644 (file)
@@ -27,7 +27,7 @@
 
 major=2
 minor=1
-patch=6
+patch=7
 
 base_version=${major}.${minor}.${patch}