Piotr Darosz | c2ac232 | 2019-03-07 13:04:52 +0100 | [diff] [blame] | 1 | second_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 |
xg353y | a6d09fb | 2019-03-28 10:05:25 +0100 | [diff] [blame] | 8 | policy_id: |
sebdet | 4545e77 | 2019-05-09 11:03:53 +0200 | [diff] [blame^] | 9 | policy_model_id: "type1" |
Piotr Darosz | c2ac232 | 2019-03-07 13:04:52 +0100 | [diff] [blame] | 10 | interfaces: |
| 11 | cloudify.interfaces.lifecycle: |
| 12 | start: |
| 13 | inputs: |
| 14 | envs: |
| 15 | grpc_server.host: "first_app.onap" |
| 16 | dmaap_ip: {get_input: dmaap_ip} |
| 17 | dmapp_topic: {get_input: dmaap_topic} |
| 18 | policy_id: {get_input: policy_id} |
| 19 | ports: |
| 20 | - 8080:8080 |
| 21 | relationships: |
| 22 | - type: cloudify.relationships.connected_to |
| 23 | target: first_app |
| 24 | - type: clamp_node.relationships.gets_input_from |
| 25 | target: first_app |