Add insecure params in inventory bp 69/21069/1
authorMichael Hwang <mhwang@research.att.com>
Fri, 27 Oct 2017 19:50:01 +0000 (15:50 -0400)
committerMichael Hwang <mhwang@research.att.com>
Fri, 27 Oct 2017 19:52:12 +0000 (15:52 -0400)
Make sdc-secure-connection booleans into optional inputs

Change-Id: I2bc34a092284ef703fd4401edf99d21a8903a9e4
Issue-Id: DCAEGEN2-183
Signed-off-by: Michael Hwang <mhwang@research.att.com>
blueprints/inventory.yaml-template

index 7e209d9..4da253c 100644 (file)
@@ -48,6 +48,14 @@ inputs:
     description: SDC password
   asdc_environment_name:
     description: SDC environment name
+  asdc_use_secure_https:
+    description: Boolean to toggle whether to do certificate validation for https calls to SDC API
+    type: boolean
+    default: false
+  asdc_use_https_dmaap:
+    description: Boolean to toggle whether to use https for calls to message router API
+    type: boolean
+    default: false
 
   postgres_user_inventory:
     description: Postgres user for inventory
@@ -79,7 +87,8 @@ node_templates:
           environmentName: { get_input: asdc_environment_name }
           keyStorePath:
           keyStorePassword:
-          activateServerTLSAuth: false
+          activateServerTLSAuth: { get_input: asdc_use_secure_https }
+          useHttpsWithDmaap: { get_input: asdc_use_https_dmaap }
           isFilterInEmptyResources: false
         dcaeInventoryClient:
           uri: http://inventory:8080