-
Notifications
You must be signed in to change notification settings - Fork 266
docs: dataspace context DR #5007
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
docs/developer/decision-records/2025-05-28-dataspace-context/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Dataspace Context | ||
|
||
## Decision | ||
|
||
We'll introduce the concept of "Dataspace context", that will permit a connector to being able to interact with multiple | ||
dataspaces with potential different protocol versions, authentication and profiles | ||
ndr-brt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## Rationale | ||
|
||
At the moment the EDC connector only permits to support different protocol version at the same time, by having pluggable | ||
ndr-brt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
modules that add support for them. | ||
ndr-brt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
A Dataspace context is a more hi level concept that enables to define a set of components that will permit the connector | ||
ndr-brt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
to interact also with different dataspaces, by defining a set of these capabilities: | ||
ndr-brt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- wire protocol, version and binding | ||
- authentication protocol | ||
- identifier | ||
- scopes | ||
- ... | ||
ndr-brt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## Approach | ||
|
||
A Dataspace context will be bound to a single DSP endpoint. | ||
ndr-brt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Please note that will be possible to define multiple contexts for a single protocol version, there will be an api context | ||
ndr-brt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
for every dataspace. | ||
|
||
By default, there will be a single context registered for every DSP module (v0.8, 2024/1, 2025/1, ...) with default identity | ||
service (DCP), default identifier (DID) and so on. | ||
|
||
The adopter will then be able to override these ones with dataspace specific contexts with potentially different capabilities. | ||
That could be done through configuration, under the `edc.dataspace.context` group. | ||
If no setting is found, the current default `protocol` context will be used, otherwise: | ||
|
||
ndr-brt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
edc.dataspace.context.<name>.protocol=dataspace-protocol-http:2025/1 | ||
edc.dataspace.context.<name>.auth=dcp:1.0 | ||
edc.dataspace.context.<name>... | ||
``` | ||
|
||
Details about how to configure specific capabilities will come in the actual implementations. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.