-
Notifications
You must be signed in to change notification settings - Fork 256
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: introduces properties provider for DataFlowStartMessage #4044
feat: introduces properties provider for DataFlowStartMessage #4044
Conversation
...pi/src/main/java/org/eclipse/edc/connector/transfer/spi/flow/DataFlowPropertiesProvider.java
Fixed
Show fixed
Hide fixed
...pi/src/main/java/org/eclipse/edc/connector/transfer/spi/flow/DataFlowPropertiesProvider.java
Fixed
Show fixed
Hide fixed
9441a66
to
6169d80
Compare
6169d80
to
b6e6b4b
Compare
@ExtensionPoint | ||
public interface DataFlowPropertiesProvider { | ||
|
||
StatusResult<Map<String, String>> propertiesFor(TransferProcess transferProcess, Policy policy); |
Check notice
Code scanning / CodeQL
Useless parameter Note
@ExtensionPoint | ||
public interface DataFlowPropertiesProvider { | ||
|
||
StatusResult<Map<String, String>> propertiesFor(TransferProcess transferProcess, Policy policy); |
Check notice
Code scanning / CodeQL
Useless parameter Note
@@ -350,4 +315,63 @@ private TransferProcess.Builder transferProcessBuilder() { | |||
.counterPartyAddress("test.connector.address") | |||
.dataDestination(DataAddress.Builder.newInstance().type("test").build()); | |||
} | |||
|
|||
@Nested | |||
class Suspend { |
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 was late for review, but why put tests under private methods? Doesn't look correct
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.
which tests are private?
What this PR changes/adds
Allows adding additional/custom properties when sending the
DataFlowStartMessage
with the DPS protocolA default provider is created, which returns an empty map
Why it does that
extensibility
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Closes #4043