-
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
doc(policies): add policy description in tractusx-edc #856
Conversation
This pull request is stale because it has been open for 7 days with no activity. |
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.
Just did a quick syntax check 😉
Hi, it seems sometimes |
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.
There are still a lot of differences between the example payloads in the document. I highlighted different weaknesses in my review.
I would strongly recommend going through the whole document and checking all payloads carefully, if they are consistent and aligned with the other ones presented.
This pull request is stale because it has been open for 7 days with no activity. |
@BenediktSR Do you need support? |
This pull request is stale because it has been open for 7 days with no activity. |
This pull request was closed because it has been inactive for 7 days since being marked as stale. |
Reopen as the inactivity might be related to the Christmas holiday season. |
Please check for redundancy to this PR: |
This pull request is stale because it has been open for 7 days with no activity. |
This pull request was closed because it has been inactive for 7 days since being marked as stale. |
yes, we noticed that on different machines (also with the same OS!) it gives different sorting. |
{ | ||
"odrl:action": "use", | ||
"odrl:constraint": { | ||
"@type": "LogicalConstraint", |
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.
we should remove the not required LogicalConstraint in Usage Policies.
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 said it before and I'll say it again: The implementation can handle logical constraints. If they are discouraged, this should be laid out in normative documents, not in descriptive ones like usage docs.
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.
Then they must be able to handle both options. Example here:
eclipse-tractusx/tractusx-profiles#12
Both are ODRL compliant and have the same meaning. This is the thing that comes with ODRL ;-)
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.
we should remove the not required LogicalConstraint in Usage Policies.
To expand on what @arnoweiss said, we will absolutely not eliminate LogicalConstraint
support from the Tractus-X EDC implementation. If a use case or dataspace member has a need for logical constraints, TX-EDC will be able to support them.
That is distinct from the question of interoperability. A dataspace such as Catena-X may decide the minimum bar for interoperability is that all participants must support an atomic constraint or a logical and
constraint. In that case, I'll point out two things:
- The must-support statement does not restrict systems from implementing more than that. Most interoperability efforts I am familiar with take this approach.
- Removing
LogicalConstraint
support would remove support forand
constraints and any multiplicity constraint. This would mean that policies could only be authored with atomic constraints, which would be a severe limitation.
This is also distinct from supporting the multiple serialization formats. For example removing the need for specifying @type
, which would default to an and
constraint.
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.
Yes, I agree, we should not "remove" it from EDC. that is clear. As long as EDC does also support ODRL allowed way of describing this with:
"constraint": [
{
"leftOperand": "cx-policy:FrameworkAgreement",
"operator": "eq",
"rightOperand": "traceability:v1.0"
},
...
]
all is good and I only would like to see this in the documentation, that users are aware they need to be able to handle both. Otherwise, we would need to restrict how ODRL can be used.
@jimmarino Do we have any issue with EDC with the given example? When I tried, I couldn't' detect one with 0.5.3
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.
Please verify this against the latest upstream EDC implementation and if it is not supported, file an enhancement request. The issue will then need to be triaged, accepted (or rejected), and prioritized by the committers.
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.
Ok I'm giving up on this. Taking this as tx-edc setting the rules here. It must be LogicalConstraint->and
, independent from what may be allowed with ODRL.
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.
That's not what I said. As I indicated, TX-EDC will continue to support multiple logical constraint types, including specifying them in ODRL serialized as Json-Ld. It is also reasonable for upstream EDC to support not specifying @type
and interpreting that as a logical and
constraint. However, if that is not supported, it should be submitted as a feature request to the EDC project.
This is how Eclipse open-source projects work. It's not about "tx-edc setting the rules." It's about providing proper governance overseen by the committers.
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.
This is how Eclipse open-source projects work. It's not about "tx-edc setting the rules." It's about providing proper governance overseen by the committers.
yes, correct. not the best wording I used. Thanks for the clarification @jimmarino
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.
The dash license tool pipeline is still failing. Please ensure that the DEPENDENCIES
file is up to date.
@BenediktSR you have several open reviews. Could you re-request a review from the reviewers? |
As Arno has already said, there are always ongoing discussions on this topic. Arno is looking into this. He has agreed to revise the passages. Thanks a lot!!! |
This pull request is stale because it has been open for 7 days with no activity. |
Quality Gate passedIssues Measures |
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.
Thanks for fixing the mentioned issues and open points!
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.
(Approval related to my mentioned point of the outdated DEPENDENCIES
file which has been solved)
I re-requested review to the ones that commented but not approved, my proposal would be to merge this by tomorrow EOB if no one is against it, 4 months are an huge amount of time for a PR to stay open, further fixes can be done after then. |
there we go |
thanks - I agree that PRs should never stay open for this long. it fell victim to uncoordinated improvement efforts for the docs. glad it's merged now. we'll do better in the future. |
Tanks a lot guys, especially to Arno, who took the lead at the end. Yes, I think it was another learning experience for us! |
WHAT
Add new policy description to tractusx-edc
WHY
There are many policy descriptions scattered around. The aim is to have a description that describes everything you need to know about policies in Catena-X. The destination of this description should be the tractusx-edc repository.
FURTHER NOTES
Closes #701