-
Notifications
You must be signed in to change notification settings - Fork 43
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
Modify CGMES naming strategy so that the IDs are stable #2804
Merged
Merged
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
c664e5d
Add namespace in UUID generation
colinepiloquet f4a7315
change way to generate uuid
colinepiloquet a6478a5
merge main, solve conflicts
zamarrenolm 434d25e
update number of params in exporter
zamarrenolm 7225758
by default do not use namespace for stable UUID unique ids based on n…
zamarrenolm baecdf6
Merge branch 'main' into cgmes_naming_strategy
zamarrenolm 4dc594f
naming strategy keeps uuid namespace
zamarrenolm 4294f2a
Merge branch 'main' into cgmes_naming_strategy
zamarrenolm 7aa5088
type of uuid namespace is UUID
zamarrenolm 9564dee
remove mapping file
zamarrenolm 3fd5d22
temporary check unit tests using random UUIDs
zamarrenolm e1a9b1f
Merge branch 'main' into cgmes_naming_strategy
zamarrenolm 2bcd91e
Start implementing specific seed creation for UUID generation
colinepiloquet 3ab1d31
Fixes
colinepiloquet aa95b11
Improve limits ID generation.
colinepiloquet b0db66a
Improve tap changers ID generation
colinepiloquet 7716b08
Improve nodes ID generation
colinepiloquet 25a7ca9
Modify remaining strings in getUniqueId
colinepiloquet d6b4821
Fix bug
colinepiloquet b03e023
fix unit test
zamarrenolm 15b8f40
comment
zamarrenolm 778fcc1
separate suffixes for RC of ratio and phase tap changers
zamarrenolm 09b24a1
activate name-based uuids
zamarrenolm 2adbb2b
fix suffix for the terminal of the equivalent injection
zamarrenolm 2027e3c
Merge branch 'main' into cgmes_naming_strategy
zamarrenolm 236c038
use random uuids for Sv objects (they are not persistent)
zamarrenolm cc9cb2e
unique ids are provided by the naming strategy
zamarrenolm 1b051e4
fix calls to unique ids in missing containers preprocessor
zamarrenolm 2e9805f
naming strategy unique ids based on list of cgmes object references
zamarrenolm b81e0c4
Merge branch 'main' into cgmes_naming_strategy
zamarrenolm 28ee7cc
Merge branch 'main' into cgmes_naming_strategy
zamarrenolm 18059c4
simplify code: naming strategy is not based in an external provided m…
zamarrenolm 9ee274d
debug name-based uuids
zamarrenolm deb5c7a
base voltage stable uuids
zamarrenolm 770b34d
keep the load groups created
zamarrenolm 8c73a17
fix loading limits export: proper CGMES class name and avoid CGMES ob…
zamarrenolm 4f4cdd9
fix writing temporary limits
zamarrenolm eea93ef
Merge branch 'main' into cgmes_naming_strategy
zamarrenolm 48d4c06
use suffixes for prime objects
zamarrenolm 24f94ac
a _ prefix is used at naming strategy, not when combining object refe…
zamarrenolm 6122e12
uuid namespace parameter name for name-based uuids is public
zamarrenolm e63e39b
fix suffix for reactive capability curve
zamarrenolm 19eefde
Fix some suffixes for generatingUnits, transformerEnd and tap changer…
colinepiloquet 969f5b8
suffix for types of generating units moved to cgmes object reference …
zamarrenolm be06706
sometimes we do not need to add the suffix for the identifiable type
zamarrenolm 65f2b17
Fix refGeneratingUnit + remove useless reference to AC Line Segment
colinepiloquet 6f7853b
cleanup: uniform method name, avoid multiple calls to unique id with …
zamarrenolm 5c29116
cleanup: remove unused naming conversion of geo tag
zamarrenolm ffb7c0d
cleanup: debug
zamarrenolm 4bba6dd
cleanup: remove obsolete methods
zamarrenolm b5a16c4
minor fixes after testing against real-world cases
zamarrenolm 6d51fba
consistent dc topological nodes
zamarrenolm 0096fea
consistent dc topological nodes
zamarrenolm c25a200
code cleanup; get rid of old mechanism for storing uuids read from ma…
zamarrenolm 6a4cf78
always use name-based uuids
zamarrenolm 7be424b
fix sonar issues
zamarrenolm 47669fc
remove potential urn:uuid prefix from ids before using them
zamarrenolm 65d6dd2
fix sonar issues
zamarrenolm edae45c
Merge branch 'main' into cgmes_naming_strategy
annetill 4d48d14
Merge branch 'main' into cgmes_naming_strategy
zamarrenolm 020556f
A few fixes to make it work on my usecase
colinepiloquet 588c404
Add condition in debug that should not have been removed
colinepiloquet d06b2a9
use ref and refTyped for building references for identifiables
zamarrenolm c619797
use combo for joining two references without using a separator
zamarrenolm 940ef88
Merge branch 'main' into cgmes_naming_strategy
annetill 6e4fb1f
Merge branch 'main' into cgmes_naming_strategy
annetill File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
204 changes: 0 additions & 204 deletions
204
...nversion/src/main/java/com/powsybl/cgmes/conversion/AbstractCgmesAliasNamingStrategy.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason for this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do NOT want to use a valid, reasonable nominal voltage that could be defined in reference data. We want to express that we do not have information about this nominal voltage.