Support functions in TOSCA Simple Profile in YAML
[sdc.git] / openecomp-be / lib / openecomp-sdc-vendor-software-product-lib / openecomp-sdc-vendor-software-product-core / src / main / java / org / openecomp / sdc / vendorsoftwareproduct / services / impl / composition / CompositionDataExtractorImpl.java
index aded0df..00781c1 100644 (file)
@@ -427,7 +427,7 @@ public class CompositionDataExtractorImpl implements CompositionDataExtractor {
       return Optional.of((Boolean) dhcp);
     } else if (dhcp instanceof Map) {
       String inputParameterName =
-          (String) ((Map) dhcp).get(ToscaFunctions.GET_INPUT.getDisplayName());
+          (String) ((Map) dhcp).get(ToscaFunctions.GET_INPUT.getFunctionName());
       if (inputParameterName != null) {
         ParameterDefinition inputParameterDefinition =
             serviceTemplate.getTopology_template().getInputs().get(inputParameterName);