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

Create an ACA-Py plugin that implements the new (proposed) DRPC protocol #78

Closed
swcurran opened this issue Dec 8, 2023 · 4 comments
Closed
Assignees

Comments

@swcurran
Copy link

swcurran commented Dec 8, 2023

The DIDComm Remote Procedure Call (DRPC) protocol is a simple (for an Aries Framework like ACA-Py) request/response protocol where the controller / business logic does all the work of preparing and processing the message. The Aries frameworks are "just the messenger" - doing the standard inbound and outbound DIDComm processing, but leaving it up to the business logic to handle the messages.

The DRPC protocol is a proposal (Aries RFC PR, markdown), but close enough that it can be implemented.

Please build a plugin that implements the protocol, including a simple pair of controllers that demonstrate using the protocol. The "trust-ping" and/or "action-menu" protocols might be good templates to build the new protocol -- they are both two message request/response protocols with the controller doing most of the processing.

Define the Admin API calls that are needed for the protocol -- presumably just POST /drpc/request and POST /drpc/response. Perhaps a GET /drpc/requests might be useful, and a delete are also needed. Suggest looking at other similar protocols (like action-menu) to see what they support.

Suggest adding a "retain-exchange" flag on the Admin API and otherwise deleting the protocol state object record for an instance of the protocol after the protocols is complete and the controller informed of the result.

This will also be implemented in Agent Framework JavaScript and deployed into the BC Wallet, so we'll keep the Wallet team updated on the progress.

@swcurran
Copy link
Author

swcurran commented Dec 8, 2023

@esune -- for your review and then assignment.
@cvarjao -- for your review.

@amanji
Copy link

amanji commented Jan 10, 2024

Linked issue: openwallet-foundation/acapy#2695

@loneil
Copy link

loneil commented Feb 29, 2024

@amanji can close this one?

@esune
Copy link
Member

esune commented Mar 1, 2024

Yes, this is done.

@esune esune closed this as completed Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants