You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should be able to build this with the currently implemented primitives, needs to do roughly the following given an input template file, an output template file, and timeout:
template input
get ID from input payload
process templated input
poll payload state using ID (for up to timeout)
Once in a non-PROCESSING state get the execution output
if success, template output and compare to expected
Ideally this would be implemented on the Deployment class using something like async so multiple tests can run in parallel within the same process. The cli would support only one at a time.
The templating portions and output comparison should probably be composed in the cli function. That is, the main workflow runner method should take only a templated input payload. It should return a workflow Response object (this is a new thing) that hold state such as the final state, the output payload, and other useful things (tbd). Then it can be left up to the user how to compare when using this programatically.
The text was updated successfully, but these errors were encountered:
Should be able to build this with the currently implemented primitives, needs to do roughly the following given an input template file, an output template file, and timeout:
Ideally this would be implemented on the Deployment class using something like async so multiple tests can run in parallel within the same process. The cli would support only one at a time.
The templating portions and output comparison should probably be composed in the cli function. That is, the main workflow runner method should take only a templated input payload. It should return a workflow Response object (this is a new thing) that hold state such as the final state, the output payload, and other useful things (tbd). Then it can be left up to the user how to compare when using this programatically.
The text was updated successfully, but these errors were encountered: