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

Refactor AgentInterfaceFactory to use a Plugin Architecture #62

Open
nodlesh opened this issue Jun 17, 2022 · 0 comments
Open

Refactor AgentInterfaceFactory to use a Plugin Architecture #62

nodlesh opened this issue Jun 17, 2022 · 0 comments

Comments

@nodlesh
Copy link
Contributor

nodlesh commented Jun 17, 2022

AS A AMTH user with a private test repo and wallet app, I WANT to be able to use my own Issuer and/or Verifier interfaces with AMTH without having to modify the the public agent factory in AMTH, SO THAT our internal details of our agents remain private.

ACCEPTANCE CRITERIA
Given a AMTH User with Private Issuer and Verifier Agents
And they have implemented AMTH agent interfaces for these Agents
| issuer_agent | verifier_agent |
| MyPrivateIssuerAgentInterface | MyPrivateVerifierAgentInterface |
When I run a script to modify the agents json file to add my agent interfaces
And I copy my agent interfaces into the AMTH structure
And I run AMTH with the -i "MyPrivateIssuer;<myprivateissuer endpoint>" -v "MyPrivateVerifier;<myprivateverifier endpoint>"
Then AMTH will run my wallet tests with my Agent interfaces

One possible way to accomplish this is to use a plugin architecture in Python utilizing importLib.

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

No branches or pull requests

1 participant