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

chore: refactor DataFlowRequest into DataFlowStartMessage #3913

Merged

Conversation

wolf4ood
Copy link
Contributor

@wolf4ood wolf4ood commented Feb 22, 2024

What this PR changes/adds

renames DataFlowRequest to DataFlowStartMessage and additional fields added

  • participantId
  • assetId
  • agreementId

Why it does that

refactoring for data plane signaling

Linked Issue(s)

Closes #3908

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

@Override
public Builder self() {
return this;
}

public DataPlaneManagerImpl build() {

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
Builder<DataFlow,DataPlaneStore,DataPlaneManagerImpl,Builder>.build
; it is advisable to add an Override annotation.
* @return the service to be used to serve the request, selected among the input {@code transferServices}, or {@code null} if the stream is empty or no service should be used.
*/
@Nullable
TransferService chooseTransferService(DataFlowStartMessage request, Stream<TransferService> transferServices);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'request' is never used.
@wolf4ood wolf4ood self-assigned this Feb 22, 2024
@wolf4ood wolf4ood added the refactoring Cleaning up code and dependencies label Feb 22, 2024
@wolf4ood wolf4ood force-pushed the feat/3908_data_flow_request_refactor branch 3 times, most recently from 6399595 to f44ec71 Compare February 22, 2024 16:57
@wolf4ood wolf4ood force-pushed the feat/3908_data_flow_request_refactor branch from f44ec71 to c5f1864 Compare February 22, 2024 17:08
@wolf4ood wolf4ood marked this pull request as ready for review February 22, 2024 17:17
@wolf4ood wolf4ood merged commit 3fb34eb into eclipse-edc:main Feb 23, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Cleaning up code and dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DPS: DataFlowRequest refactor
3 participants