Remove bad url
[clamp.git] / src / test / resources / clds / holmes-old-style-ms.yaml
1 tosca_definitions_version: cloudify_dsl_1_3
2 imports:
3   - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml
4   - https://nexus01:8443/repository/solutioning01-mte2-raw/type_files/docker/2.3.0+t.0.4/node-type.yaml
5   - https://nexus01:8443/repository/solutioning01-mte2-raw/type_files/relationship/1.0.0/node-type.yaml
6   - http://nexus01:8081/repository/solutioning01-mte2-raw/type_files/dmaap/1.2.0/dmaap.yaml
7 inputs:
8   dcae_service_location:
9     type: string
10   docker_host_override:
11     type: string
12   topic0_aaf_password:
13     type: string
14   topic0_aaf_username:
15     type: string
16   topic0_client_role:
17     type: string
18   topic1_aaf_password:
19     type: string
20   topic1_aaf_username:
21     type: string
22   topic1_client_role:
23     type: string
24   location_id:
25     type: string
26   service_id:
27     type: string
28   policy_id:
29     type: string
30     default: "CLAMPPolicyTriggerNoaapp_v1_0_29b0578b_dcee_472c_8cdd0.ClosedLoop_860ee9f2_ba64_11e8_a16b_02bd571477fe_TCA_1d13unw"
31 node_templates:
32   policy_0:
33     type: dcae.nodes.policy
34     properties:
35       policy_model: policy.nodes.holmes
36       policy_filter: "DCAE.Config_Holmes.*"
37       policy_id:
38         get_input: policy_id
39   docker_host_host:
40     type: dcae.nodes.SelectedDockerHost
41     properties:
42       docker_host_override:
43         get_input: docker_host_override
44       location_id:
45         get_input: dcae_service_location
46   holmes_rule_homes-rule:
47     type: dcae.nodes.DockerContainerForComponentsUsingDmaap
48     properties:
49       application_config:
50         services_calls:
51           - msb_config:
52               concat:
53                 - '{{'
54                 - get_property:
55                     - SELF
56                     - msb_config
57                     - node_name
58                 - '}}'
59         streams_publishes: []
60         streams_subscribes:
61           - sec_measurement_unsecure:
62               aaf_password:
63                 get_input: topic0_aaf_password
64               aaf_username:
65                 get_input: topic0_aaf_username
66               dmaap_info: <<topic0>>
67               type: message_router
68           - sec_measurement:
69               aaf_password:
70                 get_input: topic1_aaf_password
71               aaf_username:
72                 get_input: topic1_aaf_username
73               dmaap_info: <<topic1>>
74               type: message_router
75       docker_config:
76         healthcheck:
77           endpoint: api/holmes-rule-mgmt/v1/healthcheck
78           interval: 15s
79           timeout: 1s
80           type: http
81         ports:
82           - 9101:9101
83       image: nexus3.onap.org:10001/onap/holmes/rule-manamgement:latest
84       location_id:
85         get_input: dcae_service_location
86       service_component_type: dcae-analytics-holmes-rule-manamgement
87       streams_publishes: []
88       streams_subscribes:
89         - client_role:
90             get_input: topic0_client_role
91           location:
92             get_input: dcae_service_location
93           name: topic0
94           type: message_router
95         - client_role:
96             get_input: topic1_client_role
97           location:
98             get_input: dcae_service_location
99           name: topic1
100           type: message_router
101     relationships:
102       - target: docker_host_host
103         type: dcae.relationships.component_contained_in
104       - target: topic0
105         type: dcae.relationships.subscribe_to_events
106       - target: topic1
107         type: dcae.relationships.subscribe_to_events
108       - target: policy_0
109         type: dcae.relationships.depends_on
110   topic0:
111     type: dcae.nodes.Topic
112     properties:
113       topic_name: ''
114   topic1:
115     type: dcae.nodes.Topic
116     properties:
117       topic_name: ''