blob: abaae20b354c81b2dc00eed9b8aac3c099e5f9fd [file] [log] [blame]
Piotr Daroszc2ac2322019-03-07 13:04:52 +01001second_app:
2 type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
3 properties:
4 service_component_type: dcaegen2-analytics-tca
5 service_component_name_override: second_app
6 image: { get_input: second_app_docker_image }
7 name: second_app
8 interfaces:
9 cloudify.interfaces.lifecycle:
10 start:
11 inputs:
12 envs:
13 grpc_server.host: "first_app.onap"
14 dmaap_ip: {get_input: dmaap_ip}
15 dmapp_topic: {get_input: dmaap_topic}
16 policy_id: {get_input: policy_id}
17 ports:
18 - 8080:8080
19 relationships:
20 - type: cloudify.relationships.connected_to
21 target: first_app
22 - type: clamp_node.relationships.gets_input_from
23 target: first_app