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.3.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'
84 cloudify.interfaces.lifecycle:
88 JAVA_OPTS: { concat: [ '-Dlogback.configurationFile=/etc/ONAP/', { get_input: hv_ves_name }, '/logback.xml' ] }
91 logLevel: { get_input: log_level }
92 server.idleTimeoutSec: { get_input: server_idle_timeout_sec }
93 server.listenPort: { get_input: container_port }
94 cbs.requestIntervalSec: { get_input: cbs_request_interval_sec}
95 security.sslDisable: { get_input: security_ssl_disable }
96 security.keys.keyStoreFile: { get_input: security_keys_key_store_file }
97 security.keys.keyStorePasswordFile: { get_input: security_keys_key_store_password_file }
98 security.keys.trustStoreFile: { get_input: security_keys_trust_store_file }
99 security.keys.trustStorePasswordFile: { get_input: security_keys_trust_store_password_file }
104 username: { get_input: kafka_username }
105 password: { get_input: kafka_password }
107 bootstrap_servers: { get_input: kafka_bootstrap_servers }
108 topic_name: { get_input: perf3gpp_kafka_topic }
112 script: "/opt/ves-hv-collector/healthcheck.sh"
115 image: { get_input: tag_version }
116 replicas: { get_input: replicas }
117 name: { get_input: hv_ves_name }
118 dns_name: { get_input: hv_ves_name }
119 container_port: { get_input: container_port }
120 host_port: { get_input: host_port }
122 log_directory: { concat: [ '/var/log/ONAP/', { get_input: hv_ves_name } ] }
124 cert_directory: '/etc/ves-hv/ssl'
126 type: dcae.nodes.ContainerizedPlatformComponent