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=========================================================
18 #description: Collector for receiving VES events through restful interface
19 #blueprint_version: 1.5.0
21 tosca_definitions_version: cloudify_dsl_1_3
22 description: Collector for receiving VES events through restful interface
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.1/k8splugin_types.yaml
26 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.ccsdk.platform.plugins/type_files/dmaap/dmaap.yaml
28 collector.dmaap.streamid:
30 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"
31 dcae-ves-collector_cpu_limit:
34 dcae-ves-collector_cpu_request:
37 dcae-ves-collector_memory_limit:
40 dcae-ves-collector_memory_request:
53 default: "sample1,$2a$10$pgjaxDzSuc6XVFEeqvxQ5u90DKJnM/u7TJTcinAlFJVaavXMWf/Zi|userid1,$2a$10$61gNubgJJl9lh3nvQvY9X.x4e5ETWJJ7ao7ZhJEvmfJigov26Z6uq|userid2,$2a$10$G52y/3uhuhWAMy.bx9Se8uzWinmbJa.dlm1LW6bYPdPkkywLDPLiy"
56 description: number of instances
58 service_component_name_override:
63 default: "nexus.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:latest"
76 ves-fault_topic0_aaf_password:
78 ves-fault_topic0_aaf_username:
80 ves-fault_topic0_client_role:
82 ves-fault_topic0_location:
84 ves-heartbeat-secondary_topic3_aaf_password:
86 ves-heartbeat-secondary_topic3_aaf_username:
88 ves-heartbeat-secondary_topic3_client_role:
90 ves-heartbeat-secondary_topic3_location:
92 ves-measurement_topic1_aaf_password:
94 ves-measurement_topic1_aaf_username:
96 ves-measurement_topic1_client_role:
98 ves-measurement_topic1_location:
100 ves-notification_topic5_aaf_password:
102 ves-notification_topic5_aaf_username:
104 ves-notification_topic5_client_role:
106 ves-notification_topic5_location:
108 ves-other_topic2_aaf_password:
110 ves-other_topic2_aaf_username:
112 ves-other_topic2_client_role:
114 ves-other_topic2_location:
116 ves-pnfRegistration_topic4_aaf_password:
118 ves-pnfRegistration_topic4_aaf_username:
120 ves-pnfRegistration_topic4_client_role:
122 ves-pnfRegistration_topic4_location:
126 type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
128 cloudify.interfaces.lifecycle:
132 - concat: ["8080:", {get_input: external_port_0}]
133 - concat: ["8443:", {get_input: external_port_1}]
141 dmaap_info: <<topic0>>
144 get_input: ves-fault_topic0_aaf_password
146 get_input: ves-fault_topic0_aaf_username
147 ves-heartbeat-secondary:
148 dmaap_info: <<topic3>>
151 get_input: ves-heartbeat-secondary_topic3_aaf_password
153 get_input: ves-heartbeat-secondary_topic3_aaf_username
155 dmaap_info: <<topic1>>
158 get_input: ves-measurement_topic1_aaf_password
160 get_input: ves-measurement_topic1_aaf_username
162 dmaap_info: <<topic5>>
165 get_input: ves-notification_topic5_aaf_password
167 get_input: ves-notification_topic5_aaf_username
169 dmaap_info: <<topic2>>
172 get_input: ves-other_topic2_aaf_password
174 get_input: ves-other_topic2_aaf_username
176 dmaap_info: <<topic4>>
179 get_input: ves-pnfRegistration_topic4_aaf_password
181 get_input: ves-pnfRegistration_topic4_aaf_username
182 streams_subscribes: {}
184 collector.dmaap.streamid:
185 get_input: collector.dmaap.streamid
186 collector.keystore.file.location: /opt/app/dcae-certificate/keystore.jks
187 collector.keystore.passwordfile: /opt/app/dcae-certificate/.password
188 collector.schema.checkflag: 1
189 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"}
190 collector.service.port: 8080
191 collector.service.secure.port: 8443
192 collector.truststore.file.location: /opt/app/dcae-certificate/truststore.jks
193 collector.truststore.passwordfile: /opt/app/dcae-certificate/.trustpassword
194 event.transform.flag: 1
196 get_input: header.authlist
197 service_component_name_override:
198 get_input: service_component_name_override
199 tomcat.maxthreads: 200
205 endpoint: /healthcheck
208 bind: /opt/app/dcae-certificate
210 path: /opt/app/dcae-certificate
212 bind: /opt/app/VESCollector/logs
214 path: /opt/logs/DCAE/VESCollector/logs
216 bind: /opt/app/VESCollector/etc
218 path: /opt/logs/DCAE/VESCollector/etc
220 get_input: tag_version
221 service_component_type: dcae-ves-collector
227 get_input: ves-fault_topic0_location
229 get_input: ves-fault_topic0_client_role
233 get_input: ves-measurement_topic1_location
235 get_input: ves-measurement_topic1_client_role
239 get_input: ves-other_topic2_location
241 get_input: ves-other_topic2_client_role
245 get_input: ves-heartbeat-secondary_topic3_location
247 get_input: ves-heartbeat-secondary_topic3_client_role
251 get_input: ves-pnfRegistration_topic4_location
253 get_input: ves-pnfRegistration_topic4_client_role
257 get_input: ves-notification_topic5_location
259 get_input: ves-notification_topic5_client_role
264 get_input: dcae-ves-collector_cpu_limit
266 get_input: dcae-ves-collector_memory_limit
269 get_input: dcae-ves-collector_cpu_request
271 get_input: dcae-ves-collector_memory_request
273 - type: ccsdk.relationships.publish_events
275 - type: ccsdk.relationships.publish_events
277 - type: ccsdk.relationships.publish_events
279 - type: ccsdk.relationships.publish_events
281 - type: ccsdk.relationships.publish_events
283 - type: ccsdk.relationships.publish_events
286 type: ccsdk.nodes.Topic
289 get_input: topic0_name
291 type: ccsdk.nodes.Topic
294 get_input: topic1_name
296 type: ccsdk.nodes.Topic
299 get_input: topic2_name
301 type: ccsdk.nodes.Topic
304 get_input: topic3_name
306 type: ccsdk.nodes.Topic
309 get_input: topic4_name
311 type: ccsdk.nodes.Topic
314 get_input: topic5_name