You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2011/06/19 02:04:47 UTC
[jira] [Created] (OODT-206) WorkflowConditions should return a
WorkflowConditionOutput that contains failReasons
WorkflowConditions should return a WorkflowConditionOutput that contains failReasons
------------------------------------------------------------------------------------
Key: OODT-206
URL: https://issues.apache.org/jira/browse/OODT-206
Project: OODT
Issue Type: New Feature
Components: workflow manager
Environment: from JPL's internal JIRA pre Apache
Reporter: Chris A. Mattmann
Assignee: Chris A. Mattmann
Fix For: 0.4
The WorkflowConditions associated with a task currently only return true or false. While this has sufficed in the past, there really should be some sort of formal data structure (i.e. my "WorkflowConditionOutput" suggestion) that contains, at a minimum:
1. WorkflowCondition success, true or false
2. List<FailureReason> which contains a (list of) reason(s) why the condition failed
3. Metadata object representing the dynMetadata passed in to the WorkflowCondition (that it used to evaluate)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OODT-206) WorkflowConditions should return a
WorkflowConditionOutput that contains failReasons
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann updated OODT-206:
-----------------------------------
Issue Type: Sub-task (was: New Feature)
Parent: OODT-215
> WorkflowConditions should return a WorkflowConditionOutput that contains failReasons
> ------------------------------------------------------------------------------------
>
> Key: OODT-206
> URL: https://issues.apache.org/jira/browse/OODT-206
> Project: OODT
> Issue Type: Sub-task
> Components: workflow manager
> Environment: from JPL's internal JIRA pre Apache
> Reporter: Chris A. Mattmann
> Assignee: Chris A. Mattmann
> Fix For: 0.4
>
>
> The WorkflowConditions associated with a task currently only return true or false. While this has sufficed in the past, there really should be some sort of formal data structure (i.e. my "WorkflowConditionOutput" suggestion) that contains, at a minimum:
> 1. WorkflowCondition success, true or false
> 2. List<FailureReason> which contains a (list of) reason(s) why the condition failed
> 3. Metadata object representing the dynMetadata passed in to the WorkflowCondition (that it used to evaluate)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (OODT-206) WorkflowConditions should return a
WorkflowConditionOutput that contains failReasons
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann resolved OODT-206.
------------------------------------
Resolution: Fixed
- I'm going to go back on my original proposal with this. I don't think we need a WorkflowConditionOutput. I think we can leverage the passed in dynMetadata that's persisted to house any information that we're not currently already providing. For example, FailureReasons is a great candidate for something to plumb into dynMetadata that the WorkflowInstanceRepository will then persist. There's no reason we can't use it for that. Other than that information, we are already returning and storing success, and the dynMetadata object, which should be sufficient.
> WorkflowConditions should return a WorkflowConditionOutput that contains failReasons
> ------------------------------------------------------------------------------------
>
> Key: OODT-206
> URL: https://issues.apache.org/jira/browse/OODT-206
> Project: OODT
> Issue Type: Sub-task
> Components: workflow manager
> Environment: from JPL's internal JIRA pre Apache
> Reporter: Chris A. Mattmann
> Assignee: Chris A. Mattmann
> Fix For: 0.4
>
>
> The WorkflowConditions associated with a task currently only return true or false. While this has sufficed in the past, there really should be some sort of formal data structure (i.e. my "WorkflowConditionOutput" suggestion) that contains, at a minimum:
> 1. WorkflowCondition success, true or false
> 2. List<FailureReason> which contains a (list of) reason(s) why the condition failed
> 3. Metadata object representing the dynMetadata passed in to the WorkflowCondition (that it used to evaluate)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira