-
Notifications
You must be signed in to change notification settings - Fork 245
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
feat: Remove duplicate information in the initiate negotiation api request #3605
Conversation
…without icreasing the api version.
...se/edc/connector/api/management/contractnegotiation/validation/ContractRequestValidator.java
Show resolved
Hide resolved
...ava/org/eclipse/edc/connector/api/management/contractnegotiation/ContractNegotiationApi.java
Outdated
Show resolved
Hide resolved
Codecov ReportAttention:
❗ 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. |
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.
looks like there was some issues with rebase, as there are some changes coming from other commits
c14cacf
to
af64854
Compare
...ava/org/eclipse/edc/connector/api/management/contractnegotiation/ContractNegotiationApi.java
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.
last little nit, after that we'll be ready to merge
...ava/org/eclipse/edc/connector/api/management/contractnegotiation/ContractNegotiationApi.java
Outdated
Show resolved
Hide resolved
…on-api/src/main/java/org/eclipse/edc/connector/api/management/contractnegotiation/ContractNegotiationApi.java Co-authored-by: ndr_brt <[email protected]>
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.