diff --git a/network-store-server/src/main/resources/db/changelog/changesets/changelog_20241011T120000Z.xml b/network-store-server/src/main/resources/db/changelog/changesets/changelog_20241011T120000Z.xml new file mode 100644 index 00000000..404ee8fe --- /dev/null +++ b/network-store-server/src/main/resources/db/changelog/changesets/changelog_20241011T120000Z.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + diff --git a/network-store-server/src/main/resources/db/changelog/db.changelog-master.yaml b/network-store-server/src/main/resources/db/changelog/db.changelog-master.yaml index 4fc23831..26a4d78e 100644 --- a/network-store-server/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/network-store-server/src/main/resources/db/changelog/db.changelog-master.yaml @@ -79,3 +79,7 @@ databaseChangeLog: - include: file: changesets/changelog_20240924T110000Z.xml relativeToChangelogFile: true + + - include: + file: changesets/changelog_20241011T120000Z.xml + relativeToChangelogFile: true diff --git a/network-store-server/src/test/java/com/powsybl/network/store/server/NetworkStoreControllerIT.java b/network-store-server/src/test/java/com/powsybl/network/store/server/NetworkStoreControllerIT.java index 1111fa1f..6c409286 100644 --- a/network-store-server/src/test/java/com/powsybl/network/store/server/NetworkStoreControllerIT.java +++ b/network-store-server/src/test/java/com/powsybl/network/store/server/NetworkStoreControllerIT.java @@ -494,12 +494,12 @@ void test() throws Exception { .andExpect(jsonPath("data[0].id").value("idLine")) .andExpect(jsonPath("data[0].attributes.p1").value(100.)) .andExpect(jsonPath("data[0].attributes.properties[\"property1\"]").value("newValue1")) - .andExpect(jsonPath("data[1].id").value("idLine2")) - .andExpect(jsonPath("data[1].attributes.p1").value(30.)) - .andExpect(jsonPath("data[1].attributes.properties[\"property12\"]").value("value12")) - .andExpect(jsonPath("data[2].id").value("idLineWithoutFirstPosition")) - .andExpect(jsonPath("data[2].attributes.p1").value(0.)) - .andExpect(jsonPath("data[2].attributes.properties[\"property1\"]").value("value1")); + .andExpect(jsonPath("data[1].id").value("idLineWithoutFirstPosition")) + .andExpect(jsonPath("data[1].attributes.p1").value(0.)) + .andExpect(jsonPath("data[1].attributes.properties[\"property1\"]").value("value1")) + .andExpect(jsonPath("data[2].id").value("idLine2")) + .andExpect(jsonPath("data[2].attributes.p1").value(30.)) + .andExpect(jsonPath("data[2].attributes.properties[\"property12\"]").value("value12")); mvc.perform(get("/" + VERSION + "/networks/" + NETWORK_UUID + "/" + Resource.INITIAL_VARIANT_NUM + "/voltage-levels/vl1/lines") .contentType(APPLICATION_JSON)) diff --git a/pom.xml b/pom.xml index de35233e..8ee91981 100644 --- a/pom.xml +++ b/pom.xml @@ -49,6 +49,8 @@ 1.0 + + 1.18.2 2.15.0 @@ -75,6 +77,24 @@ + + + com.powsybl + powsybl-network-store-iidm-impl + ${powsybl-network-store.version} + + + + com.powsybl + powsybl-network-store-client + ${powsybl-network-store.version} + + + + com.powsybl + powsybl-network-store-model + ${powsybl-network-store.version} +