blob: f9ac53caca025334a4014c934b40f4522b48ed99 [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 interfaces:
8 cloudify.interfaces.lifecycle:
9 start:
10 inputs:
11 envs:
12 grpc_server.host: "first_app.onap"
13 dmaap_ip: {get_input: dmaap_ip}
14 dmapp_topic: {get_input: dmaap_topic}
15 policy_id: {get_input: policy_id}
16 ports:
17 - 8080:8080
18 relationships:
19 - type: cloudify.relationships.connected_to
20 target: first_app
21 - type: clamp_node.relationships.gets_input_from
22 target: first_app