-
Notifications
You must be signed in to change notification settings - Fork 2
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
Separate computation logs from modification logs #465
Separate computation logs from modification logs #465
Conversation
Signed-off-by: David BRAQUART <[email protected]>
Signed-off-by: David BRAQUART <[email protected]>
Signed-off-by: David BRAQUART <[email protected]>
Signed-off-by: David BRAQUART <[email protected]>
Signed-off-by: David BRAQUART <[email protected]>
Signed-off-by: David BRAQUART <[email protected]>
Signed-off-by: David BRAQUART <[email protected]>
Signed-off-by: David BRAQUART <[email protected]>
Signed-off-by: David BRAQUART <[email protected]>
Signed-off-by: David BRAQUART <[email protected]>
…odification_logs' into separate_computation_logs_from_modification_logs
Signed-off-by: David BRAQUART <[email protected]>
Signed-off-by: David BRAQUART <[email protected]>
@@ -88,7 +88,8 @@ public UUID runLoadFlow(UUID studyUuid, UUID nodeUuid, LoadFlowParametersInfos l | |||
.fromPath(DELIMITER + LOADFLOW_API_VERSION + "/networks/{networkUuid}/run-and-save") | |||
.queryParam(QUERY_PARAM_RECEIVER, receiver) | |||
.queryParam("reportUuid", reportUuid.toString()) | |||
.queryParam("reporterId", nodeUuid.toString()); | |||
.queryParam("reporterId", nodeUuid.toString()) | |||
.queryParam("reportType", StudyService.ReportType.LOADFLOW.toString()); |
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.
Add a constant for query params ?
LOAD_FLOW, SECURITY_ANALYSIS, SENSITIVITY_ANALYSIS | ||
} | ||
|
||
public enum TaskKeyFilterMatchingType { |
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.
ReportNameMatchingType ?
} | ||
|
||
@Transactional(readOnly = true) | ||
public List<ReporterModel> getParentNodesReport(UUID nodeUuid, boolean nodeOnlyReport, Set<String> severityLevels) { | ||
public List<ReporterModel> getParentNodesReport(UUID nodeUuid, boolean nodeOnlyReport, ReportType reportType, Set<String> severityLevels) { | ||
String taskKeyFilter; |
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.
Too complex !
Add a method getFiltersParamaters
?
@@ -54,6 +54,7 @@ private StudyConstants() { | |||
public static final String QUERY_PARAM_REPORT_SEVERITY_LEVEL = "severityLevels"; | |||
public static final String QUERY_PARAM_REPORT_WITH_ELEMENTS = "withElements"; | |||
public static final String QUERY_PARAM_REPORT_TASKKEY_FILTER = "taskKeyFilter"; | |||
public static final String QUERY_PARAM_REPORT_TASKKEY_FILTER_MATCHING_TYPE = "taskKeyFilterMatchingType"; |
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.
Same remark as report server
Rename the notion REPORT_TASKKEY_FILTER by REPORT_NAME_FILTER
Signed-off-by: David BRAQUART <[email protected]>
Kudos, SonarCloud Quality Gate passed! |
No description provided.