Ignore null configured properties
@@ -159,6 +159,7 @@ public class DefaultIntegrationToProjectConverter implements IntegrationToProjec
private Map<String, String> readConfiguredProperties(String... configuredProperties) throws IOException {
Map<String, String> configuredProps = new HashMap<>();
for (String props : configuredProperties) {
+ if (props != null && !props.isEmpty()) {
JsonNode properties = OBJECT_MAPPER.readTree(props);
for (Iterator<Map.Entry<String, JsonNode>> it = properties.fields(); it.hasNext(); ) {
Map.Entry<String, JsonNode> jsonProp = it.next();
@@ -173,6 +174,7 @@ public class DefaultIntegrationToProjectConverter implements IntegrationToProjec
}
}
}
+ }
return configuredProps;
}
