-
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
refactor(api): counterPartyAddress #3597
refactor(api): counterPartyAddress #3597
Conversation
Signed-off-by: Sascha Isele <[email protected]>
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.
Can we also note that this is a breaking change because it is not backwards compatible with prior connector versions before this commit?
Note, we should also discuss when to merge this.
...tor/api/management/contractnegotiation/transform/JsonObjectToContractRequestTransformer.java
Show resolved
Hide resolved
...se/edc/connector/api/management/contractnegotiation/validation/ContractRequestValidator.java
Show resolved
Hide resolved
...clipse/edc/connector/api/management/transferprocess/validation/TransferRequestValidator.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 #3597 +/- ##
=======================================
Coverage 72.09% 72.10%
=======================================
Files 897 897
Lines 17920 17949 +29
Branches 1018 1024 +6
=======================================
+ Hits 12920 12942 +22
- Misses 4563 4568 +5
- Partials 437 439 +2
☔ View full report in Codecov by Sentry. |
Added a note in the review: we need to discuss when to introduce this change due to DSP backward-compatibility issues. |
Signed-off-by: Sascha Isele <[email protected]>
Signed-off-by: Sascha Isele <[email protected]>
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 minor comments about the warning
messages.
@jimmarino I think this PR is not a breaking change (everything will work in the same way), the break part of the change will happen when we'll remove the old attributes. I don't see change in the DSP protocol either
...se/edc/connector/api/management/contractnegotiation/validation/ContractRequestValidator.java
Show resolved
Hide resolved
...nnector/api/management/transferprocess/transform/JsonObjectToTransferRequestTransformer.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Sascha Isele <[email protected]>
Signed-off-by: Sascha Isele <[email protected]>
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.
LGTM
What this PR changes/adds
Deprecates the remaining uses of
connectorAddress
andproviderUrl
in theContractNegotiationApi
andTransferProcessApi
.Instead,
counterPartyAddress
is used going forward.Why it does that
Use of consistent naming across the management api.
Further notes
It is important to note that this is a breaking change.
CAUTION ADVICED WHEN MERGING.
Linked Issue(s)
Closes #3343
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.