aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/transformation/pnfParseEngine/pnfWithGetInput/transformationDescriptor/moreThanOneTransformationWithSameBlockQuery.yaml
blob: aa05627da23d5eb31e228ceccc99da5de30d6e96 (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
#just one of the transformations will be considered
- transformation-for: nodeTemplate #same time
  name: PnfExtCp transformation
  description: converts any node template that has a type tosca.nodes.nfv.PnfExtCp
  query: #same block query
    type: tosca.nodes.nfv.PnfExtCp
  conversions:
    - query:
        properties:
          trunk_mode:
      to-name: trunk_mode_copy
      to-value:
        strategy: copy
- transformation-for: nodeTemplate #same time
  name: PnfExtCp transformation
  description: converts any node template that has a type tosca.nodes.nfv.PnfExtCp
  query: #same block query
    type: tosca.nodes.nfv.PnfExtCp
  conversions:
    - query:
        properties:
          role:
      to-name: role
      to-value:
        strategy: copy
- transformation-for: nodeTemplate #same time
  name: PnfExtCp transformation
  description: converts any node template that has a type tosca.nodes.nfv.PnfExtCp
  query: #same block query
    type: tosca.nodes.nfv.PnfExtCp
  conversions:
    - query:
        properties:
          trunk_mode:
      to-name: trunk_mode_copy1
      to-value:
        strategy: copy