1 # -*- indent-tabs-mode: nil -*- # vi: set expandtab:
3 # ============LICENSE_START====================================================
4 # =============================================================================
5 # Copyright (C) 2018-2019 NOKIA
6 # =============================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END======================================================
20 tosca_definitions_version: cloudify_dsl_1_3
23 - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
24 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/k8splugin/1.7.2/k8splugin_types.yaml
29 default: 'nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.4.0'
32 default: 'dcae-hv-ves-collector'
35 description: number of instances
39 description: Network port that the platform service is expecting to expose on the host
43 description: Network port that the platform service exposes in the container
45 kafka_bootstrap_servers:
47 default: 'message-router-kafka:9092'
53 default: 'admin_secret'
56 default: 'HV_VES_PERF3GPP'
60 server_idle_timeout_sec:
63 cbs_request_interval_sec:
69 security_keys_key_store_file:
71 default: '/etc/ves-hv/ssl/cert.jks'
72 security_keys_key_store_password_file:
74 default: '/etc/ves-hv/ssl/jks.pass'
75 security_keys_trust_store_file:
77 default: '/etc/ves-hv/ssl/trust.jks'
78 security_keys_trust_store_password_file:
80 default: '/etc/ves-hv/ssl/trust.pass'
87 cloudify.interfaces.lifecycle:
91 JAVA_OPTS: { concat: [ '-Dlogback.configurationFile=/etc/ONAP/', { get_input: hv_ves_name }, '/logback.xml' ] }
94 logLevel: { get_input: log_level }
95 server.idleTimeoutSec: { get_input: server_idle_timeout_sec }
96 server.listenPort: { get_input: container_port }
97 cbs.requestIntervalSec: { get_input: cbs_request_interval_sec}
98 security.sslDisable: { get_input: security_ssl_disable }
99 security.keys.keyStoreFile: { get_input: security_keys_key_store_file }
100 security.keys.keyStorePasswordFile: { get_input: security_keys_key_store_password_file }
101 security.keys.trustStoreFile: { get_input: security_keys_trust_store_file }
102 security.keys.trustStorePasswordFile: { get_input: security_keys_trust_store_password_file }
107 username: { get_input: kafka_username }
108 password: { get_input: kafka_password }
110 bootstrap_servers: { get_input: kafka_bootstrap_servers }
111 topic_name: { get_input: perf3gpp_kafka_topic }
115 script: "/opt/ves-hv-collector/healthcheck.sh"
118 image: { get_input: tag_version }
119 replicas: { get_input: replicas }
120 name: { get_input: hv_ves_name }
121 dns_name: { get_input: hv_ves_name }
122 container_port: { get_input: container_port }
123 host_port: { get_input: host_port }
125 log_directory: { concat: [ '/var/log/ONAP/', { get_input: hv_ves_name } ] }
127 cert_directory: '/etc/ves-hv/ssl'
128 use_tls: { get_input: use_tls }
129 type: dcae.nodes.ContainerizedPlatformComponent