Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
336f2ee
Update requests of EDC connector client to v3 for registering asset/p…
DaviddeBest-TNO Oct 30, 2025
942b1f3
Rename log to capitalized
DaviddeBest-TNO Nov 17, 2025
3e81c21
Reformat EDC files
DaviddeBest-TNO Nov 17, 2025
3c38c83
Change EDC service to only hold one client
DaviddeBest-TNO Nov 17, 2025
2c20659
Update requests for catalog request, contract agreement and transfer …
DaviddeBest-TNO Nov 18, 2025
1bca4a6
Add participant id to runtime connection details
DaviddeBest-TNO Nov 18, 2025
900800a
Add polling for transfer process status and request for endpoind data…
DaviddeBest-TNO Nov 19, 2025
8a5df41
Proxy datatransfer of runtimes via EDC dataplanes
DaviddeBest-TNO Nov 28, 2025
b79b862
Remove token posting and checking
DaviddeBest-TNO Nov 28, 2025
600a64a
Move loading of config to EDC service
DaviddeBest-TNO Nov 28, 2025
1bf2f7d
Remove EDC properties object
DaviddeBest-TNO Nov 29, 2025
1ea26ef
Clean up EDC service
DaviddeBest-TNO Nov 29, 2025
7d9bb20
Merge EDC service and client into one class
DaviddeBest-TNO Nov 29, 2025
3d404fa
Remove unused functions
DaviddeBest-TNO Nov 29, 2025
a508f79
Move creation of transfer process to edc service and reuse Transfer p…
DaviddeBest-TNO Nov 29, 2025
770b4bc
Clean up unused variables
DaviddeBest-TNO Nov 29, 2025
8b4d872
Remove unused tokenmanager class
DaviddeBest-TNO Nov 29, 2025
e4a3b3a
Remove unused Token record class
DaviddeBest-TNO Nov 29, 2025
80b5e96
Refactor configuring connector
DaviddeBest-TNO Nov 29, 2025
400df38
Remove unnecessary config values
DaviddeBest-TNO Nov 29, 2025
b2102ba
Combine EDC properties in participant properties object
DaviddeBest-TNO Dec 5, 2025
732a857
Rework EDC service class
DaviddeBest-TNO Dec 5, 2025
d2627bc
Remove unused exposed URI
DaviddeBest-TNO Dec 5, 2025
59d729a
Move temporary EDC example to this repository
DaviddeBest-TNO Dec 17, 2025
4dc7cda
Fix null bug
DaviddeBest-TNO Jan 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions examples/edc-example/connector/certs/cert.pem

This file was deleted.

Binary file removed examples/edc-example/connector/certs/cert.pfx
Binary file not shown.
28 changes: 0 additions & 28 deletions examples/edc-example/connector/certs/key.pem

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file removed examples/edc-example/connector/libs/connector.jar
Binary file not shown.
41 changes: 41 additions & 0 deletions examples/edc-example/data/alice/alice_vc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[
{
"participantContextId": "alice",
"id": "03d712fe-410e-41d0-8355-7febea29c172",
"metadata": {
"credentialObjectId": "6621363b-1c65-48a1-8df4-ecb11ea9ca52"
},
"issuancePolicy": null,
"reissuancePolicy": null,
"verifiableCredential": {
"rawVc": "eyJraWQiOiJkaWQ6d2ViOmhvc3QtYXV0aG9yaXR5I2F1dGhvcml0eS1rZXkiLCJhbGciOiJFZDI1NTE5In0.eyJzdWIiOiJkaWQ6d2ViOmhvc3QtYWxpY2UiLCJuYmYiOjE3NjI3OTA0OTIsImlzcyI6ImRpZDp3ZWI6aG9zdC1hdXRob3JpdHkiLCJleHAiOjE3NjI3OTA1NTIsImlhdCI6MTc2Mjc5MDQ5MiwidmMiOnsiY3JlZGVudGlhbFN1YmplY3QiOlt7ImlkIjoiZGlkOndlYjpob3N0LWFsaWNlIiwibWVtYmVyc2hpcFR5cGUiOiJmdWxsTWVtYmVyIiwid2Vic2l0ZSI6ImV4YW1wbGUuY29tIiwiY29udGFjdCI6ImFsaWNlLW1haWxAZXhhbXBsZS5jb20iLCJzaW5jZSI6IjIwMjUtMDEtMDFUMDA6MDA6MDAifV0sImlzc3VhbmNlRGF0ZSI6IjIwMjUtMTEtMTBUMTY6MDE6MzIuNTYyMjE1MDYxWiIsIm5hbWUiOm51bGwsImRlc2NyaXB0aW9uIjpudWxsLCJpZCI6ImFmYzYyMTc5LTkzOGYtNDJmYy04MTRmLWEzOTI3MDZmM2E4NyIsInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJNZW1iZXJzaGlwQ3JlZGVudGlhbCJdLCJAY29udGV4dCI6WyJodHRwczovL3czaWQub3JnL3RyYWN0dXN4LXRydXN0L3YwLjgiLCJodHRwczovL3d3dy53My5vcmcvMjAxOC9jcmVkZW50aWFscy92MSJdLCJpc3N1ZXIiOnsiaWQiOiJkaWQ6d2ViOmhvc3QtYXV0aG9yaXR5IiwiYWRkaXRpb25hbFByb3BlcnRpZXMiOnt9fSwiZGF0YU1vZGVsVmVyc2lvbiI6IlZfMV8xIiwiZXhwaXJhdGlvbkRhdGUiOiIyMDI4LTA4LTA2VDE2OjAxOjMyLjU2MjIxNTgxOFoiLCJjcmVkZW50aWFsU3RhdHVzIjpbXX0sImp0aSI6IjFmODVjYjdkLTAzNWQtNDI2YS04N2E4LTViNjFmNmQ5ZjVmYSJ9.8gqcaTg1CnmnjIFLE4V42tJrHjSE4CA0sAgzVJdRxOhk3eOGAmJeRzTdP4prgnCWuV9_PJpwy5ViAsSwInP1Ag",
"format": "VC1_0_JWT",
"credential": {
"credentialSubject": [
{
"id": "did:web:host-alice",
"membershipType": "fullMember",
"website": "example.com",
"contact": "[email protected]",
"since": "2025-01-01T00:00:00"
}
],
"id": "afc62179-938f-42fc-814f-a392706f3a87",
"type": [
"VerifiableCredential",
"MembershipCredential"
],
"issuer": {
"id": "did:web:host-authority",
"additionalProperties": {}
},
"issuanceDate": "2025-11-10T16:01:32.562215061Z",
"expirationDate": "2028-08-06T16:01:32.562215818Z",
"credentialStatus": [],
"description": null,
"name": null,
"dataModelVersion": "V_1_1"
}
}
}
]
52 changes: 52 additions & 0 deletions examples/edc-example/data/alice/config/alice-controlplane.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# API definition
web.http:
port: 9080
path: "/api"
control:
port: 9081
path: "/api/control"
management:
port: 9082
path: "/api/management"
# auth: #TODO
protocol:
port: 9083
path: "/api/dsp"
catalog:
port: 9084
path: "/api/catalog"
# auth: #TODO

# CORS
edc.web.rest.cors:
enabled: true
headers: "origin,content-type,accept,authorization,x-api-key"

# Connector-level identifiers & callback
edc.participant.id: "did:web:host-alice"
edc.dsp.callback.address: "http://localhost:9083/api/dsp"

# DID & identity
edc.iam:
credential.revocation.mimetype: "application/json"
issuer.id: "did:web:host-alice"
did.web.use.https: false
sts.oauth:
token.url: "http://localhost:7094/api/v1/sts/token"
client.id: "did:web:host-alice"
client.secret.alias: "alice-sts-client-secret"
# Only used when *not* relying on the HashiCorp vault:
client.secret: "1yj1R5jqQr1Zy1M7wg9y8uJjHsUQQH1LOp3oF0IFxeo="

# Self-description metadata - required with DE-EDC control plane image
edc.selfdescription:
logo: "https://static.wikia.nocookie.net/fictionalcompanies/images/c/c2/ACME_Corporation.png"
name: "Alice"
description: "Demo agent Alice"

# Registration & trusted issuers
edc.ih.dcp.trusted.issuers: "did:web:host-authority"
edc.registration.service:
url: "http://localhost:9051/api/registration"
autoregister: true
id: "did:web:host-authority"
20 changes: 20 additions & 0 deletions examples/edc-example/data/alice/config/alice-dataplane.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
web.http:
port: 8090
path: "/api"

