return Collections.singletonMap("SPRING_APPLICATION_JSON", OBJECT_MAPPER.writeValueAsString(properties));
} catch (JsonProcessingException e) {
throw Exceptions.propagate(e);
}
}
<BUG>private int getMemory(AppDeploymentRequest request) {
return Optional.ofNullable(request.getDeploymentProperties().get(MEMORY_PROPERTY_KEY))
.map(Integer::parseInt)
.orElse(this.deploymentProperties.getMemory());
}</BUG>
private Mono<Application> getOptionalApplication(String name) {

return Collections.singletonMap("SPRING_APPLICATION_JSON", OBJECT_MAPPER.writeValueAsString(properties));
} catch (JsonProcessingException e) {
throw Exceptions.propagate(e);
}
}
private Mono<Application> getOptionalApplication(String name) {
