aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/clds/single-microservice-fragment-valid.yaml
diff options
context:
space:
mode:
authorPiotr Darosz <piotr.darosz@nokia.com>2019-03-07 13:04:52 +0100
committerPiotr Darosz <piotr.darosz@nokia.com>2019-03-08 10:11:44 +0100
commitc2ac232af66853dc6bc06f6cf4b03e5319eceb85 (patch)
tree5f5d2316db98c888f6eb4c1116b71564d017c9d6 /src/test/resources/clds/single-microservice-fragment-valid.yaml
parente577b6a44e1dda60fb68543bcdfc627f111b4a97 (diff)
Extract modules names and relations
Extract modules names and relations from DCAE_INVENTORY_BLUEPRINT Change-Id: Ia419b946e15f399d3c4e8c75f836fde6b4b3dbed Issue-ID: CLAMP-283 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Diffstat (limited to 'src/test/resources/clds/single-microservice-fragment-valid.yaml')
-rw-r--r--src/test/resources/clds/single-microservice-fragment-valid.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/test/resources/clds/single-microservice-fragment-valid.yaml b/src/test/resources/clds/single-microservice-fragment-valid.yaml
new file mode 100644
index 00000000..abaae20b
--- /dev/null
+++ b/src/test/resources/clds/single-microservice-fragment-valid.yaml
@@ -0,0 +1,23 @@
+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
+ 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 \ No newline at end of file