1 # ================================================================================
2 # Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 # ============LICENSE_END=========================================================
17 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
18 tosca_definitions_version: cloudify_dsl_1_3
21 This handcrafted blueprint will install the ves collector and provision the needed message router topics. This blueprint can be used to verify that a platform installation is operational and working correctly.
24 - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml
25 - https://NEXUS_REPO_HOST:8443/repository/NEXUS_RAW/type_files/docker/2.2.0/node-type.yaml
26 - https://NEXUS_REPO_HOST:8443/repository/NEXUS_RAW/type_files/relationship/1.0.0/node-type.yaml
27 - http://NEXUS_REPO_HOST:8081/repository/NEXUS_RAW/type_files/dmaap/dmaap_mr.yaml
32 description: Unique id used for an instance of this DCAE service. Use deployment id
35 default: 'solutioning-central'
37 default: 'component_dockerhost'
44 default: com.att.dcae.member
51 default: com.att.dcae.member
58 default: com.att.dcae.member
65 default: com.att.dcae.member
70 type: dcae.nodes.Topic
72 topic_name: sec-fault-unsecure
75 type: dcae.nodes.Topic
77 topic_name: sec-measurement
80 type: dcae.nodes.Topic
82 topic_name: sec-measurement-unsecure
85 type: dcae.nodes.Topic
90 type: dcae.nodes.DockerContainerForComponentsUsingDmaap
92 service_component_type:
93 'dcae-controller-ves-collector'
95 { get_input: service_id }
97 { get_input: location_id }
99 collector.keystore.passwordfile: "/opt/app/dcae-certificate/.password"
100 collector.service.secure.port: -1
101 tomcat.maxthreads: '200'
102 collector.keystore.file.location: "/opt/app/dcae-certificate/keystore.jks"
103 auth.method: "noAuth"
104 collector.service.port: 8080
107 aaf_password: { get_input: topic00_aaf_password }
108 dmaap_info: "<<topic00>>"
110 aaf_username: { get_input: topic00_aaf_username }
112 aaf_password: { get_input: topic01_aaf_password }
113 aaf_username: { get_input: topic01_aaf_username }
115 dmaap_info: "<<topic01>>"
116 sec_measurement_unsecure:
117 aaf_password: { get_input: topic02_aaf_password }
118 aaf_username: { get_input: topic02_aaf_username }
119 dmaap_info: "<<topic02>>"
122 aaf_password: { get_input: topic03_aaf_password }
123 aaf_username: { get_input: topic03_aaf_username }
124 dmaap_info: "<<topic03>>"
127 collector.schema.checkflag: 1
128 collector.dmaap.streamid: fault=sec_fault,roadm-sec-to-hp|syslog=sec_syslog|heartbeat=sec_heartbeat|measurementsForVfScaling=sec_measurement|mobileFlow=sec_mobileflow|other=sec_other|stateChange=sec_statechange|thresholdCrossingAlert=sec_thresholdCrossingAlert
129 header.authlist: userid1,base64encodepwd1|userid2,base64encodepwd2
130 streams_subscribes: {}
131 collector.inputQueue.maxPending: 8096
132 collector.schema.file: "./etc/CommonEventFormat_27.2.json"
134 NEXUS_REPO_HOST:18443/dcae-dev-raw/dcae-controller-ves-collector:1.1.3
143 location: { get_input: topic00_location }
144 client_role: { get_input: topic00_client_role }
147 location: { get_input: topic01_location }
148 client_role: { get_input: topic01_client_role }
151 location: { get_input: topic02_location }
152 client_role: { get_input: topic02_client_role }
155 location: { get_input: topic03_location }
156 client_role: { get_input: topic03_client_role }
158 streams_subscribes: []
160 - type: dcae.relationships.component_contained_in
162 - type: dcae.relationships.publish_events
164 - type: dcae.relationships.publish_events
166 - type: dcae.relationships.publish_events
168 - type: dcae.relationships.publish_events
171 cloudify.interfaces.lifecycle:
178 type: dcae.nodes.SelectedDockerHost
181 { get_input: location_id }
182 docker_host_override:
183 { get_input: docker_host_override }