aboutsummaryrefslogtreecommitdiffstats
path: root/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-ServiceAdmin-template_WithOutDepSerId.yml
diff options
context:
space:
mode:
Diffstat (limited to 'common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-ServiceAdmin-template_WithOutDepSerId.yml')
-rw-r--r--common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-ServiceAdmin-template_WithOutDepSerId.yml81
1 files changed, 81 insertions, 0 deletions
diff --git a/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-ServiceAdmin-template_WithOutDepSerId.yml b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-ServiceAdmin-template_WithOutDepSerId.yml
new file mode 100644
index 0000000000..c8a641d1ac
--- /dev/null
+++ b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-ServiceAdmin-template_WithOutDepSerId.yml
@@ -0,0 +1,81 @@
+#_______________________________________________________________________________________________________________________________________
+ #| AT&T Proprietary (Restricted) |
+ #| Only for use by authorized individuals or any above-designated team(s) |
+ #| within the AT&T companies and not for general distribution |
+ #|_______________________________________________________________________________________________________________________________________|
+tosca_definitions_version: tosca_simple_yaml_1_0
+metadata:
+ invariantUUID: 0df08d3e-9701-4f5a-b3ed-82a0b504b366
+ UUID: a9c6246c-0807-4a43-a64c-442a170c2088
+ name: service_admin
+ description: service_admin
+ type: VF
+ category: Allotted Resource
+ subcategory: Allotted Resource
+ resourceVendor: '1'
+ resourceVendorRelease: '1'
+imports:
+- Allotedresource:
+ file: resource-Allotedresource-template.yml
+topology_template:
+ inputs:
+ role:
+ type: string
+ ecomp_naming:
+ type: string
+ max_instances:
+ type: string
+ min_instances:
+ type: string
+ ecomp_homing:
+ type: string
+ node_templates:
+ Alloted resource 1:
+ type: org.openecomp.resource.vfc.AllottedResource
+ metadata:
+ invariantUUID: bc0bebc1-6dc1-4637-883e-aed77bffd63c
+ UUID: 7763d3a3-048f-4e5b-96c5-e7818dbc066a
+ customizationUUID: f61f785d-2c82-4d6d-9184-8cbdf2df4da0
+ version: '1.0'
+ name: Allotedresource
+ description: Allotedresource
+ type: VFC
+ category: Allotted Resource
+ subcategory: Allotted Resource
+ properties:
+ ecomp_naming:
+ naming_policy:
+ get input: ecomp_naming
+ providing_service_invariant_uuid:
+ min_instances: 1
+ max_instances: 1
+ providing_service_uuid:
+ providing_service_name: HNPortalaaS
+ substitution_mappings:
+ node_type: org.openecomp.resource.vf.ServiceAdmin
+ capabilities:
+ Alloted resource 1.feature:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ requirements:
+ Alloted resource 1.dependency:
+ occurrences:
+ - 0
+ - UNBOUNDED
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ Alloted resource 1.service_dependency:
+ occurrences:
+ - 1
+ - 1
+ capability: org.openecomp.capabilities.AllottedResource
+ node: tosca.services.Root
+ relationship: tosca.relationships.DependsOn
+#_______________________________________________________________________________________________________________________________________
+ #| AT&T Proprietary (Restricted) |
+ #| Only for use by authorized individuals or any above-designated team(s) |
+ #| within the AT&T companies and not for general distribution |
+ #|_______________________________________________________________________________________________________________________________________|