Skip to content
Snippets Groups Projects

#1070 Fix Invalid XML Validation

Merged Martin Vogel requested to merge bugfix/1070-invalid-xml-validation into main
5 files
+ 450
17
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -17,11 +17,12 @@ public class EnableIfEnvironmentVariablesAreSetCondition implements ExecutionCon
}
private boolean allVariablesSet() {
final String destinationId = System.getenv("TEST_DESTINATION_ID");
final String destinationIdJsonData = System.getenv("TEST_DESTINATION_ID_JSON_DATA");
final String destinationIdXmlData = System.getenv("TEST_DESTINATION_ID_XML_DATA");
final String senderClientId = System.getenv("SENDER_CLIENT_ID");
final String senderClientSecret = System.getenv("SENDER_CLIENT_SECRET");
final String subscriberClientId = System.getenv("SUBSCRIBER_CLIENT_ID");
final String subscriberClientSecret = System.getenv("SUBSCRIBER_CLIENT_SECRET");
return Stream.of(destinationId, senderClientId, senderClientSecret, subscriberClientId, subscriberClientSecret).allMatch(Strings::isNotNullOrEmpty);
return Stream.of(destinationIdJsonData, destinationIdXmlData, senderClientId, senderClientSecret, subscriberClientId, subscriberClientSecret).allMatch(Strings::isNotNullOrEmpty);
}
}
Loading