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: Remove duplicate information in the initiate negotiation api request #3605

Merged
merged 10 commits into from Nov 16, 2023

Conversation

tuncaytunc-zf
Copy link
Contributor

What this PR changes/adds

Removes the duplicate information in the initiate negotiation api request without increasing the API version

Why it does that

The offer and the policy have some duplicate values like id and assetId which are representing the same information.

Further notes

The offer will be logged as deprecates to avoid any braking changes

Linked Issue(s)

Closes #3395

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@tuncaytunc-zf tuncaytunc-zf removed the request for review from paullatzelsperger November 13, 2023 17:18
@tuncaytunc-zf tuncaytunc-zf added enhancement New feature or request api Feature related to the (REST) api labels Nov 13, 2023
@codecov-commenter
Copy link

codecov-commenter commented Nov 15, 2023

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (efb407e) 72.10% compared to head (61fa753) 71.75%.
Report is 9 commits behind head on main.

Files Patch % Lines
...ontract/spi/types/negotiation/ContractRequest.java 0.00% 7 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3605      +/-   ##
==========================================
- Coverage   72.10%   71.75%   -0.36%     
==========================================
  Files         897      909      +12     
  Lines       17919    18107     +188     
  Branches     1018     1027       +9     
==========================================
+ Hits        12920    12992      +72     
- Misses       4562     4672     +110     
- Partials      437      443       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ndr-brt ndr-brt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like there was some issues with rebase, as there are some changes coming from other commits

Copy link
Member

@ndr-brt ndr-brt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

last little nit, after that we'll be ready to merge

tuncaytunc-zf and others added 2 commits November 16, 2023 08:56
…on-api/src/main/java/org/eclipse/edc/connector/api/management/contractnegotiation/ContractNegotiationApi.java

Co-authored-by: ndr_brt <andrea.bertagnolli@gmail.com>
@ndr-brt ndr-brt merged commit 8c3013a into eclipse-edc:main Nov 16, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Feature related to the (REST) api enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

duplicate information in the initiate negotiation api request
3 participants