-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CAPPL-43] Wireup gateway to fetch (#14723)
* chore: extract webapi connector_handler to outgoing_connector_handler * feat: wireup gateway to fetch * fix: import libocr correct version * feat: HandleGatewayMessage for compute and handleComputeActionMessage implementation * chore: move OutgoingConnectorHandler to webapi pkg * chore: extract fetcher creation to outgoingConnectorHandler * fix: allow single execute call to make multiple requests without mixing results * chore: dedup on HandleGatewayMessage * fix: test & lint * chore: rename handler type to web-api-outgoing * chore: rename IDGenerator * chore: move CreateFetcher to compute * chore: move GetGatewayConnector * chore: make createFetcher private * chore: reuse TargetResponsePayload instead of FetchResponse * chore: rename TargetResponsePayload and TargetRequestPayload * fix: align with new sdk.FetchResponse update * test: fix tests with new ExecutionError & ErrorMessage fields * test: fix engine_test * fix: gomodtidy dependencies * chore: switch back rename of WebAPICapabilitiesType * test: add handler coverage * fix: use handleWebAPIOutgoingMessage to handle both Target and Compute * chore: clean unused handleWebAPITargetMessage * chore: remove IDGenerator as a config parameter and pass it down on NewAction * chore: validMethod implementation * test: fix engine test * test: fix test linting errors
- Loading branch information
1 parent
f38b8aa
commit 1636059
Showing
15 changed files
with
565 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.