Skip to content

feat: add validation of profile/protocol field in v5 management api#5752

Merged
wolf4ood merged 2 commits into
eclipse-edc:mainfrom
wolf4ood:feat/5737_profile_check_mgmt_api
May 18, 2026
Merged

feat: add validation of profile/protocol field in v5 management api#5752
wolf4ood merged 2 commits into
eclipse-edc:mainfrom
wolf4ood:feat/5737_profile_check_mgmt_api

Conversation

@wolf4ood

@wolf4ood wolf4ood commented May 18, 2026

Copy link
Copy Markdown
Contributor

What this PR changes/adds

add validation of profile/protocol field in v5 management api:

  • Adds ParticipantProfileResolver into catalog / negotiation / transfer controller for checking that the participant can handle the dsp request with the specified profile.
  • Refactor the ParticipantProfileResolver to remove Optional in the resolve, returning null instead if the profile is not found.

Why it does that

Briefly state why the change was necessary.

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 #5737

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

@wolf4ood wolf4ood added the enhancement New feature or request label May 18, 2026
@wolf4ood wolf4ood marked this pull request as ready for review May 18, 2026 12:30
@wolf4ood wolf4ood requested a review from a team as a code owner May 18, 2026 12:30

@paullatzelsperger paullatzelsperger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LTGM, with some minor nits.

@wolf4ood wolf4ood merged commit 99d53e5 into eclipse-edc:main May 18, 2026
20 checks passed
@wolf4ood wolf4ood deleted the feat/5737_profile_check_mgmt_api branch May 18, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check the profile/protocol field on mgmt api v5

4 participants