-
Notifications
You must be signed in to change notification settings - Fork 240
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: dataspace protocol negotiation transformer #2771
feat: dataspace protocol negotiation transformer #2771
Conversation
...edc.protocol.dsp.negotiation.transform/to/JsonObjectToContractRequestMessageTransformer.java
Fixed
Show fixed
Hide fixed
...c.protocol.dsp.negotiation.transform/to/JsonObjectToContractAgreementMessageTransformer.java
Fixed
Show fixed
Hide fixed
Codecov ReportPatch coverage:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #2771 +/- ##
==========================================
+ Coverage 64.79% 64.91% +0.12%
==========================================
Files 953 965 +12
Lines 19561 19754 +193
Branches 1169 1178 +9
==========================================
+ Hits 12674 12824 +150
- Misses 6434 6471 +37
- Partials 453 459 +6
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
68f35e7
to
2e8192d
Compare
2e8192d
to
b39c129
Compare
b39c129
to
e05ee9e
Compare
Open question: How to set |
...ava/org.eclipse.edc.protocol.dsp.negotiation.transform/DspNegotiationTransformExtension.java
Outdated
Show resolved
Hide resolved
...ava/org.eclipse.edc.protocol.dsp.negotiation.transform/DspNegotiationTransformExtension.java
Outdated
Show resolved
Hide resolved
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.
pretty much ok, apart from that potential bug in JsonObjectToContractNegotiationEventMessageTransformer
, we should remove the side effect from transformString
and make it return the string instead of evaluating a function passed.
Maybe first adding a new method, to avoid bloating this PR.
...otocol.dsp.negotiation.transform/from/JsonObjectFromContractAgreementMessageTransformer.java
Outdated
Show resolved
Hide resolved
...se.edc.protocol.dsp.negotiation.transform/from/JsonObjectFromContractRequestTransformer.java
Outdated
Show resolved
Hide resolved
...c.protocol.dsp.negotiation.transform/to/JsonObjectToContractAgreementMessageTransformer.java
Outdated
Show resolved
Hide resolved
...col.dsp.negotiation.transform/to/JsonObjectToContractNegotiationEventMessageTransformer.java
Outdated
Show resolved
Hide resolved
...col.dsp.negotiation.transform/to/JsonObjectToContractNegotiationEventMessageTransformer.java
Outdated
Show resolved
Hide resolved
...edc.protocol.dsp.negotiation.transform/to/JsonObjectToContractRequestMessageTransformer.java
Outdated
Show resolved
Hide resolved
data-protocols/dsp/dsp-negotiation/dsp-negotiation-transform/build.gradle.kts
Outdated
Show resolved
Hide resolved
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 some specific changes, otherwise for me OK pending others' comments.
data-protocols/dsp/dsp-negotiation/dsp-negotiation-spi/build.gradle.kts
Outdated
Show resolved
Hide resolved
...egotiation.transform/from/JsonObjectFromContractAgreementVerificationMessageTransformer.java
Outdated
Show resolved
Hide resolved
...dsp.negotiation.transform/from/JsonObjectFromContractNegotiationEventMessageTransformer.java
Outdated
Show resolved
Hide resolved
...col.dsp.negotiation.transform/to/JsonObjectToContractNegotiationEventMessageTransformer.java
Outdated
Show resolved
Hide resolved
...p.negotiation.transform/to/JsonObjectToContractNegotiationTerminationMessageTransformer.java
Outdated
Show resolved
Hide resolved
e39de4a
to
1366240
Compare
1366240
to
ca0292d
Compare
ed166dc
to
9c73f2d
Compare
@@ -17,5 +17,4 @@ plugins { | |||
} | |||
|
|||
dependencies { |
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 whole dependencies
block can be removed
…jectionReason (spec)
364b1f1
to
c1c79d7
Compare
--------- Co-authored-by: Jan Peter Meyer <[email protected]> Co-authored-by: Ronja Quensel <[email protected]>
What this PR changes/adds
Implements contract negotiation spi and transformers:
:data-protocols:dsp:dsp-negotiation:dsp-negotiation-spi
:data-protocols:dsp:dsp-negotiation:dsp-negotiation-transform
spec alignments:
callback
inContractAgreementMessage
ContractNegotiationEventMessage
code
inContractNegotiationTerminationMessage
rejectionReason
inContractNegotiationTerminationMessage
contractStart
andcontractEnd
inContractOffer
, see feat: implement policies for contract start/end date #2758checksum
toContractNegotiation
Why it does that
Support the dataspace protocol specification.
Further notes
Derived issue #2775.
Linked Issue(s)
Relates #2474
Closes #2764
Checklist
no-changelog
)