Skip to content
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

feat: adds support for dcp v1.0 in default credential service client #4780

Conversation

wolf4ood
Copy link
Contributor

@wolf4ood wolf4ood commented Jan 31, 2025

What this PR changes/adds

adds support for dcp v1.0 in default credential service client with backward compatibility option.

This is marked as breaking change just notify the change of switching by default to dcp v1.0.

The dcp client can still support for now the v0.8 version by applying the setting

edc.dcp.v08.enabled=true

Why it does that

dcp v1.0 adoption

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Who will sponsor this feature?

Please @-mention the committer that will sponsor your feature.

Linked Issue(s)

Closes #4765

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@wolf4ood wolf4ood self-assigned this Jan 31, 2025
@wolf4ood wolf4ood added the enhancement New feature or request label Jan 31, 2025
@wolf4ood wolf4ood force-pushed the feat/4765_default_credential_service_dcp_v1_0 branch from 5d17e17 to 5950baa Compare January 31, 2025 16:39
@wolf4ood wolf4ood force-pushed the feat/4765_default_credential_service_dcp_v1_0 branch from 5950baa to 5231809 Compare February 3, 2025 08:21
@wolf4ood wolf4ood added the breaking-change Will require manual intervention for version update label Feb 3, 2025
@wolf4ood wolf4ood marked this pull request as ready for review February 3, 2025 08:47
@@ -87,6 +94,10 @@ public class IdentityAndTrustExtension implements ServiceExtension {
private String issuerId;
@Setting(description = "The period of the JTI entry reaper thread in seconds", defaultValue = DEFAULT_CLEANUP_PERIOD_SECONDS + "", key = "edc.sql.store.jti.cleanup.period")
private long reaperCleanupPeriod;

@Setting(description = "If set enable the dcp v0.8 namespace will be used", key = "edc.dcp.v08.enabled", required = false, defaultValue = "false")
private boolean enableDcpV08;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor nit: i would call that property edc.dcp.v08.forced, since we're "forcing" (rather than "enabling) the v0.8 namespace.

@wolf4ood wolf4ood merged commit d9083ce into eclipse-edc:main Feb 3, 2025
21 checks passed
@wolf4ood wolf4ood deleted the feat/4765_default_credential_service_dcp_v1_0 branch February 3, 2025 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Will require manual intervention for version update enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor DefaultCredentialServiceClient for DCP 1.0 support
3 participants