1 # -*- indent-tabs-mode: nil -*- # vi: set expandtab:
3 # ============LICENSE_START====================================================
4 # =============================================================================
5 # Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
6 # Copyright (c) 2020 Nokia. All rights reserved.
7 # =============================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
12 # http://www.apache.org/licenses/LICENSE-2.0
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END======================================================
21 tosca_definitions_version: cloudify_dsl_1_3
24 - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
25 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/k8splugin/1.7.2/k8splugin_types.yaml
28 ves_other_publish_url:
30 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_OTHER_OUTPUT"
31 ves_heartbeat_publish_url:
33 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT"
34 ves_fault_publish_url:
36 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_FAULT_OUTPUT"
37 ves_measurement_publish_url:
39 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT"
40 ves_notification_publish_url:
42 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
43 ves_pnfRegistration_publish_url:
45 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_PNFREG_OUTPUT"
48 default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.5.4"
51 description: Kubernetes node port on which collector is exposed
55 description: Kubernetes node port on which collector is exposed
59 description: Kubernetes node port on which collector is exposed
63 description: Kubernetes node port on which collector is exposed
70 default: "dcae-ves-collector"
73 default: "dcae-ves-collector"
79 description: number of instances
83 description: List of user,password separated by pipe; pwd should be generated by using crypt-password tool (https://nexus.onap.org/#nexus-search;quick~crypt-password)
84 default: "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6|demouser,$2a$10$1cc.COcqV/d3iT2N7BjPG.S6ZKv2jpb9a5MV.o7lMih/GpjJRX.Ce"
89 cloudify.interfaces.lifecycle:
93 - concat: [{get_input: internal_port},":",{get_input: external_port}]
94 - concat: [{get_input: internal_port_tls},":",{get_input: external_port_tls}]
97 collector.dmaap.streamid: fault=ves-fault|syslog=ves-syslog|heartbeat=ves-heartbeat|measurementsForVfScaling=ves-measurement|measurement=ves-measurement|mobileFlow=ves-mobileflow|other=ves-other|stateChange=ves-statechange|thresholdCrossingAlert=ves-thresholdCrossingAlert|voiceQuality=ves-voicequality|sipSignaling=ves-sipsignaling|notification=ves-notification|pnfRegistration=ves-pnfRegistration
98 collector.inputQueue.maxPending: "8096"
99 collector.keystore.file.location: /opt/app/dcae-certificate/cert.jks
100 collector.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
101 collector.truststore.file.location: /opt/app/dcae-certificate/trust.jks
102 collector.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
103 collector.schema.checkflag: "1"
104 collector.schema.file: "{\"v1\":\"./etc/CommonEventFormat_27.2.json\",\"v2\":\"./etc/CommonEventFormat_27.2.json\",\"v3\":\"./etc/CommonEventFormat_27.2.json\",\"v4\":\"./etc/CommonEventFormat_27.2.json\",\"v5\":\"./etc/CommonEventFormat_28.4.1.json\",\"v7\":\"./etc/CommonEventFormat_30.1.1.json\"}"
105 collector.service.port: "8080"
106 collector.service.secure.port: "8443"
107 event.transform.flag: "0"
109 get_input: auth_method
117 get_input: ves_fault_publish_url
122 get_input: ves_measurement_publish_url
127 get_input: ves_notification_publish_url
132 get_input: ves_pnfRegistration_publish_url
137 get_input: ves_heartbeat_publish_url
142 get_input: ves_other_publish_url
144 collector.dynamic.config.update.frequency: "5"
147 endpoint: /healthcheck
152 get_input: tag_version
153 replicas: {get_input: replicas}
155 get_input: component_name
157 get_input: dns_component_name
159 log_directory: "/opt/app/VESCollector/logs"
161 cert_directory: '/opt/app/dcae-certificate/'
163 get_input: enable_tls
164 type: dcae.nodes.ContainerizedPlatformComponent