Skip to content

Commit cb58f05

Browse files
committed
switch to computation lib
Signed-off-by: Thang PHAM <[email protected]>
1 parent 914c333 commit cb58f05

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

pom.xml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@
4343

4444
<properties>
4545
<gridsuite-dependencies.version>42.0.0</gridsuite-dependencies.version>
46+
<!-- FIXME to remove at next upgrade of gridsuite-dependencies -->
47+
<gridsuite-computation.version>1.0.0</gridsuite-computation.version>
48+
<!-- FIXME to remove at next upgrade of powsybl-ws-dependencies -->
49+
<powsybl-ws-commons.version>1.28.0</powsybl-ws-commons.version>
50+
4651
<jib.from.image>powsybl/java-dynawo:3.0.0</jib.from.image>
4752
<liquibase-hibernate-package>org.gridsuite.dynamicmargincalculation.server</liquibase-hibernate-package>
4853
<sonar.organization>gridsuite</sonar.organization>
@@ -86,21 +91,7 @@
8691
<dependencyManagement>
8792
<dependencies>
8893
<!-- overrides of imports -->
89-
<dependency>
90-
<groupId>com.powsybl</groupId>
91-
<artifactId>powsybl-computation-local</artifactId>
92-
<version>6.8.0</version>
93-
</dependency>
94-
<dependency>
95-
<groupId>com.powsybl</groupId>
96-
<artifactId>powsybl-computation</artifactId>
97-
<version>6.8.0</version>
98-
</dependency>
99-
<dependency>
100-
<groupId>com.powsybl</groupId>
101-
<artifactId>powsybl-iidm-api</artifactId>
102-
<version>6.8.0</version>
103-
</dependency>
94+
10495
<!-- imports -->
10596
<dependency>
10697
<groupId>org.gridsuite</groupId>
@@ -116,6 +107,11 @@
116107

117108
<dependencies>
118109
<!-- Compilation dependencies -->
110+
<dependency>
111+
<groupId>org.gridsuite</groupId>
112+
<artifactId>gridsuite-computation</artifactId>
113+
<version>${gridsuite-computation.version}</version>
114+
</dependency>
119115
<dependency>
120116
<groupId>org.springframework.boot</groupId>
121117
<artifactId>spring-boot-starter-web</artifactId>
@@ -144,6 +140,7 @@
144140
<dependency>
145141
<groupId>com.powsybl</groupId>
146142
<artifactId>powsybl-ws-commons</artifactId>
143+
<version>${powsybl-ws-commons.version}</version>
147144
</dependency>
148145
<dependency>
149146
<groupId>com.powsybl</groupId>
@@ -152,7 +149,6 @@
152149
<dependency>
153150
<groupId>com.powsybl</groupId>
154151
<artifactId>powsybl-dynawo-margin-calculation</artifactId>
155-
<version>2.9.0</version>
156152
</dependency>
157153

158154
<!-- runtime dependencies -->

src/main/java/org/gridsuite/dynamicmargincalculation/server/service/DynamicMarginCalculationResultService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
package org.gridsuite.dynamicmargincalculation.server.service;
99

10-
import com.powsybl.ws.commons.computation.service.AbstractComputationResultService;
1110
import jakarta.transaction.Transactional;
11+
import org.gridsuite.computation.service.AbstractComputationResultService;
1212
import org.gridsuite.dynamicmargincalculation.server.DynamicMarginCalculationException;
1313
import org.gridsuite.dynamicmargincalculation.server.dto.DynamicMarginCalculationStatus;
1414
import org.gridsuite.dynamicmargincalculation.server.entities.DynamicMarginCalculationResultEntity;

0 commit comments

Comments
 (0)