diff options
author | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2019-04-10 13:44:29 +0200 |
---|---|---|
committer | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2019-04-12 08:35:31 +0200 |
commit | 73649219d6aae1cf5d0753ca79697c54df5d2422 (patch) | |
tree | f7729c79141d0bfafb15da95a3427613785bdad9 | |
parent | a6ca45e53ad5e901f6752def5480e99bfb987e4a (diff) |
Improve HV-VES Collector configurability
Change-Id: I9e137e11faffae9d10411b8ca6514b9513c5bc66
Issue-ID: DCAEGEN2-1396
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
-rw-r--r-- | blueprints/k8s-hv-ves.yaml-template | 36 |
1 files changed, 36 insertions, 0 deletions
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 |