aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/clds/single-microservice-fragment-valid.yaml
blob: 269ee506227c53952ac526e24ecbb3e7227847b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
second_app:
  type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
  properties:
    service_component_type: dcaegen2-analytics-tca
    service_component_name_override: second_app
    image: { get_input: second_app_docker_image }
    name: second_app
    policy_id:
        policy_type_id: type1
  interfaces:
    cloudify.interfaces.lifecycle:
      start:
        inputs:
          envs:
            grpc_server.host: "first_app.onap"
            dmaap_ip: {get_input: dmaap_ip}
            dmapp_topic: {get_input: dmaap_topic}
            policy_id: {get_input: policy_id}
          ports:
            - 8080:8080
  relationships:
    - type: cloudify.relationships.connected_to
      target: first_app
    - type: clamp_node.relationships.gets_input_from
      target: first_app