diff options
author | 2019-09-03 13:45:28 +0000 | |
---|---|---|
committer | 2019-09-03 15:39:43 +0000 | |
commit | 7de4f3e788ff2b71936ae43be7dfbdf48740f9be (patch) | |
tree | a7419656377e146ec1095d6eaf82dbbffd717b41 /openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/transformation/pnfParseEngine/pnfWithGetInput/transformationDescriptor/moreThanOneTransformationWithSameBlockQuery.yaml | |
parent | ccc1f364baea63733e93c6f4eb26ea97eeb77960 (diff) |
Implement PNFD Model driven conversion
Change-Id: I7427e82353cac17817457294d78953f867d2d6e8
Issue-ID: SDC-2509
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/transformation/pnfParseEngine/pnfWithGetInput/transformationDescriptor/moreThanOneTransformationWithSameBlockQuery.yaml')
1 files changed, 37 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/transformation/pnfParseEngine/pnfWithGetInput/transformationDescriptor/moreThanOneTransformationWithSameBlockQuery.yaml b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/transformation/pnfParseEngine/pnfWithGetInput/transformationDescriptor/moreThanOneTransformationWithSameBlockQuery.yaml new file mode 100644 index 0000000000..aa05627da2 --- /dev/null +++ b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/transformation/pnfParseEngine/pnfWithGetInput/transformationDescriptor/moreThanOneTransformationWithSameBlockQuery.yaml @@ -0,0 +1,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
\ No newline at end of file |