-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2755/#review3177
-----------------------------------------------------------
Ship it!
+1.
- Chris
On 2011-11-10 18:03:30, brian Foster wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/2755/
> -----------------------------------------------------------
>
> (Updated 2011-11-10 18:03:30)
>
>
> Review request for oodt and Chris Mattmann.
>
>
> Summary
> -------
>
> XmlRpcWorkflowManagerClient which to CAS-CLI... example outputs below:
>
> $ ./wmgr-client -h
> -----------------------------------------------------------------------------------------------------------------
> | Short | Long | Description
> -----------------------------------------------------------------------------------------------------------------
>
> -u, --url <url> Workflow Manager URL
> Handler:
> Sets the following Java
Properties:
> [org.apache.oodt.cas.workflow.url]
>
> -op, --operation Declare that you wish to
present an operation
> -p, --pageNum <page> Page Number
> Requirement Rules:
> [GetNextPage : REQUIRED,
GetPrevPage : REQUIRED]
>
> Handler:
> Will invoke 'setPageNum'
on action selected,
> except for the following
actions: []
>
> -m, --metaData Declare that you wish to
present metadata
> Requirement Rules:
> [SendEvent : OPTIONAL,
DynMetadata : OPTIONAL]
>
> -en, --eventName <event-name> Name of the Event to
trigger
> Requirement Rules:
> [SendEvent : REQUIRED,
GetWorkflowsByEvent :
> REQUIRED]
>
> Handler:
> Will invoke 'setEventName'
on action selected,
> except for the following
actions: []
>
> -s, --status <status> Workflow status
> Requirement Rules:
> [GetFirstPage : OPTIONAL,
GetNextPage : OPTIONAL,
> GetPrevPage : OPTIONAL,
GetLastPage : OPTIONAL]
>
> Handler:
> Will invoke 'setStatus'
on action selected, except
> for the following actions:
[]
>
> -tids, --taskIds <task-ids> List of workflow task
ids
> Requirement Rules:
> [DynWorkflow : REQUIRED]
>
> Handler:
> Will invoke 'setTaskIds'
on action selected,
> except for the following
actions: []
>
> -id, --id <id> ID
> Requirement Rules:
> [GetTaskById : REQUIRED,
GetConditionById :
> REQUIRED, GetWorkflowById
: REQUIRED,
> GetWorkflowInst : REQUIRED,
GetWallClockTime :
> REQUIRED, GetTaskWallClockTime
: REQUIRED,
> StopWorkflowInst : REQUIRED,
PauseWorkflowInst :
> REQUIRED, ResumeWorkflowInst
: REQUIRED,
> GetWorkflowInstMet : REQUIRED]
>
> Handler:
> Will invoke 'setId' on
action selected, except for
> the following actions:
[GetTaskById : setTaskId,
> GetConditionById : setConditionId,
GetWorkflowById
> : setWorkflowId, GetWorkflowInst
: setInstanceId,
> GetWallClockTime : setInstanceId,
> GetTaskWallClockTime :
setInstanceId,
> StopWorkflowInst : setInstanceId,
> PauseWorkflowInst : setInstanceId,
> ResumeWorkflowInst : setInstanceId,
> GetWorkflowInstMet : setInstanceId]
>
> -psa, --printSupportedActions Print Supported Actions
> -a, --action <action-name> This is the name of
the action to trigger
> -h, --help Prints help menu
> -----------------------------------------------------------------------------------------------------------------
>
>
> $ ./wmgr-client -psa
>
> Actions:
> Action:
> Name: StopWorkflowInst
> Description: Stops a workflow instance
>
> Actions:
> Action:
> Name: GetNextPage
> Description: Gets next page of workflows
>
> Actions:
> Action:
> Name: GetTaskById
> Description: Gets task information for task with given ID
>
> Actions:
> Action:
> Name: GetWallClockTime
> Description: Gets wall clock time for workflow instance
>
> Actions:
> Action:
> Name: GetLastPage
> Description: Gets last page of workflows
>
> Actions:
> Action:
> Name: GetFirstPage
> Description: Gets first page of workflows
>
> Actions:
> Action:
> Name: GetWorkflowInst
> Description: Gets workflow instance by instance ID
>
> Actions:
> Action:
> Name: GetConditionById
> Description: Gets condition information for condition with given ID
>
> Actions:
> Action:
> Name: DynWorkflow
> Description: Creates a workflow using the given tasks and then executes it
>
> Actions:
> Action:
> Name: GetWorkflows
> Description: List all workflow models
>
> Actions:
> Action:
> Name: GetWorkflowInsts
> Description: List all workflow instances
>
> Actions:
> Action:
> Name: GetPrevPage
> Description: Gets prev page of workflows
>
> Actions:
> Action:
> Name: ResumeWorkflowInst
> Description: Resumes a paused workflow instance
>
> Actions:
> Action:
> Name: GetWorkflowById
> Description: Gets workflow information for workflow with given ID
>
> Actions:
> Action:
> Name: PauseWorkflowInst
> Description: Pauses a workflow instance
>
> Actions:
> Action:
> Name: GetWorkflowInstMet
> Description: Gets workflow instance metadata
>
> Actions:
> Action:
> Name: GetWorkflowsByEvent
> Description: List workflow information for workflows with attached to event
>
> Actions:
> Action:
> Name: GetRegisteredEvents
> Description: List registered events
>
> Actions:
> Action:
> Name: GetTaskWallClockTime
> Description: Gets wall clock time for workflow instance's current task
>
> Actions:
> Action:
> Name: SendEvent
> Description: Triggers an event
>
>
> $ ./wmgr-client -h SendEvent
>
> Action Help for 'SendEvent'
> - Required:
> -u [--url] <url>
> -op [--operation]
> -se [--sendEvent]
> -en [--eventName] <event-name>
> - Optional:
> -m [--metaData]
> -k [--key] <key-vals>
>
>
> $ ./wmgr-client -h DynWorkflow
>
> Action Help for 'DynWorkflow'
> - Required:
> -u [--url] <url>
> -op [--operation]
> -dw [--dynWorkflow]
> -tids [--taskIds] <task-ids>
> - Optional:
>
>
> $ ./wmgr-client -h GetConditionById
>
> Action Help for 'GetConditionById'
> - Required:
> -u [--url] <url>
> -op [--operation]
> -cbyid [--getConditionById]
> -id [--id] <condition-id>
> - Optional:
>
>
> Diffs
> -----
>
> trunk/workflow/pom.xml 1198900
> trunk/workflow/src/main/assembly/assembly.xml 1198900
> trunk/workflow/src/main/bin/wmgr-client 1198900
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/DynWorkflowCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetConditionByIdCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetFirstPageCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetLastPageCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetNextPageCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetPrevPageCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetRegisteredEventsCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetTaskByIdCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetTaskWallClockTimeCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetWallClockTimeCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetWorkflowByIdCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetWorkflowInstCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetWorkflowInstMetCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetWorkflowInstsCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetWorkflowsByEventCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetWorkflowsCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/PauseWorkflowInstCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/ResumeWorkflowInstCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/SendEventCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/StopWorkflowInstCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/WorkflowCliAction.java
PRE-CREATION
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/repository/PackagedWorkflowRepository.java
1198900
> trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/system/XmlRpcWorkflowManagerClient.java
1198900
> trunk/workflow/src/main/resources/cmd-line-actions.xml PRE-CREATION
> trunk/workflow/src/main/resources/cmd-line-options.xml PRE-CREATION
> trunk/workflow/src/main/resources/logging.properties 1198900
> trunk/workflow/src/main/resources/workflow.properties 1198900
> trunk/workflow/src/test/org/apache/oodt/cas/workflow/system/TestXmlRpcWorkflowManagerClient.java
1198900
>
> Diff: https://reviews.apache.org/r/2755/diff
>
>
> Testing
> -------
>
> Visual checks... however actual unit-tests will be implements... this is review is for
initial design review from group
>
>
> Thanks,
>
> brian
>
>
|