Skip to content
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

Merged

Conversation

juliapampus
Copy link
Contributor

@juliapampus juliapampus commented Apr 12, 2023

What this PR changes/adds

Implements contract negotiation api.

Why it does that

Support the dataspace protocol specification.

Further notes

Adds dependencies:

Linked Issue(s)

Relates #2474

Checklist

  • added appropriate tests?
  • performed checkstyle check locally?
  • added/updated copyright headers?
  • documented public classes/methods?
  • added/updated relevant documentation?
  • assigned appropriate label? (exclude from changelog with label no-changelog)
  • formatted title correctly? (take a look at the CONTRIBUTING and Etiquette for pull requests for details)

@juliapampus juliapampus added enhancement New feature or request dataspace-protocol related to the dataspace protocol labels Apr 12, 2023
@juliapampus juliapampus temporarily deployed to Azure-dev April 12, 2023 17:32 — with GitHub Actions Inactive
@codecov-commenter
Copy link

codecov-commenter commented Apr 12, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (90c51e7) 64.77% compared to head (3538129) 64.77%.

📣 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           
Impacted Files Coverage Δ
...e/edc/web/jersey/mapper/EdcApiExceptionMapper.java 100.00% <ø> (ø)

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@juliapampus juliapampus changed the title feat: dataspace protocol contract negotiation feat: dataspace protocol negotiation API Apr 12, 2023
@juliapampus juliapampus force-pushed the feat/dsp_contract_negotiation branch from 71e11db to 9e914d8 Compare April 12, 2023 18:02
@juliapampus juliapampus temporarily deployed to Azure-dev April 12, 2023 18:02 — with GitHub Actions Inactive
@juliapampus juliapampus temporarily deployed to Azure-dev April 12, 2023 18:22 — with GitHub Actions Inactive
@juliapampus juliapampus temporarily deployed to Azure-dev April 12, 2023 18:22 — with GitHub Actions Inactive
@juliapampus juliapampus force-pushed the feat/dsp_contract_negotiation branch from 967552b to df8f882 Compare April 19, 2023 19:19
@juliapampus juliapampus temporarily deployed to Azure-dev April 19, 2023 19:20 — with GitHub Actions Inactive
@juliapampus juliapampus force-pushed the feat/dsp_contract_negotiation branch from df8f882 to 3538129 Compare April 21, 2023 07:53
@juliapampus juliapampus temporarily deployed to Azure-dev April 21, 2023 07:54 — with GitHub Actions Inactive
@juliapampus juliapampus force-pushed the feat/dsp_contract_negotiation branch from 3538129 to f17dace Compare April 21, 2023 10:23
@juliapampus juliapampus temporarily deployed to Azure-dev April 21, 2023 10:24 — with GitHub Actions Inactive
@juliapampus juliapampus force-pushed the feat/dsp_contract_negotiation branch from f17dace to ad6af77 Compare April 21, 2023 11:54
@juliapampus juliapampus temporarily deployed to Azure-dev April 21, 2023 11:54 — with GitHub Actions Inactive
@juliapampus juliapampus requested review from ronjaquensel and removed request for jimmarino April 21, 2023 11:54
@juliapampus juliapampus marked this pull request as ready for review April 21, 2023 11:54
@juliapampus
Copy link
Contributor Author

I addressed your comments @ndr-brt and added a simplified test, thx @ronjaquensel!

@juliapampus juliapampus temporarily deployed to Azure-dev April 21, 2023 12:31 — with GitHub Actions Inactive
Copy link
Contributor

@jimmarino jimmarino left a 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

@juliapampus juliapampus force-pushed the feat/dsp_contract_negotiation branch from 91da032 to d6eb239 Compare April 24, 2023 11:25
@juliapampus juliapampus temporarily deployed to Azure-dev April 24, 2023 11:26 — with GitHub Actions Inactive
@juliapampus juliapampus temporarily deployed to Azure-dev April 24, 2023 11:32 — with GitHub Actions Inactive
@juliapampus juliapampus force-pushed the feat/dsp_contract_negotiation branch from d6b41d2 to 8324384 Compare April 24, 2023 11:32
@juliapampus juliapampus temporarily deployed to Azure-dev April 24, 2023 11:33 — with GitHub Actions Inactive
@juliapampus juliapampus temporarily deployed to Azure-dev April 24, 2023 11:33 — with GitHub Actions Inactive
@juliapampus juliapampus merged commit 91db532 into eclipse-edc:main Apr 24, 2023
@juliapampus juliapampus deleted the feat/dsp_contract_negotiation branch April 24, 2023 12:09
majadlymhmd pushed a commit to FraunhoferISST/edc-connector that referenced this pull request May 10, 2023
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dataspace-protocol related to the dataspace protocol enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants