diff --git a/pom.xml b/pom.xml index 5837f92..403a8de 100644 --- a/pom.xml +++ b/pom.xml @@ -42,7 +42,7 @@ - 33 + 35 3.9 org.gridsuite.merge.orchestrator.server 4.0.21 diff --git a/src/main/java/org/gridsuite/merge/orchestrator/server/MergeOrchestratorConfigService.java b/src/main/java/org/gridsuite/merge/orchestrator/server/MergeOrchestratorConfigService.java index c2e5179..b8b3f8b 100644 --- a/src/main/java/org/gridsuite/merge/orchestrator/server/MergeOrchestratorConfigService.java +++ b/src/main/java/org/gridsuite/merge/orchestrator/server/MergeOrchestratorConfigService.java @@ -10,7 +10,6 @@ import com.fasterxml.jackson.databind.ObjectMapper; import com.powsybl.commons.report.ReportNode; import com.powsybl.commons.report.ReportNodeDeserializer; -import com.powsybl.commons.report.ReportNodeImpl; import com.powsybl.commons.report.ReportNodeJsonModule; import com.powsybl.network.store.client.NetworkStoreService; import org.gridsuite.merge.orchestrator.server.dto.BoundaryInfo; @@ -142,7 +141,7 @@ public ReportNode getReport(UUID report) { try { UriComponentsBuilder uriBuilder = UriComponentsBuilder.fromPath("/{reportId}"); String uri = uriBuilder.build().toUriString(); - return reportRestClient.exchange(uri, HttpMethod.GET, null, ReportNodeImpl.class, report.toString()) + return reportRestClient.exchange(uri, HttpMethod.GET, null, ReportNode.class, report.toString()) .getBody(); } catch (HttpClientErrorException e) { throw (e.getStatusCode() == HttpStatus.NOT_FOUND)