BREAKING: remove connection protocol#3184
BREAKING: remove connection protocol#3184swcurran merged 24 commits intoopenwallet-foundation:mainfrom
Conversation
|
@dbluhm it was mentioned on the call this was moved to a plugin. Is the code to enable using that plugin included in this pr? |
|
It’s in the plugin repo: openwallet-foundation/acapy-plugins#925 |
|
@swcurran thank you, I was referring towards the "code required to make this plugin work" which was highlighted in the meeting. The functionality lost/broken features outlined here, will this require code from within the aca-py code base or it can all be managed in the external plugin? |
|
Doh…sorry about that. Good point. And per my comment in the meeting — is it viable to simply document how to use the plugin? I suppose not being able to use the artifacts directly (e.g., having to change the Python code) might be a bit too painful. |
feb4202 to
5f60057
Compare
|
With the most recent updates on this branch and to the corresponding plugin, I have successfully completed a connection using the plugged in connection protocol. There are some failing tests I will address but I will go ahead and mark this as ready for review. |
1c844c8 to
bdf74b0
Compare
|
jamshale
left a comment
There was a problem hiding this comment.
This looks great! I think this deprecation support path is really going to help manage complexity.
I'm just wondering if maybe a scenario test that installs the plugin and creates a v1 connection might be a good idea.
I don't see any reason not to approve this. We'll need good docs for when it gets released. Guaranteed people are going to upgrade without realizing this change has happened.
|
Cool. Let’s include in our discussion tomorrow the version number if we remove this. 1.1.0? Should the SonarCloud analysis be addressed before merging? |
We can do that though this is basically what's happening in the integration test of the plugin itself. So I'm not sure how valuable it is for it to be tested in both places.
Indeed, I have not adequately addressed this need yet.
I am not too concerned personally. The most complaints are coming from code that was just moved but detected as new in the connection routes (moved from the protocols.connections.routes to connections.routes). |
|
|
Fun list of merge conflicts to address. I'll work on getting this PR updated but then we ought to merge ASAP to prevent this from happening again 😅 |
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
bdf74b0 to
1a75b60
Compare
|
This PR has been refreshed after growing stale. It is ready for review and merge whenever we're ready with it. |
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
|
|
@jamshale @loneil and other @openwallet-foundation/acapy-admins and @openwallet-foundation/acapy-committers -- please review and let's get this merged before it goes stale again. I love the "new code not tested" since this is a PR about removal... I assume we can ignore that, but would like a dev to review/comment. Thanks |
| headers={"x-api-key": "secret-key"}, | ||
| ) | ||
|
|
||
| async def test_connections_list(self): |
There was a problem hiding this comment.
Some of these tests should not be deleted, because they are still kept in the connections routes module. That's why SonarCloud reports the uncovered lines. Can use their report to check which tests should remain
There was a problem hiding this comment.
I still think it's a good idea to re-add those unit tests 👀
There was a problem hiding this comment.
Ah, good catch, I intended to move these tests along with the routes.py file to the core connections package. I will open a PR restoring these tests (the ones that are still relevant).
|
Sorry — I junped the gun on this one. I also should have waited until the connections plugin was in place. I think there will be some falling out with this one before it is complete. |
Also this is now breaking some OATH tests tat are still using connection protocol ... |
|
Yes — expected. Part of the fix/cleanup will be adding the plugin. We’ll just live with it for now — I’ll try to deal with it later. @ianco — much more concerned about getting the intermittent fix resolved in OATH and integration tests here. |




This PR Removes the deprecated connections protocol.
In addition to the message handlers and routes, this also means:
aries_cloudagent.connections.routes(fromaries_cloudagent.protocols.connections.v1_0.routes).I am expecting this to not be fully functional yet so opening as a draft for now.