-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
Service Arch 2022-07-11, Service Arch 2022-07-25
In this ticket, create a free function that accepts an IDL-defined command type and an operation context and executor. The function should remotely invoke (i.e. send) the command to a (for now) hard-coded host, and return a future to the user that will be set with the response received for the command or set with an error. For now, the targeted host can be hard-coded or use a localhost targeter, and no retry logic or error processing logic needs to be implemented.
This will serve as the 'core'/skeleton of the part of the async-remote-command-running API, and we will add retry logic, more complex targeting capabilities, more sophisticated error processing etc later. To test this, consider using the NetworkInterfaceMock infrastructure to write unittests.