aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/validation.files/definition/invalidDefinitionFile.yaml
blob: 6a2df5ec700397abe3f32e52535ffdd03a40b31b (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
tosca_definitions_version: tosca_simple_profile_yaml_1_1
description: Sample yaml definition file for validation purpose

node_types:
  MyCompany.MyVnf.1_0.1_0:  # node type of MyVnf
        derived_from: tosca.nodes.nfv.VNF # this line has invalid tabbing
    properties:
      descriptor_id:
        type: string
        constraints: [ valid_values: [ b1bb0ce7-ebca-4fa7-95ed-4840d70a1177 ] ]
        default: b1bb0ce7-ebca-4fa7-95ed-4840d70a1177
      provider:
        type: string
        constraints: [ valid_values: [ MyCompany ] ]
        default: MyCompany
      product_name:
        type: string
        constraints: [ valid_values: [ MyVnf ] ]
        default: Myvnf
      software_version:
        type: string
        constraints: [ valid_values: [ '1.0' ] ]
        default: '1.0'
      descriptor_version:
        type: string
        constraints: [ valid_values: [ '1.0' ] ]
        default: '1.0'
      flavour_id:
        type: string
        constraints: [ valid_values: [ simple ] ]  #only one and only allowed one DF in this example
        default: simple
      flavour_description:
        type: string
      vnfm_info:
        type: list
      interfaces:
        Nfv:
          instantiate:
            inputs:
              parameter_1:
                type: string
                required: false
                default: value_1
              parameter_2:
                type: string
                required: false
                default: value_2
          terminate:
            implementation: terminate.workbook.mistral.yaml