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: enable refreshing did endpoint using mediator info #3260

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

dbluhm
Copy link
Contributor

@dbluhm dbluhm commented Sep 26, 2024

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.

Copy link

@jamie-quartech jamie-quartech left a comment

Choose a reason for hiding this comment

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

Looks good. Think you just have to change that inject_or in the unit tests.

jamshale
jamshale previously approved these changes Sep 26, 2024
Copy link
Contributor

@jamshale jamshale left a comment

Choose a reason for hiding this comment

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

Accidently commented with my other account. Looks good other than updating the unit tests.

Signed-off-by: Daniel Bluhm <[email protected]>
Copy link

sonarcloud bot commented Sep 26, 2024

@dbluhm dbluhm merged commit 7305ca0 into openwallet-foundation:main Sep 27, 2024
11 checks passed
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