Open gerickson opened 5 years ago
input and output data
Not sure this is 100% a duplicate. The one issue on this front covers the syntax for describing that an action is single-phase (one-way) vs. two-phase (two-way) and what the name of the expected second phase of the two-phase (two-way) action is.
The other issue is describing the contents of the second phase of the two-phase (two-way) action.
F2F4: This needs to be modeled as data in the object definitions. For example, "correlation id" should be passed as input data in the action and as output data of the event.
In Weave Data Language (WDL), Commands (ODM "Actions") may either be one-way "fire-and-forget" requests or two-way request / responses. For the latter, the WDL syntax for indicating that a Command request has an expected response is to name that response with the
completion_event: <name of completion event>
key-value-pair.Relevant Example Schema Input Files
Missing or Unmapped WDL-to-ODM SDF Syntax
RESPONSE_EVENT
with the specified name.Example Input WDL
Example Output ODM SDF