Update and align HV-VES component spec to use cmpv2 certs 44/117044/3
authorTomasz Wrobel <tomasz.wrobel@nokia.com>
Thu, 21 Jan 2021 13:21:00 +0000 (14:21 +0100)
committerTomasz Wrobel <tomasz.wrobel@nokia.com>
Tue, 26 Jan 2021 12:32:19 +0000 (13:32 +0100)
Issue-ID: DCAEGEN2-2441
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I98a7d3cb04230ed03f0c5a6b63be9d25196f8176

dpo/spec/hv-ves-collector.componentspec.json

index 7ab9459..e24f838 100644 (file)
@@ -25,7 +25,7 @@
       "name": "logLevel",
       "value": "DEBUG",
       "description": "The logging level used for collector classes",
-      "sourced_at_deployment": false,
+      "sourced_at_deployment": true,
       "policy_editable": false,
       "designer_editable": false
     },
     },
     {
       "name": "server.idleTimeoutSec",
-      "value": 60,
+      "value": 300,
       "description": "Maximum inactive time in seconds for client connections after which client can be disconnected",
-      "sourced_at_deployment": false,
+      "sourced_at_deployment": true,
+      "type": "integer",
       "policy_editable": false,
       "designer_editable": false
     },
       "name": "cbs.requestIntervalSec",
       "value": 5,
       "description": "Interval in seconds of re-checking the CBS configuration",
-      "sourced_at_deployment": false,
+      "sourced_at_deployment": true,
+      "type": "integer",
       "policy_editable": false,
       "designer_editable": false
     },
     {
       "name": "security.sslDisable",
-      "value": true,
+      "value": false,
       "description": "Should be set to true in order to disable client authentication and tunnel encryption",
-      "sourced_at_deployment": false,
+      "sourced_at_deployment": true,
+      "type": "boolean",
       "policy_editable": false,
       "designer_editable": false
     },
@@ -73,7 +76,7 @@
       "name": "security.keys.keyStoreFile",
       "value": "/etc/ves-hv/ssl/cert.jks",
       "description": "Points to private key store file",
-      "sourced_at_deployment": false,
+      "sourced_at_deployment": true,
       "policy_editable": false,
       "designer_editable": false
     },
@@ -81,7 +84,7 @@
       "name": "security.keys.keyStorePasswordFile",
       "value": "/etc/ves-hv/ssl/jks.pass",
       "description": "File which contains password for the key store",
-      "sourced_at_deployment": false,
+      "sourced_at_deployment": true,
       "policy_editable": false,
       "designer_editable": false
     },
@@ -89,7 +92,7 @@
       "name": "security.keys.trustStoreFile",
       "value": "/etc/ves-hv/ssl/trust.jks",
       "description": "Points to trust store file which contains trusted client certificates and/or CAs",
-      "sourced_at_deployment": false,
+      "sourced_at_deployment": true,
       "policy_editable": false,
       "designer_editable": false
     },
       "name": "security.keys.trustStorePasswordFile",
       "value": "/etc/ves-hv/ssl/trust.pass",
       "description": "File which contains password for the trust store",
-      "sourced_at_deployment": false,
+      "sourced_at_deployment": true,
       "policy_editable": false,
       "designer_editable": false
     }
       "timeout": "2s",
       "script": "/opt/ves-hv-collector/healthcheck.sh"
     },
-    "volumes": [
-      {
-        "container": {
-          "bind": "/etc/ves-hv/ssl"
-        },
-        "host": {
-          "path": "/opt/app/dcae-certificate"
-        }
-      },
-      {
-        "container": {
-          "bind": "/var/log/ONAP/dcae-hv-ves-collector"
-        },
-        "host": {
-          "path": "/var/log/ONAP/dcae-hv-ves-collector"
-        }
-      }
-    ],
+    "tls_info": {
+      "cert_directory": "/etc/ves-hv/ssl/",
+      "use_tls": true,
+      "use_external_tls": false
+    },
     "ports": [
       "6060:6060",
       "6061:6061"
   "artifacts": [
     {
       "type": "docker image",
-      "uri": "nexus.onap.org:10001/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.2.0-SNAPSHOT"
+      "uri": "nexus.onap.org:10001/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.6.0"
     }
   ]
 }