-
Notifications
You must be signed in to change notification settings - Fork 0
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
Share code for modifications exporting filters #389
Conversation
antoinebhs
commented
Dec 8, 2023
•
edited
Loading
edited
- share the code for modifications (scaling, by formula) dealing with filters.
Signed-off-by: BOUHOURS Antoine <[email protected]>
…y handled. Code fixes. Signed-off-by: BOUHOURS Antoine <[email protected]>
src/main/java/org/gridsuite/modification/server/modifications/ModificationUtils.java
Outdated
Show resolved
Hide resolved
src/main/java/org/gridsuite/modification/server/modifications/ModificationUtils.java
Outdated
Show resolved
Hide resolved
src/main/java/org/gridsuite/modification/server/modifications/ModificationUtils.java
Outdated
Show resolved
Hide resolved
.flatMap(f -> exportFilters.get(f.getId()) | ||
.getIdentifiableAttributes() | ||
.stream()) | ||
.filter(distinctByKey(IdentifiableAttributes::getId)) |
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.
No need to log the duplicated ids ?
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.
@FranckLecuyer @YenguiSeddik I removed this part, it will be handled in a separate PR (there is already a story created) as there are some questions about logging and I found some issues with the logging of scaling features.
I reviewed and treated all your other comments.
src/main/java/org/gridsuite/modification/server/modifications/AbstractScaling.java
Outdated
Show resolved
Hide resolved
Signed-off-by: BOUHOURS Antoine <[email protected]>
|