-
Notifications
You must be signed in to change notification settings - Fork 54
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: add contract definition empty asset selector validator #1786
feat: add contract definition empty asset selector validator #1786
Conversation
...sset-selector/src/main/java/org/eclipse/tractusx/edc/validators/emptyassetselector/README.md
Show resolved
Hide resolved
Have we already discussed to enable that per default for Tractus-X? I would heavily support that... |
Believe during technical discussion it was set as default disabled to avoid adding breaking changes. Additionally as default it is seen as a "querying" approach, i. e., a filtering view in each no value in asset selector means no filter. Changing this would be adopter's choice. |
In the DR we agreed on "off by default": https://github.com/eclipse-tractusx/tractusx-edc/tree/main/docs/development/decision-records/2025-01-30-empty-asset-selector-validator BTW I don't have strong feelings here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I support Felix remark and have another documentation issue. In general, I think, this PR looks good to me, so I approve it already, although I would appreciate if you could improve the documentation remarks!
...sset-selector/src/main/java/org/eclipse/tractusx/edc/validators/emptyassetselector/README.md
Outdated
Show resolved
Hide resolved
...sset-selector/src/main/java/org/eclipse/tractusx/edc/validators/emptyassetselector/README.md
Outdated
Show resolved
Hide resolved
...g/eclipse/tractusx/edc/validators/emptyassetselector/EmptyAssetSelectorBlockerExtension.java
Outdated
Show resolved
Hide resolved
...g/eclipse/tractusx/edc/validators/emptyassetselector/EmptyAssetSelectorBlockerExtension.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/eclipse/tractusx/edc/validators/emptyassetselector/MandatoryIfNotBypass.java
Outdated
Show resolved
Hide resolved
...java/org/eclipse/tractusx/edc/validators/emptyassetselector/EmptyAssetSelectorValidator.java
Show resolved
Hide resolved
...sset-selector/src/main/java/org/eclipse/tractusx/edc/validators/emptyassetselector/README.md
Outdated
Show resolved
Hide resolved
@gerbigf I added your remarks. |
434346c
to
4c8cdc0
Compare
@ndr-brt |
|
WHAT
Adds a validator that replaces the existing contract definition validator for the data management API.
WHY
Implementation of #1774
Closes #1773