Comments (9)
@TimoGlastra - @ianco is going to make this change tomorrow in the Test Harness (calling the API) and in the python backchannel used by ACA-Py and VCX. Once that is done, we're assuming you can make a comparable update in your work, and ideally produce a Swagger file that defines the interface. The expectation is that it is just a half day effort for what Ian is going to do - not a big deal.
It's a little weird since each backchannel will be defining the same API and will be able to generate the Swagger definition. The single Test Harness will be calling the interface. So basically, we need a "API-first" development mode where we update a common swagger definition, and then use that to define the routes for each backchannel. We'll think about that as we move forward.
from aries-agent-test-harness.
Thanks @TimoGlastra . Over to @ianco and @nodlesh for their thoughts.
My leaning is that this is the right way to go. It makes the API much more transparent, easier on devs and we can version the API as another mechanism to control what tests can be executed when using different TAs (Test Agents).
A question is the effort to switch. Ian, this seems like something you could knock off fairly easily for the Test Harness and at least in ACA-Py. Not so sure about VCX and Pico.
from aries-agent-test-harness.
I agree this is a good suggestion. It would not be a huge effort to convert the aca-py or vcx backchannels.
(A bigger task is that the vcx backchannel needs to be brought up to the latest codebase, it is based on a 6-month-old version of vcx. The Pico backchannel was never fully built out (more of a POC) and Pico has also been rewritten over the past 6 months.)
from aries-agent-test-harness.
Sounds good. @nodlesh and @ianco -- let's discuss at the standup (or after) tomorrow about how to get there.
from aries-agent-test-harness.
I agree as well; This would be a better cleaner approach. Though I would suggest we leave the old way in as well, temporarily, to support what is already there. We can migrate older backchannels to the new way as it becomes priority. We could also leave the old way there permanently was a way to allow calling into a specific backchannel to do operations not necessarily supported by other backchannels.
from aries-agent-test-harness.
Let's figure out a migration plan.
@TimoGlastra -- assuming we do the change to the Harness, what is the impact on what you have already done? I'm guessing it will be minor?
from aries-agent-test-harness.
Awesome. This will indeed be a minor change for the .NET backchannel (think minutes). Once @ianco has made the necessary changes i'll update the endpoints. I'll also create the swagger definition while implementing the different operations.
How are topics without named operations going to be handled (e.g. the schema topic only has one operation)? My preference would be to give every action an operation - even if the topic only has one operation. For consistency and future proofing.
@swcurran It's indeed a bit weird and different than most APIs - which have multiple clients and a single server.
from aries-agent-test-harness.
@TimoGlastra -- this is done now -- #69 and merged. This will break your stuff, but easily fixed, right?
Onward!
from aries-agent-test-harness.
Great! Easily fixed indeed
from aries-agent-test-harness.
Related Issues (20)
- Apply workaround to fix issues using the AATH scripts on ARM based MACs
- ACA-Py Backchannel using main with Poetry not working HOT 16
- Support the ability to point to an existing running agent as any role in the tests
- Remove dotnet from the regular regression interop test sets
- Remove the separation of AIP 1.0 & 2.0 in AATH tests
- ACA-Py tests failed on nightly run -- reformat of version?
- Anoncreds issuer_did vs issuer_id HOT 2
- Anoncreds aca-py update backchannel to use new endpoints for schema and cred def HOT 1
- Add tests for Peer DID Interoperability to AATH to enable a Community Coordinate Update to Qualified DIDs HOT 1
- Add tests for RFC 0794 DID Rotate HOT 2
- All AATH workflows are failing to run due to Bad Creds HOT 1
- Cannot start test agents with ngrok anymore, ngrok now requires an authtoken
- AFJ test runset is failing with timeout on T005-RFC0211
- Create VS Code Dev Container for AATH and Backchannels HOT 2
- Enable 0044-mime-type tests for ACA-Py HOT 1
- Publishing backchannel docker images
- `./manage run` failing to start von network HOT 1
- Port ACA-Py test agents from universal resolver plugin to universal resolver merged with ACA-Py
- Port AATH/ACA-Py Agents from old ACA-Py Redis Queue Plugin Repo to Hyperledger ACA-Py Plugin Repo
- Did-exchange threading / connection identification HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aries-agent-test-harness.