summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--blueprints/k8s-datafile-collector.yaml-template6
-rw-r--r--blueprints/k8s-hv-ves.yaml-template36
2 files changed, 39 insertions, 3 deletions
diff --git a/blueprints/k8s-datafile-collector.yaml-template b/blueprints/k8s-datafile-collector.yaml-template
index dc9013f..1000b38 100644
--- a/blueprints/k8s-datafile-collector.yaml-template
+++ b/blueprints/k8s-datafile-collector.yaml-template
@@ -104,10 +104,10 @@ node_templates:
dmaap.dmaapProducerConfiguration.dmaapUserName: { get_input: dmaap_dr_user }
dmaap.dmaapProducerConfiguration.dmaapUserPassword: { get_input: dmaap_dr_passwd }
dmaap.dmaapProducerConfiguration.dmaapContentType: "application/octet-stream"
- dmaap.ftp.ftpesConfiguration.keyCert: "/opt/app/datafile/config/ftpKey.jks"
+ dmaap.ftp.ftpesConfiguration.keyCert: "/opt/app/datafile/config/dfc.jks"
dmaap.ftp.ftpesConfiguration.keyPassword: "secret"
- dmaap.ftp.ftpesConfiguration.trustedCA: "/opt/app/datafile/config/cacerts"
- dmaap.ftp.ftpesConfiguration.trustedCAPassword: "secret"
+ dmaap.ftp.ftpesConfiguration.trustedCa: "/opt/app/datafile/config/ftp.jks"
+ dmaap.ftp.ftpesConfiguration.trustedCaPassword: "secret"
dmaap.security.trustStorePath: "/opt/app/datafile/etc/cert/trust.jks"
dmaap.security.trustStorePasswordPath: "/opt/app/datafile/etc/cert/trust.pass"
dmaap.security.keyStorePath: "/opt/app/datafile/etc/cert/key.p12"
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