Fix Substitution Mapping for inputs created independently
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / tosca / ToscaExportHandler.java
index ab87b5e..9664ccd 100644 (file)
@@ -1866,7 +1866,7 @@ public class ToscaExportHandler {
         if (component == null || CollectionUtils.isEmpty(component.getInputs())) {
             return Collections.emptyMap();
         }
-        return component.getInputs().stream()
+        return component.getInputs().stream().filter(input -> input.isMappedToComponentProperty())
             .map(PropertyDataDefinition::getName)
             .collect(
                 Collectors.toMap(