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

API Refactor: refactor BatchDeleteBundle and BatchNewSvid to new approach #1633

Merged
merged 2 commits into from
Jun 10, 2020

Conversation

MarcosDY
Copy link
Collaborator

Refactor batch delete bundle and batch new svid to return responses instead of entity and error as reponse, and make it return OK status on success responses.
Add test case to delete bundle to catch "not found" bundles

…se, and always return "OK" when success

Signed-off-by: Marcos Yacob <marcos@scytale.io>
@MarcosDY MarcosDY changed the title Refactor methods that use status from error to return expected respon… Refactor BatchDeleteBundle and BatchNewSvid to new approach Jun 10, 2020
@MarcosDY MarcosDY changed the title Refactor BatchDeleteBundle and BatchNewSvid to new approach API Refactor: refactor BatchDeleteBundle and BatchNewSvid to new approach Jun 10, 2020
Copy link
Member

@amartinezfayo amartinezfayo left a comment

Choose a reason for hiding this comment

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

LGTM!

@amartinezfayo amartinezfayo merged commit b0cbc95 into spiffe:master Jun 10, 2020
@MarcosDY MarcosDY deleted the remove-status-from-error branch August 2, 2022 15:43
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.

None yet

3 participants