Adjust VES and HV-VES collectors to use certificates from CMPv2 11/112811/3
authorJoanna Jeremicz <joanna.jeremicz@nokia.com>
Thu, 17 Sep 2020 09:41:18 +0000 (11:41 +0200)
committerJoanna Jeremicz <joanna.jeremicz@nokia.com>
Fri, 18 Sep 2020 06:08:45 +0000 (08:08 +0200)
- Provide cert_type as input

Issue-ID: DCAEGEN2-1794
Issue-ID: DCAEGEN2-2195
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: I5dd67bf7c6fa93f4c193774877dfc6b6271072c2

blueprints/k8s-hv-ves.yaml
blueprints/k8s-ves.yaml

index 103c964..d6f753a 100644 (file)
@@ -22,7 +22,7 @@ tosca_definitions_version: cloudify_dsl_1_3
 
 imports:
   - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
-  - plugin:k8splugin?version=3.3.0
+  - plugin:k8splugin?version=3.4.1
 
 inputs:
   tag_version:
@@ -88,6 +88,10 @@ inputs:
   service_component_name_override:
     type: string
     default: "dcae-hv-ves-collector"
+  external_cert_cert_type:
+    type: string
+    description: Output type
+    default: "JKS"
   external_cert_ca_name:
     type: string
     description: Name of Certificate Authority configured on CertService side.
@@ -156,7 +160,8 @@ node_templates:
         external_cert_directory: '/etc/ves-hv/ssl'
         use_external_tls:
           get_input: external_cert_use_external_tls
-        cert_type: "JKS"
+        cert_type:
+          get_input: external_cert_cert_type
         ca_name:
           get_input: external_cert_ca_name
         external_certificate_parameters:
index f83fa3b..845857a 100644 (file)
@@ -22,7 +22,7 @@ tosca_definitions_version: cloudify_dsl_1_3
 
 imports:
   - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
-  - plugin:k8splugin?version=3.3.0
+  - plugin:k8splugin?version=3.4.1
 
 inputs:
   ves_other_publish_url:
@@ -57,7 +57,7 @@ inputs:
     default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT"
   tag_version:
     type: string
-    default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.7.4"
+    default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.7.5"
   internal_port:
     type: string
     description: Kubernetes node port on which collector is exposed
@@ -95,6 +95,10 @@ inputs:
   enable_tls:
     type: boolean
     default: false
+  external_cert_cert_type:
+    type: string
+    description: Output type
+    default: "JKS"
   external_cert_ca_name:
     type: string
     description: Name of Certificate Authority configured on CertService side.
@@ -239,7 +243,8 @@ node_templates:
         external_cert_directory: '/opt/app/dcae-certificate/'
         use_external_tls:
           get_input: external_cert_use_external_tls
-        cert_type: "JKS"
+        cert_type:
+          get_input: external_cert_cert_type
         ca_name:
           get_input: external_cert_ca_name
         external_certificate_parameters: