Skip to content
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

implement remove for danglingLines #54

Merged
merged 11 commits into from
Mar 25, 2020
Merged

implement remove for danglingLines #54

merged 11 commits into from
Mar 25, 2020

Conversation

AbdelHedhili
Copy link
Member

@AbdelHedhili AbdelHedhili commented Mar 2, 2020

Signed-off-by: AbdelHedhili [email protected]

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem ? If so, link to this issue using '#XXX' and skip the rest
#29 implement remove for danglingLines

@AbdelHedhili AbdelHedhili self-assigned this Mar 2, 2020
@AbdelHedhili AbdelHedhili changed the title [WIP] implement remove for danglingLines implement remove for danglingLines Mar 2, 2020
@AbdelHedhili AbdelHedhili requested a review from geofjamg March 2, 2020 15:26
@@ -462,6 +463,14 @@ public int getDanglingLineCount(UUID networkUuid) {
return client.getDanglingLineCount(networkUuid);
}

@Override
public void removeDanglingLine(UUID networkUuid, String danglingLineId) {
List<Resource<DanglingLineAttributes>> dlToRemove =
Copy link
Member

@geofjamg geofjamg Mar 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might have performance issue with this. We can keep it as it is but maybe we will need to change to resources storage data structure for fast removal.

Signed-off-by: AbdelHedhili <[email protected]>
@AbdelHedhili AbdelHedhili requested a review from geofjamg March 3, 2020 09:08
@AbdelHedhili AbdelHedhili changed the title implement remove for danglingLines [WIP] implement remove for danglingLines Mar 3, 2020
@AbdelHedhili AbdelHedhili force-pushed the implement_remove_DL branch from 34b52d2 to 498076c Compare March 4, 2020 08:41
Signed-off-by: AbdelHedhili <[email protected]>
@AbdelHedhili AbdelHedhili force-pushed the implement_remove_DL branch from 498076c to 4cc5016 Compare March 4, 2020 08:47
@AbdelHedhili AbdelHedhili changed the title [WIP] implement remove for danglingLines implement remove for danglingLines Mar 4, 2020
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
@sonarcloud
Copy link

sonarcloud bot commented Mar 25, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

79.6% 79.6% Coverage
0.0% 0.0% Duplication

@geofjamg geofjamg merged commit 43d0ed4 into master Mar 25, 2020
@geofjamg geofjamg deleted the implement_remove_DL branch March 25, 2020 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants