-
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
[WIP] Supervision controller and service to be used by supervision tools #407
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: LE SAULNIER Kevin <[email protected]>
…into supervision_controller
@@ -0,0 +1,35 @@ | |||
package org.gridsuite.study.server; |
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 licence header
|
||
import java.util.List; | ||
|
||
@RestController |
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 author
@@ -0,0 +1,19 @@ | |||
package org.gridsuite.study.server.dto.supervision; |
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 licence header
|
||
import java.util.UUID; | ||
|
||
@SuperBuilder |
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 author
@@ -0,0 +1,34 @@ | |||
package org.gridsuite.study.server.service; |
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 licence header
import java.util.List; | ||
import java.util.stream.Collectors; | ||
|
||
@Service |
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 author
this.studyRepository = studyRepository; | ||
} | ||
|
||
public List<SupervisionStudyInfos> getStudies() { |
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 @transactional(readOnly)
.collect(Collectors.toList()); | ||
} | ||
|
||
private static SupervisionStudyInfos toSupervisionStudyInfos(StudyEntity entity) { |
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.
toDto ?
Signed-off-by: Slimane AMAR <[email protected]>
SonarCloud Quality Gate failed. 0 Bugs 40.0% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
We need also clean tree nodes (report, modifictions group, calulation results, ....) |
No description provided.