Skip to content
This repository has been archived by the owner on Feb 14, 2025. It is now read-only.

Use revert endpoint for reverting service and add metadata only fetch #211

Merged
merged 2 commits into from
Dec 6, 2019

Conversation

ryan-lane
Copy link
Contributor

@ryan-lane ryan-lane commented Dec 6, 2019

This change is aimed at returning less credential data, when that data is not necessary. Specifically, it's aiming to remove the return of full credential data when services are fetched through the interface, since those interfaces don't need the credential data.

Along with this change is a new method of doing reverts. I'm starting with service, because it's simpler, but future changes will also make this the method for credentials and blind_credentials, which will let us do reverts without needing to see values.

@ryan-lane
Copy link
Contributor Author

I also found a bug in displaying conflicts in the history revert view, which I fixed by adding getCredentialByID and getBlindCredentialByID

skiptomyliu
skiptomyliu previously approved these changes Dec 6, 2019
Copy link
Member

@skiptomyliu skiptomyliu left a comment

Choose a reason for hiding this comment

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

Just have some minor comments, but otherwise looks good.

@ryan-lane ryan-lane merged commit b8f3612 into master Dec 6, 2019
@ryan-lane ryan-lane deleted the revert-service-to-revision branch December 6, 2019 21:49
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants