From 73649219d6aae1cf5d0753ca79697c54df5d2422 Mon Sep 17 00:00:00 2001 From: Piotr Jaszczyk Date: Wed, 10 Apr 2019 13:44:29 +0200 Subject: Improve HV-VES Collector configurability Change-Id: I9e137e11faffae9d10411b8ca6514b9513c5bc66 Issue-ID: DCAEGEN2-1396 Signed-off-by: Piotr Jaszczyk --- blueprints/k8s-hv-ves.yaml-template | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/blueprints/k8s-hv-ves.yaml-template b/blueprints/k8s-hv-ves.yaml-template index 85d071e..b93ac9c 100644 --- a/blueprints/k8s-hv-ves.yaml-template +++ b/blueprints/k8s-hv-ves.yaml-template @@ -48,6 +48,30 @@ inputs: perf3gpp_kafka_topic: type: string default: 'HV_VES_PERF3GPP' + log_level: + type: string + default: 'INFO' + server_idle_timeout_sec: + type: integer + default: 300 + cbs_request_interval_sec: + type: integer + default: 5 + security_ssl_disable: + type: boolean + default: true + security_keys_key_store_file: + type: string + default: '/etc/ves-hv/ssl/cert.jks' + security_keys_key_store_password_file: + type: string + default: '/etc/ves-hv/ssl/jks.pass' + security_keys_trust_store_file: + type: string + default: '/etc/ves-hv/ssl/trust.jks' + security_keys_trust_store_password_file: + type: string + default: '/etc/ves-hv/ssl/trust.pass' node_templates: hv-ves: interfaces: @@ -58,6 +82,15 @@ node_templates: JAVA_OPTS: { concat: [ '-Dlogback.configurationFile=/etc/ONAP/', { get_input: hv_ves_name }, '/logback.xml' ] } properties: application_config: + logLevel: { get_input: log_level } + server.idleTimeoutSec: { get_input: server_idle_timeout_sec } + server.listenPort: { get_input: container_port } + cbs.requestIntervalSec: { get_input: cbs_request_interval_sec} + security.sslDisable: { get_input: security_ssl_disable } + security.keys.keyStoreFile: { get_input: security_keys_trust_store_file } + security.keys.keyStorePasswordFile: { get_input: security_keys_key_store_password_file } + security.keys.trustStoreFile: { get_input: security_keys_trust_store_file } + security.keys.trustStorePasswordFile: { get_input: security_keys_trust_store_password_file } streams_publishes: perf3gpp: type: kafka @@ -78,4 +111,7 @@ node_templates: host_port: { get_input: host_port } log_info: log_directory: { concat: [ '/var/log/ONAP/', { get_input: hv_ves_name } ] } + tls_info: + cert_directory: '/etc/ves-hv/ssl/' + use_tls: false type: dcae.nodes.ContainerizedPlatformComponent -- cgit 1.2.3-korg