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

Improve stash api #337

Merged
merged 8 commits into from
Nov 8, 2023
Merged

Improve stash api #337

merged 8 commits into from
Nov 8, 2023

Conversation

jamal-khey
Copy link
Contributor

@jamal-khey jamal-khey commented Sep 29, 2023

DELETE /network-modifications (onlyStashed=false) -> delete all modifications (also stashed modification)
DELETE /network-modifications?onlyStashed=true -> delete all stashed modifications
GET /network-modifications (onlyStashed=false) -> get all modifications (also stashed modifications)
GET /network-modifications?onlyStashed=true -> get all stashed modifications
PUT /network-modifications?stashed=true -> stash modification
PUT /network-modifications?stashed=false -> restore modification

@jamal-khey jamal-khey self-assigned this Sep 29, 2023
@jamal-khey jamal-khey changed the title Improve stash api [WIP] Improve stash api Oct 6, 2023
jamal-khey added a commit that referenced this pull request Oct 6, 2023
jamal-khey added a commit that referenced this pull request Oct 6, 2023
@SlimaneAmar
Copy link
Contributor

Remove code smells

jamal-khey added a commit that referenced this pull request Oct 12, 2023
implement unit test for delete modification (#337)

implement delete all modifications (#337)

get all modification of a group (#337)

make an api to delete only stashed modifications (#337)

Signed-off-by: jamal-khey <[email protected]>
@jamal-khey jamal-khey changed the title [WIP] Improve stash api Improve stash api Oct 12, 2023
jamal-khey added a commit that referenced this pull request Oct 12, 2023
implement unit test for delete modification (#337)

implement delete all modifications (#337)

get all modification of a group (#337)

make an api to delete only stashed modifications (#337)

Signed-off-by: jamal-khey <[email protected]>
@jamal-khey jamal-khey force-pushed the improve-stash-api branch 3 times, most recently from 73591df to 2c3209a Compare October 16, 2023 12:10
@jamal-khey jamal-khey marked this pull request as draft October 16, 2023 12:59
@jamal-khey jamal-khey marked this pull request as ready for review November 6, 2023 16:17
Signed-off-by: jamal-khey <[email protected]>
Signed-off-by: jamal-khey <[email protected]>
@etiennehomer
Copy link
Contributor

Tests OK

Copy link

sonarqubecloud bot commented Nov 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

88.0% 88.0% Coverage
0.0% 0.0% Duplication

@jamal-khey jamal-khey merged commit 5109195 into main Nov 8, 2023
4 checks passed
@jamal-khey jamal-khey deleted the improve-stash-api branch November 8, 2023 14:48
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.

3 participants