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 - 'http://www.getcloudify.org/spec/cloudify/3.4/types.yaml'
24 - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/k8splugin/1.4.13/k8splugin_types.yaml
29 default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.1.0-SNAPSHOT'
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'
50 default: 'HV_VES_PERF3GPP'
54 server_idle_timeout_sec:
57 cbs_request_interval_sec:
63 security_keys_key_store_file:
65 default: '/etc/ves-hv/ssl/cert.jks'
66 security_keys_key_store_password_file:
68 default: '/etc/ves-hv/ssl/jks.pass'
69 security_keys_trust_store_file:
71 default: '/etc/ves-hv/ssl/trust.jks'
72 security_keys_trust_store_password_file:
74 default: '/etc/ves-hv/ssl/trust.pass'
78 cloudify.interfaces.lifecycle:
82 JAVA_OPTS: { concat: [ '-Dlogback.configurationFile=/etc/ONAP/', { get_input: hv_ves_name }, '/logback.xml' ] }
85 logLevel: { get_input: log_level }
86 server.idleTimeoutSec: { get_input: server_idle_timeout_sec }
87 server.listenPort: { get_input: container_port }
88 cbs.requestIntervalSec: { get_input: cbs_request_interval_sec}
89 security.sslDisable: { get_input: security_ssl_disable }
90 security.keys.keyStoreFile: { get_input: security_keys_trust_store_file }
91 security.keys.keyStorePasswordFile: { get_input: security_keys_key_store_password_file }
92 security.keys.trustStoreFile: { get_input: security_keys_trust_store_file }
93 security.keys.trustStorePasswordFile: { get_input: security_keys_trust_store_password_file }
98 bootstrap_servers: { get_input: kafka_bootstrap_servers }
99 topic_name: { get_input: perf3gpp_kafka_topic }
103 script: "/opt/ves-hv-collector/healthcheck.sh"
106 image: { get_input: tag_version }
107 replicas: { get_input: replicas }
108 name: { get_input: hv_ves_name }
109 dns_name: { get_input: hv_ves_name }
110 container_port: { get_input: container_port }
111 host_port: { get_input: host_port }
113 log_directory: { concat: [ '/var/log/ONAP/', { get_input: hv_ves_name } ] }
115 cert_directory: '/etc/ves-hv/ssl/'
117 type: dcae.nodes.ContainerizedPlatformComponent