aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/transformation/pnfParseEngine/pnfAndExtCpWithInput/transformationDescriptor/copyListAttribute.yaml
blob: 7e6e475c1c1eddfb5e600f1ed4e0ed0959d2a32c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- transformation-for: nodeTemplate
  query:
    type: tosca.nodes.nfv.PnfExtCp
  conversions:
    - query: #attribute query: this attribute does not exists
        type1:
      to-name: type
      to-value:
        strategy: replace
        from: tosca.nodes.nfv.PnfExtCp
        to: org.openecomp.resource.cp.v2.extCP
    - query: #attribute query: this attribute exists
        properties:
          layer_protocols:
      to-name: layer_protocols_copy
      to-value:
        strategy: copy