fixing heat deployment issues noted 09/44009/4
authorvagrant <vv770d@att.com>
Fri, 20 Apr 2018 19:44:55 +0000 (19:44 +0000)
committervagrant <vv770d@att.com>
Fri, 20 Apr 2018 20:45:30 +0000 (20:45 +0000)
Plugin Script is common between K8S and Heat deploy, incorporating
additonal required plugin.

Modified registration to include dockerhost login info

Change-Id: I228cdb2e48c47cc698a19986ccf12b6d21ab265c
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-464

heat/register.sh
k8s-bootstrap-container/build-plugins.sh
k8s-bootstrap-container/pom.xml

index 4b4e100..bdf6814 100755 (executable)
@@ -61,6 +61,20 @@ curl -v -X PUT -H 'Content-Type: application/json' \
 --data-binary "$REGREQ" \
 "http://${HOSTNAME_CONSUL}:8500/v1/agent/service/register"
 
+#Add KV for dockerplugin login
+REGREQ="
+[
+       { 
+               \"username\": \"docker\", 
+               \"password\": \"docker\", 
+               \"registry\": \"nexus3.onap.org:10001\" 
+       }
+]
+"
+curl -v -X PUT -H 'Content-Type: application/json' \
+--data-binary "$REGREQ" \
+"http://${HOSTNAME_CONSUL}:8500/v1/kv/docker_plugin/docker_logins"
+
 
 
 # registering Holmes services
index 69fb121..84e4faa 100755 (executable)
@@ -33,6 +33,7 @@ DCAEPLUGINFILES=\
 "\
 k8splugin/1.1.0/k8splugin-1.1.0.tgz 
 dockerplugin/3.2.0/dockerplugin-3.2.0.tgz 
+relationshipplugin/1.0.0/relationshipplugin-1.0.0.tgz
 dcaepolicyplugin/2.3.0/dcaepolicyplugin-2.3.0.tgz \
 "
 
index 6eca043..abbe3d0 100644 (file)
@@ -27,7 +27,7 @@ limitations under the License.
   <groupId>org.onap.dcaegen2.deployments</groupId>
   <artifactId>k8s-bootstrap-container</artifactId>
   <name>dcaegen2-deployments-k8s-bootstrap-container</name>
-  <version>1.1.5</version>
+  <version>1.1.6</version>
   <url>http://maven.apache.org</url>
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>