blob: 77d681b03a14d33649401f684e812384a910928c [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 prh_publish_url:
7 type: string
8 default: "http://10.0.11.1:3904/events/unauthenticated.SO_OUTPUT"
vagrantf751bdf2018-03-21 18:08:00 +00009 prh_subscribe_url:
vagrant230d6b62018-03-21 10:16:04 +000010 type: string
11 default: "http://10.0.11.1:3904/events/unauthenticated.SEC_OTHER_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
grabinskc2ef20c2019-05-13 14:25:45 +020020 default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh:1.2.2"
vagrantf751bdf2018-03-21 18:08:00 +000021
22
vagrant230d6b62018-03-21 10:16:04 +000023node_templates:
24 docker_service_host:
25 type: dcae.nodes.SelectedDockerHost
26 properties:
27 docker_host_override:
28 get_input: docker_host_override
29 location_id:
30 get_input: dh_location_id
31 heartbeatService:
32 type: dcae.nodes.DockerContainerForComponentsUsingDmaap
33 properties:
34 application_config:
35 streams_publishes:
36 dcae_cl_out:
37 dmaap_info:
38 topic_url:
39 get_input: prh_publish_url
40 type: message_router
41 streams_subscribes:
42 heartbeat_fault:
43 dmaap_info:
44 topic_url:
45 get_input: prh_subcribe_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-prh
58 relationships:
59 - target: docker_service_host
60 type: dcae.relationships.component_contained_in
61