hyperledger / aries-cloudagent-python

Hyperledger Aries Cloud Agent Python (ACA-Py) is a foundation for building decentralized identity applications and services running in non-mobile environments.
https://wiki.hyperledger.org/display/aries
Apache License 2.0
405 stars 510 forks source link

fix: enable refreshing did endpoint using mediator info #3260

Closed dbluhm closed 10 hours ago

dbluhm commented 1 day ago

This PR makes it possible to update endpoint info with mediator information after the initial endpoint publish.

The POST /wallet/public/did endpoint was capable of setting the endpoint with mediator info (routing keys, mediator endpoint). However, if your mediator changes after the initial publish, there wasn't a (convenient) way for the controller to refresh the endpoint with the new mediator info. This adds this functionality to the POST /wallet/set-did-endpoint to do just that.

sonarcloud[bot] commented 1 day ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud