Merge branch 'develop' of 10.10.31.70:/ervu-eks into develop

This commit is contained in:
Maksim Tereshin 2024-12-18 21:00:26 +01:00
commit b523d465ed
No known key found for this signature in database

View file

@ -66,7 +66,13 @@ public class ConfigExecutorService {
public String call(String methodPath, ConfigExecuteRequest configExecuteRequest) {
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_JSON);
HttpEntity<ConfigExecuteRequest> entity = new HttpEntity<>(configExecuteRequest, headers);
HttpEntity<?> entity;
if (configExecuteRequest.getStartDate() == null && configExecuteRequest.getStartDate() == null) {
entity = new HttpEntity<>(configExecuteRequest.getIds(), headers);
}
else {
entity = new HttpEntity<>(configExecuteRequest, headers);
}
LOGGER.info("Starts call config executor service with method: {}, for request: {}", methodPath,
configExecuteRequest
);