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