cd405e81055946d4c0bc3e915894d74857ed8f4b
[aai/babel.git] / src / test / resources / ymlFiles / resource-Allotedresource-template.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2 metadata:
3   invariantUUID: cf3ccc9c-b6ea-468e-8eef-f45479978fc1
4   UUID: 76ba485f-50a3-480d-895e-5c319191bc11
5   name: Allotedresource
6   description: Allotedresource
7   type: VFC
8   category: Allotted Resource
9   subcategory: Allotted Resource
10   resourceVendor: '123'
11   resourceVendorRelease: '123'
12 imports:
13 - nodes:
14     file: nodes.yml
15 - datatypes:
16     file: data.yml
17 - capabilities:
18     file: capabilities.yml
19 - relationships:
20     file: relationships.yml
21 - groups:
22     file: groups.yml
23 - policies:
24     file: policies.yml
25 node_types:
26   org.openecomp.resource.vfc.AllottedResource1235:
27     derived_from: tosca.nodes.Root
28     description: Allotedresource
29     properties:
30       target_network_role:
31         type: string
32         description: Target network role
33       providing_service_invariant_uuid:
34         type: string
35         description: The depending service invariant uuid in order to map the allotted resource to the specific service version
36       role:
37         type: string
38         description: Unique label that defines the role that this allotted resource performs
39       providing_service_uuid:
40         type: string
41         description: The depending service uuid in order to map the allotted resource to the specific service version
42       ecomp_naming:
43         type: org.openecomp.datatypes.EcompNaming
44       providing_service_name:
45         type: string
46         description: The depending service name in order to map the allotted resource to the specific service version
47       max_instances:
48         type: integer
49         default: 1
50       min_instances:
51         type: integer
52         default: 1
53       ecomp_homing:
54         type: org.openecomp.datatypes.EcompHoming
55     requirements:
56     - service_dependency:
57         occurrences:
58         - 1
59         - 1
60         capability: org.openecomp.capabilities.AllottedResource
61         node: tosca.services.Root
62         relationship: tosca.relationships.DependsOn