core: make pull and push data flow controllers generic #3615
Labels
core feature
enhancement
New feature or request
feature_request
New feature request, awaiting triage
stale
Open for x days with no activity
Feature Request
Currently,
ProviderPushTransferDataFlowController
andConsumerPullTransferDataFlowController
directly reference HTTP transfers. The controllers should be made generic so they can serve as the default mechanism for handling interactions via the dataplane client API.Which Areas Would Be Affected?
EDC Core.
Solution Proposal
ConsumerPullTransferDataFlowController
does the following:and
ProviderPushTransferDataFlowController
:To make these generic, we introduce a
DataTransferMetadataRegistry
:Each transfer type (e.g. HTTP_PROXY) will be registered with the metadata registry using a
TransferTypeDefinition.
A transfer type for HTTP push will also need to be defined.The push and pull controllers will be registered as priority 0 and use the
DataTransferTypeRegistry
to determine if they can handle a transfer process by looking up theFlowType.
Since the controllers will be registered with the lowest priority, they will only be engaged if no other controllers are registered.The text was updated successfully, but these errors were encountered: