-
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
Migrate network-map and geo-data endpoints to add rootNetworkUuid in path #652
base: root-network-computation-endpoints
Are you sure you want to change the base?
Migrate network-map and geo-data endpoints to add rootNetworkUuid in path #652
Conversation
Signed-off-by: LE SAULNIER Kevin <[email protected]>
…etworkmap-endpoints
…etworkmap-endpoints
…ts' into root-network-networkmap-endpoints
…ts' into root-network-networkmap-endpoints
Quality Gate passedIssues Measures |
@@ -619,6 +619,9 @@ private StudyCreationRequestEntity insertStudyCreationRequest(String userId, UUI | |||
public byte[] getVoltageLevelSvg(String voltageLevelId, DiagramParameters diagramParameters, | |||
UUID nodeUuid, UUID rootNetworkUuid) { | |||
UUID networkUuid = rootNetworkService.getNetworkUuid(rootNetworkUuid); | |||
if (networkUuid == null) { |
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.
Remove it
@@ -630,6 +633,9 @@ public byte[] getVoltageLevelSvg(String voltageLevelId, DiagramParameters diagra | |||
public String getVoltageLevelSvgAndMetadata(String voltageLevelId, DiagramParameters diagramParameters, | |||
UUID nodeUuid, UUID rootNetworkUuid) { | |||
UUID networkUuid = rootNetworkService.getNetworkUuid(rootNetworkUuid); | |||
if (networkUuid == null) { |
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.
Remove it
@@ -1057,6 +1063,9 @@ public List<LimitViolationInfos> getLimitViolations(@NonNull UUID nodeUuid, UUID | |||
public byte[] getSubstationSvg(String substationId, DiagramParameters diagramParameters, | |||
String substationLayout, UUID nodeUuid, UUID rootNetworkUuid) { | |||
UUID networkUuid = rootNetworkService.getNetworkUuid(rootNetworkUuid); | |||
if (networkUuid == null) { |
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.
Remove it
@@ -1068,6 +1077,9 @@ public byte[] getSubstationSvg(String substationId, DiagramParameters diagramPar | |||
public String getSubstationSvgAndMetadata(String substationId, DiagramParameters diagramParameters, | |||
String substationLayout, UUID nodeUuid, UUID rootNetworkUuid) { | |||
UUID networkUuid = rootNetworkService.getNetworkUuid(rootNetworkUuid); | |||
if (networkUuid == null) { |
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.
Remove it
@@ -1078,6 +1090,9 @@ public String getSubstationSvgAndMetadata(String substationId, DiagramParameters | |||
|
|||
public String getNetworkAreaDiagram(UUID nodeUuid, UUID rootNetworkUuid, List<String> voltageLevelsIds, int depth, boolean withGeoData) { | |||
UUID networkUuid = rootNetworkService.getNetworkUuid(rootNetworkUuid); | |||
if (networkUuid == null) { |
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.
Remove it
No description provided.