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

[CGMES export] New business process parameter #2889

Merged
merged 9 commits into from
Feb 7, 2024

Conversation

colinepiloquet
Copy link
Member

@colinepiloquet colinepiloquet commented Feb 5, 2024

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?

Bug fix: the ID of the EQ, TP, SSH and SV FullModel should be unique, this implies adding business process in the string used to generate the UUID.

What is the current behavior?

Business process parameter does not exist, ID is not unique.

What is the new behavior (if this is a feature change)?
ID is not unique yet but it completes PR #2888.

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

  • Yes
  • No

@zamarrenolm
Copy link
Member

For me it is ok to keep the business process inside the export context.

@colinepiloquet
Copy link
Member Author

It is not easy to test except by using the check on the UUIDs #2888

@colinepiloquet colinepiloquet requested review from zamarrenolm and annetill and removed request for zamarrenolm February 6, 2024 11:07
…llModel

Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
@colinepiloquet colinepiloquet force-pushed the add_business_process_parameter branch from 25af6d1 to 0dab0aa Compare February 6, 2024 16:13
Signed-off-by: Luma <zamarrenolm@aia.es>
Signed-off-by: Luma <zamarrenolm@aia.es>
Signed-off-by: Luma <zamarrenolm@aia.es>
Signed-off-by: Luma <zamarrenolm@aia.es>
Copy link

sonarqubecloud bot commented Feb 7, 2024

@zamarrenolm zamarrenolm changed the title [Cgmes export] New business process parameter [CGMES export] New business process parameter Feb 7, 2024
@zamarrenolm zamarrenolm merged commit f8e9013 into main Feb 7, 2024
6 checks passed
@zamarrenolm zamarrenolm deleted the add_business_process_parameter branch February 7, 2024 15:36
olperr1 pushed a commit that referenced this pull request Feb 15, 2024
* Add new parameter for business process to generate a unique ID for FullModel

Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>

* Add test and change where business process is

Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>

* Add test

Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>

* Fix testExporter

Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>

* expand unit test to check for uniqueness

Signed-off-by: Luma <zamarrenolm@aia.es>

* constant for default modeling authority set

Signed-off-by: Luma <zamarrenolm@aia.es>

* add unit test, allow boundaries placed in config filesystem

Signed-off-by: Luma <zamarrenolm@aia.es>

* fix sonar issues

Signed-off-by: Luma <zamarrenolm@aia.es>

---------

Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Luma <zamarrenolm@aia.es>
Co-authored-by: Luma <zamarrenolm@aia.es>
(cherry picked from commit f8e9013)
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.

3 participants