Skip to content

Commit

Permalink
upgrade gridsuite dependencies to v35 (#115)
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne LESOT <[email protected]>
  • Loading branch information
EtienneLt authored Nov 12, 2024
1 parent d32bcb0 commit 9a1bb32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</developers>

<properties>
<gridsuite-dependencies.version>33</gridsuite-dependencies.version>
<gridsuite-dependencies.version>35</gridsuite-dependencies.version>
<commons-lang3.version>3.9</commons-lang3.version>
<liquibase-hibernate-package>org.gridsuite.merge.orchestrator.server</liquibase-hibernate-package>
<groovy.version>4.0.21</groovy.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9a1bb32

Please sign in to comment.