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=========================================================
19 #description: Hello World mS for subscribing the data from local DMaaP, DR or MR, processing them and publishing them as PM files to local DMaaP DR
20 #blueprint_version: 1.0.1
22 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.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 DCAE-HELLO-WORLD-PUB-DR_delivery_url:
30 DCAE-HELLO-WORLD-PUB-DR_location:
32 DCAE-HELLO-WORLD-PUB-DR_password:
34 DCAE-HELLO-WORLD-PUB-DR_subscriber_id:
36 DCAE-HELLO-WORLD-PUB-DR_username:
38 DCAE-HELLO-WORLD-SUB-DR_delivery_url:
40 DCAE-HELLO-WORLD-SUB-DR_location:
42 DCAE-HELLO-WORLD-SUB-DR_password:
44 DCAE-HELLO-WORLD-SUB-DR_subscriber_id:
46 DCAE-HELLO-WORLD-SUB-DR_username:
48 DCAE_HELLO_WORLD_PUB_MR_publish_url:
50 DCAE_HELLO_WORLD_SUB_MR_subscribe_url:
54 description: Set to true if the image should always be pulled
56 dcae.collectors.vcc.helloworld.pm_cpu_limit:
59 dcae.collectors.vcc.helloworld.pm_cpu_request:
62 dcae.collectors.vcc.helloworld.pm_memory_limit:
65 dcae.collectors.vcc.helloworld.pm_memory_request:
72 dcaes_database_writerfqdn:
74 description: db writerfqdn
80 dti_database_writerfqdn:
82 description: db writerfqdn
88 default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:latest"
94 description: number of instances
100 repo_database_writerfqdn:
102 description: db writerfqdn
104 service_component_name_override:
107 tca_policy_00_policy_id:
109 description: policy_id
111 tca_policy_11_policy_id:
113 description: policy_id
114 default: "tca_policy_id_11"
117 description: flag to indicate tls enable/disable
123 dcae.collectors.vcc.helloworld.pm:
124 type: dcae.nodes.ContainerizedPlatformComponent
126 cloudify.interfaces.lifecycle:
133 get_input: dcaes_database_name
150 get_input: dti_database_name
167 get_input: repo_database_name
187 DCAE-HELLO-WORLD-PUB-DR:
190 get_input: DCAE-HELLO-WORLD-PUB-DR_username
192 get_input: DCAE-HELLO-WORLD-PUB-DR_password
194 get_input: DCAE-HELLO-WORLD-PUB-DR_location
196 get_input: DCAE-HELLO-WORLD-PUB-DR_delivery_url
198 get_input: DCAE-HELLO-WORLD-PUB-DR_subscriber_id
200 DCAE-HELLO-WORLD-PUB-MR:
203 get_input: DCAE_HELLO_WORLD_PUB_MR_publish_url
206 DCAE-HELLO-WORLD-SUB-DR:
209 get_input: DCAE-HELLO-WORLD-SUB-DR_username
211 get_input: DCAE-HELLO-WORLD-SUB-DR_password
213 get_input: DCAE-HELLO-WORLD-SUB-DR_location
215 get_input: DCAE-HELLO-WORLD-SUB-DR_delivery_url
217 get_input: DCAE-HELLO-WORLD-SUB-DR_subscriber_id
219 DCAE-HELLO-WORLD-SUB-MR:
222 get_input: DCAE_HELLO_WORLD_SUB_MR_subscribe_url
224 isSelfServeComponent: false
225 service_component_name_override:
226 get_input: service_component_name_override
229 get_input: vcc_hello_name
234 script: /opt/app/vcc/bin/common/HealthCheck_HelloWorld.sh
238 bind: /opt/app/dcae-certificate
240 path: /opt/app/dcae-certificate
242 bind: /opt/logs/DCAE/dmd/AGENT
244 path: /opt/logs/DCAE/helloworldpm/dmd/AGENT
246 bind: /opt/logs/DCAE/dmd/WATCHER
248 path: /opt/logs/DCAE/helloworldpm/dmd/WATCHER
250 bind: /opt/app/vcc/logs/DCAE
252 path: /opt/logs/DCAE/helloworldpm/vcc-logs
254 bind: /opt/app/vcc/archive/data
256 path: /opt/data/DCAE/helloworldpm/vcc-archive
260 get_input: location_id
262 log_directory: /opt/app/VESCollector/logs/ecomp
263 dns_name: dcae.collectors.vcc.helloworld.pm
266 name: dcae.collectors.vcc.helloworld.pm
268 cert_directory: /opt/app/dh/etc/cert
274 get_input: dcae.collectors.vcc.helloworld.pm_cpu_limit
276 get_input: dcae.collectors.vcc.helloworld.pm_memory_limit
279 get_input: dcae.collectors.vcc.helloworld.pm_cpu_request
281 get_input: dcae.collectors.vcc.helloworld.pm_memory_request
283 get_input: always_pull_image
285 - type: cloudify.relationships.depends_on
286 target: tca_policy_00
287 - type: cloudify.relationships.depends_on
288 target: tca_policy_11
289 - type: cloudify.relationships.depends_on
290 target: dcaes_pgaasdb
291 - type: cloudify.relationships.depends_on
293 - type: cloudify.relationships.depends_on
296 type: dcae.nodes.pgaas.database
299 get_input: dcaes_database_writerfqdn
301 get_input: dcaes_database_name
304 type: dcae.nodes.pgaas.database
307 get_input: dti_database_writerfqdn
309 get_input: dti_database_name
312 type: dcae.nodes.pgaas.database
315 get_input: repo_database_writerfqdn
317 get_input: repo_database_name
320 type: clamp.nodes.policy
323 get_input: tca_policy_00_policy_id
324 policy_model_id: onap.policies.monitoring.cdap.tca.hi.lo.app
326 type: clamp.nodes.policy
329 get_input: tca_policy_11_policy_id
330 policy_model_id: onap.policies.monitoring.cdap.tca.hi.lo.app