Skip to content

Commit

Permalink
[New] Support empty value in execution.configUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
blcham committed Nov 25, 2021
1 parent b75c19b commit 93890c5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@ private Model extractConfigurationModel(final MultiValueMap<String, String> para
String cUrl = Optional.ofNullable(configURL)
.orElse(ExecutionConfig.getConfigUrl());

if (cUrl.isEmpty()) {
return ModelFactory.createDefaultModel();
}

return loadModelFromUrl(cUrl);
}

Expand Down

0 comments on commit 93890c5

Please sign in to comment.