blob: 2654c713da860318d3491352a663b6add7d5beb4 [file] [log] [blame]
vagrant230d6b62018-03-21 10:16:04 +00001tosca_definitions_version: cloudify_dsl_1_3
2imports:
3- "{{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/type_files/dockerplugin/2/dockerplugin_types.yaml"
Hansen, Tony (th1395)68765fc2018-04-27 00:37:31 +00004- "{{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/relationshipplugin/1.0.0/relationshipplugin_types.yaml"
vagrant230d6b62018-03-21 10:16:04 +00005inputs:
6 dcae_CL_publish_url:
7 type: string
8 default: "http://10.0.11.1:3904/events/unauthenticated.DCAE_CL_OUTPUT"
9 ves_heartbeat_url:
10 type: string
11 default: "http://10.0.11.1:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT"
12 docker_host_override:
13 type: string
14 default: "component_dockerhost"
15 dh_location_id:
16 type: string
17 default: "zone1"
vagrantf751bdf2018-03-21 18:08:00 +000018 tag_version:
19 type: string
20 default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.heartbeat:2.0"
21
vagrant230d6b62018-03-21 10:16:04 +000022node_templates:
23 docker_service_host:
24 type: dcae.nodes.SelectedDockerHost
25 properties:
26 docker_host_override:
27 get_input: docker_host_override
28 location_id:
29 get_input: dh_location_id
30 heartbeatService:
31 type: dcae.nodes.DockerContainerForComponentsUsingDmaap
32 properties:
33 application_config:
34 heartbeat_config: '{"vnfs":[{"heartbeatcountmissed":3, "heartbeatinterval": 60, "closedLoopControlName":"ControlLoopEvent1"},{"heartbeatcountmissed":3, "heartbeatinterval": 60, "closedLoopControlName":"ControlLoopEvent1"},{"heartbeatcountmissed":3, "heartbeatinterval": 60, "closedLoopControlName":"ControlLoopEvent1"}]}'
35 streams_publishes:
36 dcae_cl_out:
37 dmaap_info:
38 topic_url:
39 get_input: dcae_CL_publish_url
40 type: message_router
41 streams_subscribes:
42 heartbeat_input:
43 dmaap_info:
44 topic_url:
45 get_input: ves_heartbeat_url
46 type: message_router
47 docker_config:
48 healthcheck:
49 script: /app/bin/check_health.py
50 interval: 18s
51 timeout: 30s
52 type: docker
vagrantf751bdf2018-03-21 18:08:00 +000053 image:
54 get_input: tag_version
vagrant230d6b62018-03-21 10:16:04 +000055 location_id:
56 get_input: dh_location_id
57 service_component_type: dcaegen2-services-heartbeat
58 relationships:
59 - target: docker_service_host
60 type: dcae.relationships.component_contained_in
61