ActivitySpec - Correcting logger messages
[sdc.git] / common / onap-sdc-artifact-generator-lib / onap-sdc-artifact-generator-core / src / test / resources / testErrorWhenAllottedResourceWithOutDependingServiceId / resource-ServiceAdmin-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: 0df08d3e-9701-4f5a-b3ed-82a0b504b366
9   UUID: a9c6246c-0807-4a43-a64c-442a170c2088
10   name: service_admin
11   description: service_admin
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: f61f785d-2c82-4d6d-9184-8cbdf2df4da0
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         providing_service_name: HNPortalaaS
54   substitution_mappings:
55     node_type: org.openecomp.resource.vf.ServiceAdmin
56     capabilities:
57       Alloted resource 1.feature:
58         type: tosca.capabilities.Node
59         occurrences:
60         - 1
61         - UNBOUNDED
62     requirements:
63       Alloted resource 1.dependency:
64         occurrences:
65         - 0
66         - UNBOUNDED
67         capability: tosca.capabilities.Node
68         node: tosca.nodes.Root
69         relationship: tosca.relationships.DependsOn
70       Alloted resource 1.service_dependency:
71         occurrences:
72         - 1
73         - 1
74         capability: org.openecomp.capabilities.AllottedResource
75         node: tosca.services.Root
76         relationship: tosca.relationships.DependsOn
77 #_______________________________________________________________________________________________________________________________________
78  #|                                                                         AT&T Proprietary (Restricted)                                                                                |
79  #|                                     Only for use by authorized individuals or any above-designated team(s)                            |
80  #|                                          within the AT&T companies and not for general distribution                                                          |
81  #|_______________________________________________________________________________________________________________________________________|