-
Notifications
You must be signed in to change notification settings - Fork 521
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
Feat/public did endpoints for agents behind mediators #1899
Feat/public did endpoints for agents behind mediators #1899
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the thorough tests! I have just one minor change request.
To further comment on the necessity of this PR, without this, an ACA-Py instance configured to operate behind a mediator is currently unable to publish accurate endpoint information for forming DIDComm connections through its public DID. |
Codecov Report
@@ Coverage Diff @@
## main #1899 +/- ##
=======================================
Coverage 93.67% 93.68%
=======================================
Files 539 539
Lines 34145 34162 +17
=======================================
+ Hits 31984 32003 +19
+ Misses 2161 2159 -2 |
The SonarCloud analysis is new. It's complaining about test values. @cjhowland we could probably appease it by just changing the example endpoint to something like |
Yes, it's new. It just got added to some of the Indy and Aries projects today. It's not a required check yet, so it won't block merging. |
Should/Can we configure it to ignore tests? I suppose if we leave it as a not required check, maybe it's not a problem but "fixing" the code duplication warnings for the tests would be inappropriate, IMO. Maybe I just have an aversion to seeing red X's on PRs that I'm approving 🙂 |
Yes, the settings can be adjusted by adding a config file. Example config file; https://github.com/hyperledger/blockchain-explorer/blob/8c85d2a6b0f3b7af88c80ce2fd3f252138d09343/.sonarcloud.properties |
e965441
to
14fbf7c
Compare
Char is OOTO so I'll take a look at test failures today. |
More suggestions here; #1896 (comment) |
SonarCloud Quality Gate failed.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Signed-off-by: Char Howland <[email protected]>
…iator Signed-off-by: Char Howland <[email protected]>
Signed-off-by: Char Howland <[email protected]>
Signed-off-by: Char Howland <[email protected]>
Signed-off-by: Char Howland <[email protected]>
Signed-off-by: Char Howland <[email protected]>
Signed-off-by: Char Howland <[email protected]>
Signed-off-by: Char Howland <[email protected]>
Signed-off-by: Char Howland <[email protected]>
e1e8d77
to
34090a3
Compare
Please see PR bcgov/von-network#233 |
This PR supports publishing endpoint information with routing keys in accordance with the did:sov specification. Routing keys are retrieved from
mediation_id
if specified, or else a default mediator. If no mediated connection is present,routingKeys
defaults to an empty array.This PR allows for publishing DIDs with routing keys; PR #1863 allows for resolving DIDs with routing keys.