Ran Ziv created ARIA-198:
----------------------------

             Summary: Add validations for custom workflows mechanism
                 Key: ARIA-198
                 URL: https://issues.apache.org/jira/browse/ARIA-198
             Project: AriaTosca
          Issue Type: Story
            Reporter: Ran Ziv
            Priority: Minor


{{WorkflowRunner}} allows working with custom workflows, however there can be 
several additional validations this class can do to ensure the custom workflow 
works right:

 - Errors other than ImportErrors aren't caught when attempting to import the 
workflow function - other errors caused by evaluation of module-level 
statements may be raised as well.

 - Errors raised by the workflow function itself aren't caught at all; 
Evaluation of the function should be in a try-except block.

 - The returned object from the workflow function is assumed to be a 
{{TaskGraph}}. This should be validated as well. 




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to