2e06cf467baab06447799b7a39b419be22217fa5
[sdc.git] / common / openecomp-sdc-artifact-generator-lib / openecomp-sdc-artifact-generator-core / src / test / resources / testErrorWhenAllottedResourceWithOutDependingServiceId / resource-IpMuxDemux-template_WithOutDepSerId.yml
1 #_______________________________________________________________________________________________________________________________________
2  #|                                                                         AT&T Proprietary (Restricted)                                                                                |
3  #|                                     Only for use by authorized individuals or any above-designated team(s)                            |
4  #|                                          within the AT&T companies and not for general distribution                                                          |
5  #|_______________________________________________________________________________________________________________________________________|
6 tosca_definitions_version: tosca_simple_yaml_1_0
7 metadata:
8   invariantUUID: 707b2850-e830-4b00-9902-879f44ac05a4
9   UUID: 495b483b-282a-45df-bbfe-63d1d1d80813
10   name: IP_Mux_Demux
11   description: IP_Mux_Demux
12   type: VF
13   category: Allotted Resource
14   subcategory: Allotted Resource
15   resourceVendor: '1'
16   resourceVendorRelease: '1'
17 imports:
18 - Allotedresource:
19     file: resource-Allotedresource-template.yml
20 topology_template:
21   inputs:
22     role:
23       type: string
24     ecomp_naming:
25       type: string
26     max_instances:
27       type: string
28     min_instances:
29       type: string
30     ecomp_homing:
31       type: string
32   node_templates:
33     Alloted resource 1:
34       type: org.openecomp.resource.vfc.AllottedResource
35       metadata:
36         invariantUUID: bc0bebc1-6dc1-4637-883e-aed77bffd63c
37         UUID: 7763d3a3-048f-4e5b-96c5-e7818dbc066a
38         customizationUUID: 5eac2a36-bcb5-4158-ace4-802b81e87248
39         version: '1.0'
40         name: Allotedresource
41         description: Allotedresource
42         type: VFC
43         category: Allotted Resource
44         subcategory: Allotted Resource
45       properties:
46         ecomp_naming:
47           naming_policy:
48             get input: ecomp_naming
49         providing_service_invariant_uuid:
50         min_instances: 1
51         max_instances: 1
52         providing_service_uuid:
53   substitution_mappings:
54     node_type: org.openecomp.resource.vf.IpMuxDemux
55     capabilities:
56       Alloted resource 1.feature:
57         type: tosca.capabilities.Node
58         occurrences:
59         - 1
60         - UNBOUNDED
61     requirements:
62       Alloted resource 1.dependency:
63         occurrences:
64         - 0
65         - UNBOUNDED
66         capability: tosca.capabilities.Node
67         node: tosca.nodes.Root
68         relationship: tosca.relationships.DependsOn
69       Alloted resource 1.service_dependency:
70         occurrences:
71         - 1
72         - 1
73         capability: org.openecomp.capabilities.AllottedResource
74         node: tosca.services.Root
75         relationship: tosca.relationships.DependsOn
76 #_______________________________________________________________________________________________________________________________________
77  #|                                                                         AT&T Proprietary (Restricted)                                                                                |
78  #|                                     Only for use by authorized individuals or any above-designated team(s)                            |
79  #|                                          within the AT&T companies and not for general distribution                                                          |
80  #|_______________________________________________________________________________________________________________________________________|