Skip to content

Feat/initial constructx policy extension#7

Open
rgalan-dev wants to merge 4 commits into
developfrom
feat/initial-constructx-policy-extension
Open

Feat/initial constructx policy extension#7
rgalan-dev wants to merge 4 commits into
developfrom
feat/initial-constructx-policy-extension

Conversation

@rgalan-dev
Copy link
Copy Markdown

WHAT

Adds an initial minimal constructx-policy extension to the Construct-X EDC.

The extension introduces support for validating Membership Credentials in EDC policy evaluation flows.

Implemented components include:

  • ConstructxPolicyExtension
  • ConstructxPolicyRegistration
  • MembershipCredentialConstraintFunction
  • policy scope registration
  • unit tests for membership constraint evaluation and registration

Currently supported policies:

  • ConstructXMembership == active
  • legacy Membership == active

The extension evaluates Membership Credentials provided through the ParticipantAgent "vc" claim.

WHY

A dedicated Construct-X policy extension is required so that Construct-X specific Membership Credentials can be evaluated during policy enforcement.

This provides the foundation for upcoming wallet integration work, where credentials managed by the Wallet project will be injected into the Connector policy context and used during contract negotiation and transfer processes.

The initial implementation is intentionally minimal and currently focuses only on Membership Credential verification.

FURTHER NOTES

  • Added new Gradle module:

    • edc-extensions:constructx-policy
  • Added service registration under:

    • META-INF/services/org.eclipse.edc.spi.system.ServiceExtension
  • Removed copied Factory-X certification-related functionality to keep the initial implementation minimal

  • Added README documentation for the new extension

  • Legacy Membership policy support is currently retained for compatibility reasons

Closes #CXAP4-238

@rgalan-dev rgalan-dev self-assigned this May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant