-
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
refactor tabular modification #412
Conversation
…migration) Signed-off-by: David BRAQUART <[email protected]>
…fication # Conflicts: # src/main/java/org/gridsuite/modification/server/entities/TabularModificationEntity.java
Signed-off-by: David BRAQUART <[email protected]>
Signed-off-by: David BRAQUART <[email protected]>
Signed-off-by: David BRAQUART <[email protected]>
@NonNull | ||
private String modificationType; | ||
private IdentifiableType equipmentType; |
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.
I think it's not enough. We can have here types like GENERATOR_MODIFICATION, GENERATOR_CREATION or EQUIPMENT_DELETION
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.
Using ModificationType enum would be more appropriate
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 ModificationType
represente all modification types of network
We need only injection modificatio/creation/deletion
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.
operationType { MODIFICATION, CREATION, DELETION } ?
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.
You want to use 2 fields : IdentifiableType equipmentType + OperationType operationType ?
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.
Last decision: we use ModificationType enum. No data migration. Same Front-end.
Signed-off-by: David BRAQUART <[email protected]>
…fication # Conflicts: # src/main/java/org/gridsuite/modification/server/entities/TabularModificationEntity.java # src/main/java/org/gridsuite/modification/server/modifications/TabularModification.java
Signed-off-by: David BRAQUART <[email protected]>
b94dc9e
to
23ad0d3
Compare
|
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.
Tests OK
No description provided.