control:
port: 8091
path: "/api/control"

public:
port: 8094
path: "/api/v1/public"

edc:
dpf.selector.url: "http://localhost:9081/api/control/v1/dataplanes"

component.id: "f45cacf3-f81b-4c1f-9b93-6f8603fb44c6"

transfer.proxy.token:
signer.privatekey.alias: "private-key"
verifier.publickey.alias: "public-key"
88 changes: 88 additions & 0 deletions examples/edc-example/data/alice/config/alice-identityhub.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
web.http:
port: 7090
path: "/api"

# This contains both the Presentation & Storage API (Github Identity Hub API documentation),
# now referred to as the Credentials API. Possibly also the same as the DCP API as mentioned
# in the Adopters manual.
credentials:
port: 7091
# This is a deviation from the Data Ecosystems EDC demo configuration, which
# uses path `/api/resolution`.
path: "/api/credentials"
identity:
port: 7092
# This is a deviation from the Data Ecosystems EDC demo configuration, which
# uses path `/api/management`.
path: "/api/identity"
did:
port: 7093
path: "/"
sts:
port: 7094
path: "/api/v1/sts"
jwks:
port: 7095
path: "/api/jwks"
issueradmin:
port: 7096
path: "/api/issueradmin"
issuance:
port: 7097
path: "/api/issuance"
statuslist:
port: 7098
path: "/statuslist"

edc:
web.rest.cors:
enabled: true
headers: "origin, content-type, accept, authorization, x-api-key"
origins: "*"
methods: "GET, POST, DELETE, PUT, OPTIONS, PATCH"

iam.did.web.use.https: false

# Can probably be removed as the accounts sts api has been removed
api.accounts.key: "YaO5UMkYg2w586Cg017iy6Q7A6-EyuOt"

issuer.statuslist.signing.key.alias: "alice-signing-key"

ih:
# this value can be removed once the official issuance implementation fully replaces the ad-hoc one.
issuer.participant.id: "alice"
api:
participants:
# This is used as the participant context ID within the Identity Hub.
# It therefore is present in path of URLs to the API of this Hub
# instance, base64 encoded.
# Not the same as the participant ID (as assigned to the control plane),
# which is a did:web.
alice:
name: "alice"
did: "did:web:host-alice"
active: true
roles: # Required but can be empty
password: "$2a$10$KcjjniNy/p45X3yOWcDOY.lZ7ziNpA9pngh218lVMzdRqgYl0Wf06"
private.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1DNENBUUF3QlFZREsyVndCQ0lFSURxUFUvdHlNakVhOGw4TmN3bXhia1ZMendnYWxjc002RGxkejNBbmtscDYKLS0tLS1FTkQgUFJJVkFURSBLRVktLS0tLQo=
public.key: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUNvd0JRWURLMlZ3QXlFQVNWRmlUcW90aE55WVZqN0gyNXdUSUdLa2N5ZGFBUklzTTBEWDcwODlDdlk9Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo=
sts.secret: "1yj1R5jqQr1Zy1M7wg9y8uJjHsUQQH1LOp3oF0IFxeo="
credentials: "data/alice_vc.json" # Required!
api.key.override: "YWxpY2U=.c3VwZXItc2VjcmV0LWtleQo="
services:
dsp:
endpoint: "http://localhost:9083/api/dsp"
id: "dsp"
type: "DSPMessaging"
credential:
endpoint: "http://localhost:7091/api/resolution/v1/participants/YWxpY2U="
id: "CredentialService"
type: "CredentialService"
issuerservice:
endpoint: "http://localhost:7097/api/issuance/v1alpha/participants/YWxpY2U="
id: "IssuerService"
type: "IssuerService"




3 changes: 3 additions & 0 deletions examples/edc-example/data/alice/keys/alice-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-----BEGIN PRIVATE KEY-----
MC4CAQAwBQYDK2VwBCIEIDqPU/tyMjEa8l8NcwmxbkVLzwgalcsM6Dldz3Anklp6
-----END PRIVATE KEY-----
3 changes: 3 additions & 0 deletions examples/edc-example/data/alice/keys/alice-pub.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-----BEGIN PUBLIC KEY-----
MCowBQYDK2VwAyEASVFiTqothNyYVj7H25wTIGKkcydaARIsM0DX7089CvY=
-----END PUBLIC KEY-----
Loading