1 # ============LICENSE_START=======================================================
3 # ================================================================================
4 # Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
20 #description: Collector for receiving VES events through restful interface
21 #blueprint_version: 1.5.0
23 tosca_definitions_version: cloudify_dsl_1_3
25 - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
26 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/k8splugin/1.7.1/k8splugin_types.yaml
30 description: Set to true if the image should always be pulled
32 collector.dmaap.streamid:
34 default: "fault=ves-fault,ves-fault-secondary|syslog=ves-syslog,ves-syslog-secondary|heartbeat=ves-heartbeat,ves-heartbeat-secondary|measurementsForVfScaling=ves-measurement,ves-measurement-secondary|mobileFlow=ves-mobileflow,ves-mobileflow-secondary|other=ves-other,ves-other-secondary|stateChange=ves-statechange,ves-statechange-secondary|thresholdCrossingAlert=ves-thresholdCrossingAlert,ves-thresholdCrossingAlert-secondary|voiceQuality=ves-voicequality,ves-voicequality-secondary|sipSignaling=ves-sipsignaling,ves-sipsignaling-secondary|notification=ves-notification,ves-notification-secondary|pnfRegistration=ves-pnfRegistration,ves-pnfRegistration-secondary"
35 dcae-ves-collector_cpu_limit:
38 dcae-ves-collector_cpu_request:
41 dcae-ves-collector_memory_limit:
44 dcae-ves-collector_memory_request:
57 default: "sample1,$2a$10$pgjaxDzSuc6XVFEeqvxQ5u90DKJnM/u7TJTcinAlFJVaavXMWf/Zi|userid1,$2a$10$61gNubgJJl9lh3nvQvY9X.x4e5ETWJJ7ao7ZhJEvmfJigov26Z6uq|userid2,$2a$10$G52y/3uhuhWAMy.bx9Se8uzWinmbJa.dlm1LW6bYPdPkkywLDPLiy"
60 default: "nexus.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:latest"
66 description: number of instances
68 service_component_name_override:
71 ves_fault_publish_url:
73 ves_heartbeat_secondary_publish_url:
75 ves_measurement_publish_url:
77 ves_notification_publish_url:
79 ves_other_publish_url:
81 ves_pnfRegistration_publish_url:
85 type: dcae.nodes.ContainerizedPlatformComponent
87 cloudify.interfaces.lifecycle:
91 - concat: ["8080:", {get_input: external_port_0}]
92 - concat: ["8443:", {get_input: external_port_1}]
102 get_input: ves_fault_publish_url
104 ves-heartbeat-secondary:
107 get_input: ves_heartbeat_secondary_publish_url
112 get_input: ves_measurement_publish_url
117 get_input: ves_notification_publish_url
122 get_input: ves_other_publish_url
127 get_input: ves_pnfRegistration_publish_url
129 streams_subscribes: {}
131 collector.dmaap.streamid:
132 get_input: collector.dmaap.streamid
133 collector.keystore.file.location: /opt/app/dcae-certificate/keystore.jks
134 collector.keystore.passwordfile: /opt/app/dcae-certificate/.password
135 collector.schema.checkflag: 1
136 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.json"}
137 collector.service.port: 8080
138 collector.service.secure.port: 8443
139 collector.truststore.file.location: /opt/app/dcae-certificate/truststore.jks
140 collector.truststore.passwordfile: /opt/app/dcae-certificate/.trustpassword
141 event.transform.flag: 1
143 get_input: header.authlist
144 service_component_name_override:
145 get_input: service_component_name_override
146 tomcat.maxthreads: 200
152 endpoint: /healthcheck
155 bind: /opt/app/dcae-certificate
157 path: /opt/app/dcae-certificate
159 bind: /opt/app/VESCollector/logs
161 path: /opt/logs/DCAE/VESCollector/logs
163 bind: /opt/app/VESCollector/etc
165 path: /opt/logs/DCAE/VESCollector/etc
169 get_input: location_id
170 dns_name: dcae-ves-collector
173 name: dcae-ves-collector
177 get_input: dcae-ves-collector_cpu_limit
179 get_input: dcae-ves-collector_memory_limit
182 get_input: dcae-ves-collector_cpu_request
184 get_input: dcae-ves-collector_memory_request
186 get_input: always_pull_image