-
Notifications
You must be signed in to change notification settings - Fork 55
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
Move plugins to use plugin repo #980
Conversation
Signed-off-by: jamshale <[email protected]>
Deployment URLs ready for review. |
Tried docker composing things up locally and it seems to be working there.
|
@loneil Ok. Strange. I thought I updated all the deploy references. That error makes sense if the plugin config is still referencing that class. I'll try to find time to look. |
Signed-off-by: jamshale <[email protected]>
@loneil I had some permissions problems in my repo and think it caused me to miss the one chart value. Should be fixed. |
Ok cool. Yeah I've done regression on that PR going through Tenant/Innkeeper onboard, endorser connect, schema/cred creation, connect to BC Wallet, Issue, Revoke, Pres Req. So that's all working and that would be touching the plugins for sure. The one weird thing though is that I can Basic Message back and forth from my Traction Tenant to the BC Wallet all good. But it's not fetching the messages from the basic message storage or something...? So this is the aca-py agent logging out the received message I sent from my wallet So can see the plugin getting it and putting it in storage. Might try locally later on as well once I finish something else up, but not sure if any initial thoughts @jamshale |
Ohhh, I'd missed that. Would definitely make sense. |
Signed-off-by: jamshale <[email protected]>
0755221
to
d00302e
Compare
Signed-off-by: jamshale <[email protected]>
There should be logging that explains when it's being saved or not. but let me know if you need help figuring out the flag. |
@loneil I've manually tested this and I'm pretty sure everything is working correctly and this can be merged. |
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 👍🏻
If it is set up as the PR is for the DEV (and other) deployments, which it looks like it should be (?) then it's probably good to merge in to main and trigger the dev deployment. So given that, I'd still want to record thoughts/questions about how to maintain Traction with this setup here. Some of these might have been previously discussed (maybe need documentation in the Traction repo?). Maybe worth discussion with @esune about if we have operational plans for this stuff, or priority for figuring out (if not already) Running Traction locally with Docker
Local devcontainer in Traction repo
Local development for Innkeeper plugin
Local development for other plugins
Updating ACA-Py version
Updating other dependencies
|
I won't answer all the questions because there is a lot of them but the flow shouldn't change a lot. The plugin acapy versions are defined as extras so just upgrading the acapy image should be enough. The plugin repo has dev containers so the development env will be the same. You still needed to rebuild the plugin image in traction to get code changes. You can simply change the pip install location to your own fork when developing. The main change is you need to get a PR approved and merged into the plugin repo. This is actually a good thing because plugins need to have unit and integration tests which is lacking currently. I'll do a development demo at some point, or if anyone starts work on a plugin and wants a run down. Some documentation in traction would probably be helpful in the longterm. |
Signed-off-by: jamshale <[email protected]>
Yeah just wanted to record those thoughts somewhere for later. So yeah I think we can merge it and sort those as we go on. |
Changed how the plugin config was defined to match the other plugins. Going to test again. If I find time I can add some documentation or I'll create another ticket for that. |
I think we can merge, I agree with the above discussion/thread. If there is need for adjustment, we'll log an issue and tackle it that way - this is already beneficial as it will reduce code duplication. |
Logged #996 to track that work item, will now merge this. |
Going to go over this a couple more times but opening for visibility. Pretty sure everything is working well.