Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update powsyblcore dependency to 6.1.0 #363

Merged
merged 28 commits into from
Jan 29, 2024
Merged

Conversation

rolnico
Copy link
Member

@rolnico rolnico commented Nov 29, 2023

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

What kind of change does this PR introduce?

Dependency upgrade + bug fix

What is the current behavior?

PowSyBl-Network-store used powsybl-core v6.0.2
Terminals connect and disconnect methods were not consistent with the methods implemented in Core

What is the new behavior (if this is a feature change)?
Powsybl-core v6.1.0 is now used.
Terminals connect and disconnect methods are now consistent with the methods implemented in Core and tests are fixed.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

@rolnico rolnico requested a review from geofjamg November 29, 2023 09:53
@rolnico rolnico force-pushed the nro/update_powsyblcore_to_6.1 branch from fe8deb4 to 8ae45cb Compare December 11, 2023 11:56
@rolnico rolnico requested a review from flo-dup December 11, 2023 12:35
@rolnico rolnico marked this pull request as ready for review December 13, 2023 08:52
Copy link
Member

@obrix obrix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small adjustments needed and the branch need to be rebased on main. But looks good to me mostly.
Coverage can also probably be upped to 80%.

pom.xml Outdated Show resolved Hide resolved
rolnico added 11 commits January 9, 2024 11:43
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
…or internalconnections

Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
…+ replaced switch by java17 enhanced switch

Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
…ency

Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
…ssing author and licence

Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
@rolnico rolnico force-pushed the nro/update_powsyblcore_to_6.1 branch from 49dc453 to 8c501f4 Compare January 9, 2024 10:43
Copy link
Collaborator

@antoinebhs antoinebhs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tested the new implementation in TerminalImpl but it looks ok, I suggested some small changes. I will test more with the migration of Gridsuite to this version.

…istency + swapped annotation from @test to @OverRide

Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Co-authored-by: Antoine Bouhours <123802855+antoinebhs@users.noreply.github.com>
Signed-off-by: Nicolas Rol <135979730+rolnico@users.noreply.github.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Co-authored-by: Antoine Bouhours <123802855+antoinebhs@users.noreply.github.com>
Signed-off-by: Nicolas Rol <135979730+rolnico@users.noreply.github.com>
rolnico and others added 4 commits January 24, 2024 11:40
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Co-authored-by: Antoine Bouhours <123802855+antoinebhs@users.noreply.github.com>
Signed-off-by: Nicolas Rol <135979730+rolnico@users.noreply.github.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
@rolnico rolnico requested a review from obrix January 24, 2024 14:44
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

66.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@flo-dup flo-dup merged commit 0332613 into main Jan 29, 2024
3 of 4 checks passed
@flo-dup flo-dup deleted the nro/update_powsyblcore_to_6.1 branch January 29, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants