-
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 API #2709
feat: dataspace protocol negotiation API #2709
Conversation
Codecov ReportPatch and project coverage have no change.
📣 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 #2709 +/- ##
=======================================
Coverage 64.77% 64.77%
=======================================
Files 956 956
Lines 19603 19603
Branches 1171 1171
=======================================
Hits 12697 12697
Misses 6453 6453
Partials 453 453
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. |
71e11db
to
9e914d8
Compare
...ava/org.eclipse.edc.protocol.dsp.negotiation.transform/DspNegotiationTransformExtension.java
Fixed
Show fixed
Hide fixed
...i/src/main/java/org/eclipse/edc/protocol/dsp/negotiation/api/DspNegotiationApiExtension.java
Outdated
Show resolved
Hide resolved
...pi/src/main/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/NegotiationApi.java
Outdated
Show resolved
Hide resolved
...main/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/NegotiationController.java
Outdated
Show resolved
Hide resolved
...main/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/NegotiationController.java
Outdated
Show resolved
Hide resolved
...c.protocol.dsp.negotiation.transform/to/JsonObjectToContractAgreementRequestTransformer.java
Outdated
Show resolved
Hide resolved
967552b
to
df8f882
Compare
df8f882
to
3538129
Compare
3538129
to
f17dace
Compare
f17dace
to
ad6af77
Compare
I addressed your comments @ndr-brt and added a simplified test, thx @ronjaquensel! |
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 had a bunch of minor nits and one important change regarding the claim token check
...n/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationController.java
Outdated
Show resolved
Hide resolved
...n/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationController.java
Outdated
Show resolved
Hide resolved
...n/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationController.java
Outdated
Show resolved
Hide resolved
...n/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationController.java
Show resolved
Hide resolved
...n/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationController.java
Show resolved
Hide resolved
...src/main/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationApi.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationApi.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationApi.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationApi.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationApi.java
Outdated
Show resolved
Hide resolved
...n/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationController.java
Outdated
Show resolved
Hide resolved
...n/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationController.java
Show resolved
Hide resolved
...va/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationControllerTest.java
Outdated
Show resolved
Hide resolved
...n/java/org/eclipse/edc/protocol/dsp/negotiation/api/controller/DspNegotiationController.java
Outdated
Show resolved
Hide resolved
91da032
to
d6eb239
Compare
d6b41d2
to
8324384
Compare
* feat(dsp-negotiation): implement api module * feat(dsp-negotiation): implement spi module * feat(dsp-negotiation): add dsp-negotiation-transform * refactor(dsp-negotiation-api): clean up controller implementation * chore(dsp-transform): add TypeUtil * chore(dsp-negotiation-api): implement controller tests * chore(dsp-negotiation-api): extract isOfExpectedType to TypeUtil * chore(dsp-negotiation-api): update openApi documentation * chore(dsp-negotiation-api): remove ContractNegotiationService from controller * refactor(dsp-negotiation-api): remove DspNegotiationApi * refactor(dsp-negotiation-api): move object mapper * refactor(dsp-negotiation-api): replace @MethodSource with @ArgumentsSource in test * refactor(dsp-negotiation-api): move duplicated calls to processMessage * fix: resolve broken imports * fix: resolve conflicts of rebase * fix(dsp): add missing and change wrong annotations
What this PR changes/adds
Implements contract negotiation api.
Why it does that
Support the dataspace protocol specification.
Further notes
Adds dependencies:
:data-protocols:dsp:dsp-negotiation:dsp-negotiation-spi
:data-protocols:dsp:dsp-negotiation:dsp-negotiation-transform
(classes are contributed with feat: dataspace protocol negotiation transformer #2771)Linked Issue(s)
Relates #2474
Checklist
no-changelog
)