Setting up Stbx's basic EDC Connectors
We are wanting to have some communication established between the different partners in TEMs. Marc-Antoine has deployed a few connectors for other partners and it would be great to have Stbx's connectors make basic communications with those, so we can claim there is some kind of TEMs dataspace communication happening
Here's a proposal/plan
1. Initial Connector Setup
- Set up 3 key puzzle pieces for a basic connector:
- Gradle build - pulling in the core dependencies needed
- Config properties (to setup the port mappings, some keys & consumer/provider IDs, etc.)
- Any necessary policy evaluation functions/extensions (Samples has a 'location' policy that I can re-use and later adapt to create more meaningful ones e.g. 'member' as we have in the MVD)
- Estimate: ~1–1.5 days
2. Repository Integration
- Push to Stbx’s Gitlab.
- Estimate: included in setup time
3. Deployment on Stbx’s VM
- Pull the repo, configure, and run the connectors on Stbx’s existing VM (currently hosting the MVD). May need to kill the MVD but depends on the port-mappings, so probably shouldn’t be a problem since we can configure ourselves what we want.
- Estimate: ~0.5 day
4. Connector Initialisation Script
- Create a seed script (e.g., registering assets, policies, contract definitions) — similar to MVD's seed process but for our use-case.
- Estimate: ~0.5–1 day
5. Test EDC connectors in our VM
- Run basic communications inside the VM between consumer & provider. (I can setup more connectors if we wish, by default will start with 2)
- Estimate: ~0.25-0.5
6. Testing Inter-TEMs Communication
- Goal: Make a catalog request to the connectors established by Marc-Antoine.
- Estimate: TBD (depends on the communication between Marc-Antoine; I'll start that already)
EXTRA STEPS AFTER THAT
7. Federated Catalog Setup
- Setup the FC component.
- Estimate: TBD (haven't fully looked into it yet but there are some documentation for basic FC setup.
8. Dockerization
- Dockerise the connectors, this is where my weak point comes in and isn't necessary to start, but if we want to package it more conveniently I can take time to figure it out.
- Estimate: TBD
Edited by Robert Sahakyan