.singleOrEmpty();
}
private Mono<Application> getOrDeployApplication(AppDeploymentRequest request) {
return getOptionalApplication(request.getDefinition().getName())
.otherwiseIfEmpty(deployApplication(request));
<BUG>}
private Set<String> getServicesToBind(AppDeploymentRequest request) {
Set<String> services = new HashSet<>();
services.addAll(this.deploymentProperties.getServices());
services.addAll(StringUtils.commaDelimitedListToSet(request.getDeploymentProperties().get(SERVICES_PROPERTY_KEY)));
return services;</BUG>
}

.singleOrEmpty();
}
private Mono<Application> getOrDeployApplication(AppDeploymentRequest request) {
return getOptionalApplication(request.getDefinition().getName())
.otherwiseIfEmpty(deployApplication(request));
}
