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

Rename dangling line ucteXnodeCode to pairingKey #2676

Merged
merged 10 commits into from
Sep 21, 2023
Merged

Conversation

olperr1
Copy link
Member

@olperr1 olperr1 commented Aug 16, 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?

No

What kind of change does this PR introduce?

Quality

What is the current behavior?

The attribute used to identify the dangling lines to merge together is called ucteXnodeCode, which is disturbing for non-UCTE networks.

What is the new behavior (if this is a feature change)?
The attribute used to identify the dangling lines to merge together is called pairingKey.

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

  • The Breaking Change or Deprecated label has been added
  • The migration guide has been updated in the github wiki (What changes might users need to make in their application due to this PR?)

Other information:

For the migration guide:

The dangling line ucteXnodeCode attribute was renamed to pairingKey. In consequence, some methods were also renamed as follows:

  • DanglingLine.getUcteXnodeCode() -> DanglingLine.getPairingKey()
  • DanglingLineAdder.setUcteXnodeCode(String ucteXnodeCode) -> DanglingLineAdder.setPairingKey(String pairingKey)
  • TieLine.getUcteXnodeCode() -> TieLine.getPairingKey()
  • AbstractConductingEquipmentConversion.findUcteXnodeCode(...) -> AbstractConductingEquipmentConversion.findPairingKey(...)

olperr1 and others added 2 commits July 28, 2023 15:14
Signed-off-by: Olivier Perrin <44769592+olperr1@users.noreply.github.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Anne Tilloy <48123713+annetill@users.noreply.github.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
@olperr1 olperr1 added the Breaking Change API is broken label Aug 16, 2023
@olperr1 olperr1 requested a review from annetill August 16, 2023 07:16
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
@flo-dup flo-dup force-pushed the evolution_xiidm/1.11 branch from dff0f7f to eea16e4 Compare September 14, 2023 09:36
Base automatically changed from evolution_xiidm/1.11 to main September 14, 2023 10:18
So-Fras and others added 4 commits September 20, 2023 13:23
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
…ollowing merge

Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
@powsybl powsybl deleted a comment from sonarqubecloud bot Sep 21, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

90.7% 90.7% Coverage
0.0% 0.0% Duplication

@flo-dup flo-dup merged commit 85fa86d into main Sep 21, 2023
6 checks passed
@flo-dup flo-dup deleted the rename_ucteXnodeCode branch September 21, 2023 08:06
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