Re: [jira] [Updated] (OODT-345) Integration CAS-Workflow with CAS-CLI

2011-11-07 Thread Cameron Goodale
Brian,

This isn't really technically relevant, but I must comment that you are a
MACHINE!  I am actually hoping that I have a project that will use your new
CLI interface.  Just wanted to let you know that your work is appreciated.

-Cam

On Mon, Nov 7, 2011 at 1:32 PM, Brian Foster (Updated) (JIRA) 
j...@apache.org wrote:


 [
 https://issues.apache.org/jira/browse/OODT-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]

 Brian Foster updated OODT-345:
 --

Attachment: SwitchWorkflowToUseCasCli.patch.txt

 - attached patch

 - code can be reviewed here: https://reviews.apache.org/r/2755/

  Integration CAS-Workflow with CAS-CLI
  -
 
  Key: OODT-345
  URL: https://issues.apache.org/jira/browse/OODT-345
  Project: OODT
   Issue Type: Improvement
   Components: workflow manager
 Affects Versions: 0.4
  Environment: none
 Reporter: Brian Foster
 Assignee: Brian Foster
 Priority: Minor
  Fix For: 0.4
 
  Attachments: SwitchWorkflowToUseCasCli.patch.txt
 
 
  Here are some example outputs of what the new command line will look
 like:
  {code}
  $ ./wmgr-client -h
 
 -
  | Short | Long | Description
 
 -
   -u, --url urlWorkflow
 Manager URL
Handler:
 Sets the
 following Java Properties:
 
  [org.apache.oodt.cas.workflow.url]
   -op,--operationDeclare 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 : 

Re: [jira] [Updated] (OODT-345) Integration CAS-Workflow with CAS-CLI

2011-11-07 Thread holenoter
i'm making a effort to stay on top of the OODT stuff... figure the best way is to just keep coding away... lol... still some cleanup work to do with cas-cli... but should be ready to ship with the workflow manager soon... pending how much time i have which i can put towards it in the next few weeks-MACHINEOn Nov 07, 2011, at 01:36 PM, Cameron Goodale good...@apache.org wrote:Brian,

This isn't really technically relevant, but I must comment that you are a
MACHINE!  I am actually hoping that I have a project that will use your new
CLI interface.  Just wanted to let you know that your work is appreciated.

-Cam

On Mon, Nov 7, 2011 at 1:32 PM, Brian Foster (Updated) (JIRA) 
j...@apache.org wrote:


 [
 https://issues.apache.org/jira/browse/OODT-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]

 Brian Foster updated OODT-345:
 --

Attachment: SwitchWorkflowToUseCasCli.patch.txt

 - attached patch

 - code can be reviewed here: https://reviews.apache.org/r/2755/

  Integration CAS-Workflow with CAS-CLI
  -
 
  Key: OODT-345
  URL: https://issues.apache.org/jira/browse/OODT-345
  Project: OODT
   Issue Type: Improvement
   Components: workflow manager
 Affects Versions: 0.4
  Environment: none
 Reporter: Brian Foster
 Assignee: Brian Foster
 Priority: Minor
  Fix For: 0.4
 
  Attachments: SwitchWorkflowToUseCasCli.patch.txt
 
 
  Here are some example outputs of what the new command line will look
 like:
  {code}
  $ ./wmgr-client -h
 
 -
  | Short | Long | Description
 
 -
   -u, --url urlWorkflow
 Manager URL
Handler:
 Sets the
 following Java Properties:
 
  [org.apache.oodt.cas.workflow.url]
   -op,--operationDeclare 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,

Re: [jira] [Updated] (OODT-345) Integration CAS-Workflow with CAS-CLI

2011-11-07 Thread holenoter
Thanks sheryl!... still working out the kinks and some clean up work, such as cleaning up warning messages and making stacktrace outputs optional to make command line errors more readable... i'll be keeping everyone posted on my progress-brianOn Nov 07, 2011, at 01:43 PM, Sheryl John shery...@gmail.com wrote:This is cool!
Waiting to use this for my workflows. :)

On Mon, Nov 7, 2011 at 1:36 PM, Cameron Goodale good...@apache.org wrote:

 Brian,

 This isn't really technically relevant, but I must comment that you are a
 MACHINE!  I am actually hoping that I have a project that will use your new
 CLI interface.  Just wanted to let you know that your work is appreciated.

 -Cam

 On Mon, Nov 7, 2011 at 1:32 PM, Brian Foster (Updated) (JIRA) 
 j...@apache.org wrote:

 
  [
 
 https://issues.apache.org/jira/browse/OODT-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]
 
  Brian Foster updated OODT-345:
  --
 
 Attachment: SwitchWorkflowToUseCasCli.patch.txt
 
  - attached patch
 
  - code can be reviewed here: https://reviews.apache.org/r/2755/
 
   Integration CAS-Workflow with CAS-CLI
   -
  
   Key: OODT-345
   URL: https://issues.apache.org/jira/browse/OODT-345
   Project: OODT
Issue Type: Improvement
Components: workflow manager
  Affects Versions: 0.4
   Environment: none
  Reporter: Brian Foster
  Assignee: Brian Foster
  Priority: Minor
   Fix For: 0.4
  
   Attachments: SwitchWorkflowToUseCasCli.patch.txt
  
  
   Here are some example outputs of what the new command line will look
  like:
   {code}
   $ ./wmgr-client -h
  
 
 -
   | Short | Long |
 Description
  
 
 -
-u, --url urlWorkflow
  Manager URL
 Handler:
  Sets the
  following Java Properties:
  
   [org.apache.oodt.cas.workflow.url]
-op,--operationDeclare
 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]