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

Fix api schema mixup in revocation routes #2909

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

jamshale
Copy link
Contributor

Fixes #2901.

I somehow mixed up the schema naming between anoncreds revocation and existing revocation modules in a couple places. Shouldn't cause problems but still needs to be fixed.

Also a couple schemas existed in anoncreds that weren't used (copy and paste error)

Note:

This does remind me of something. The clear pending revocations method doesn't exist in the anoncreds implementation currently. Not sure how important that is and if it should be implemented for the upcoming 1.0.0 release ?

Signed-off-by: jamshale <jamiehalebc@gmail.com>
@swcurran swcurran requested review from ianco and dbluhm April 23, 2024 17:26
@jamshale jamshale marked this pull request as ready for review April 23, 2024 18:36
@ff137
Copy link
Contributor

ff137 commented Apr 24, 2024

I can confirm that this fixes the models detailed in #2901

Copy link

sonarcloud bot commented Apr 24, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@jamshale
Copy link
Contributor Author

jamshale commented Apr 24, 2024

Hmm. Got 1 fail aries_cloudagent.anoncreds.revocation.AnonCredsRevocationError: Revocation registry not found. Pretty sure this has happened before when the test von network got out of sync. It did pass before main got merged in.

Going to run it again. This error could be handled better. Shouldn't be a 500.

@jamshale jamshale merged commit a50b81b into hyperledger:main Apr 24, 2024
7 of 8 checks passed
@jamshale jamshale deleted the feat/2901 branch April 24, 2024 17:00
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.

PublishRevocations model replaced with PublishRevocationsSchemaAnoncreds
4 participants