You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Sheryl John (Created) (JIRA)" <ji...@apache.org> on 2011/09/30 10:33:45 UTC
[jira] [Created] (OODT-323) Add new command line option in Workflow
manager client to get Workflow Instance Metadata
Add new command line option in Workflow manager client to get Workflow Instance Metadata
----------------------------------------------------------------------------------------
Key: OODT-323
URL: https://issues.apache.org/jira/browse/OODT-323
Project: OODT
Issue Type: Improvement
Components: workflow manager
Environment: Ubuntu 11.04
Reporter: Sheryl John
Priority: Trivial
Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (OODT-323) Add new command line option in
Workflow manager client to get Workflow Instance Metadata
Posted by "Chris A. Mattmann (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann resolved OODT-323.
------------------------------------
Resolution: Fixed
- patch applied in r1182193. Thanks Sheryl for writing the unit test too! It's going to fail for now, but I'll get going on OODT-310 and hopefully get trunk back to stable on workflow in the next day or two.
> Add new command line option in Workflow manager client to get Workflow Instance Metadata
> ----------------------------------------------------------------------------------------
>
> Key: OODT-323
> URL: https://issues.apache.org/jira/browse/OODT-323
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Environment: Ubuntu 11.04
> Reporter: Sheryl John
> Assignee: Chris A. Mattmann
> Priority: Trivial
> Fix For: 0.4
>
> Attachments: OODT-323.sherylj.111002.patch.txt, OODT-323.sherylj.111003.patch.txt, OODT-323.sherylj.111005.patch.txt
>
>
> Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OODT-323) Add new command line option in
Workflow manager client to get Workflow Instance Metadata
Posted by "Chris A. Mattmann (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118350#comment-13118350 ]
Chris A. Mattmann commented on OODT-323:
----------------------------------------
Hi Sheryl, +1, I think this would be really useful!
Can you suggest what the interface would be? I'm thinking something like:
{noformat}
./wmgr-client --url http://localhost:9001 --operation --getWorkflowInstMet --workflowInstId <id>
{noformat}
Which would return, e.g.,:
{noformat}
[id=29399ff-9aaaa1-929292-aaaaa-1111,met={key1:[val1, val2],key2:[val1],...,}]
{noformat}
Thoughts?
> Add new command line option in Workflow manager client to get Workflow Instance Metadata
> ----------------------------------------------------------------------------------------
>
> Key: OODT-323
> URL: https://issues.apache.org/jira/browse/OODT-323
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Environment: Ubuntu 11.04
> Reporter: Sheryl John
> Priority: Trivial
>
> Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (OODT-323) Add new command line
option in Workflow manager client to get Workflow Instance Metadata
Posted by "Sheryl John (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119167#comment-13119167 ]
Sheryl John edited comment on OODT-323 at 10/3/11 7:06 AM:
-----------------------------------------------------------
- Added the new command line option :
--getWorkflowInstMet --id <workflowInstId>
which returns metadata in the format,
[id=29399ff-9aaaa1-929292-aaaaa-1111, met={key1:[val1, val2], key2:[val1],...,}]
- Tested it on 0.3 version of OODT
was (Author: sherylj):
- Added the new command line option :
--getWorkflowInstMet --id <workflowInstId>
which returns metadata in the format,
[id=29399ff-9aaaa1-929292-aaaaa-1111, met={key1:[val1, val2], key2:[val1],...,}]
> Add new command line option in Workflow manager client to get Workflow Instance Metadata
> ----------------------------------------------------------------------------------------
>
> Key: OODT-323
> URL: https://issues.apache.org/jira/browse/OODT-323
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Environment: Ubuntu 11.04
> Reporter: Sheryl John
> Assignee: Chris A. Mattmann
> Priority: Trivial
> Attachments: OODT-323.sherylj.111002.patch.txt, OODT-323.sherylj.111003.patch.txt
>
>
> Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OODT-323) Add new command line option in
Workflow manager client to get Workflow Instance Metadata
Posted by "Sheryl John (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118384#comment-13118384 ]
Sheryl John commented on OODT-323:
----------------------------------
I had almost the same interface for the command-line option in mind, but sticking to the previous formats for specifying the id:
./wmgr-client --url http://localhost:9001 --operation --getWorkflowInstMet --id <workflowInstId>
And in return, display the values in the format as you suggested above.
> Add new command line option in Workflow manager client to get Workflow Instance Metadata
> ----------------------------------------------------------------------------------------
>
> Key: OODT-323
> URL: https://issues.apache.org/jira/browse/OODT-323
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Environment: Ubuntu 11.04
> Reporter: Sheryl John
> Priority: Trivial
>
> Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OODT-323) Add new command line option in
Workflow manager client to get Workflow Instance Metadata
Posted by "Chris A. Mattmann (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119121#comment-13119121 ]
Chris A. Mattmann commented on OODT-323:
----------------------------------------
Thanks Sheryl. The last patch I committed related to OODT-215 (OODT-317 for Workflow priority sorting) left the WM in trunk in a halfway functional state -- so I'm not surprised your patch is throwing a ClassCastException. I hope as part of OODT-310 to wrap this up soon and get the WM in trunk back to functional state. In the meanwhile feel free to test your patch against a version of OODT 0.4 at or around r1156658 (which was functional), or the 0.3 version of OODT.
Or, you can help me with OODT-310 ^_^
> Add new command line option in Workflow manager client to get Workflow Instance Metadata
> ----------------------------------------------------------------------------------------
>
> Key: OODT-323
> URL: https://issues.apache.org/jira/browse/OODT-323
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Environment: Ubuntu 11.04
> Reporter: Sheryl John
> Assignee: Chris A. Mattmann
> Priority: Trivial
> Attachments: OODT-323.sherylj.111002.patch.txt
>
>
> Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OODT-323) Add new command line option in
Workflow manager client to get Workflow Instance Metadata
Posted by "Chris A. Mattmann (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118389#comment-13118389 ]
Chris A. Mattmann commented on OODT-323:
----------------------------------------
+1, works for me, Sheryl. Let's go with --id.
> Add new command line option in Workflow manager client to get Workflow Instance Metadata
> ----------------------------------------------------------------------------------------
>
> Key: OODT-323
> URL: https://issues.apache.org/jira/browse/OODT-323
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Environment: Ubuntu 11.04
> Reporter: Sheryl John
> Priority: Trivial
>
> Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OODT-323) Add new command line option in Workflow
manager client to get Workflow Instance Metadata
Posted by "Sheryl John (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sheryl John updated OODT-323:
-----------------------------
Attachment: OODT-323.sherylj.111005.patch.txt
- Added unit test that tries to get all Workflow Instance Metadata from Lucene Workflow Instance Repo
> Add new command line option in Workflow manager client to get Workflow Instance Metadata
> ----------------------------------------------------------------------------------------
>
> Key: OODT-323
> URL: https://issues.apache.org/jira/browse/OODT-323
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Environment: Ubuntu 11.04
> Reporter: Sheryl John
> Assignee: Chris A. Mattmann
> Priority: Trivial
> Attachments: OODT-323.sherylj.111002.patch.txt, OODT-323.sherylj.111003.patch.txt, OODT-323.sherylj.111005.patch.txt
>
>
> Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (OODT-323) Add new command line option in
Workflow manager client to get Workflow Instance Metadata
Posted by "Chris A. Mattmann (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann reassigned OODT-323:
--------------------------------------
Assignee: Chris A. Mattmann
> Add new command line option in Workflow manager client to get Workflow Instance Metadata
> ----------------------------------------------------------------------------------------
>
> Key: OODT-323
> URL: https://issues.apache.org/jira/browse/OODT-323
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Environment: Ubuntu 11.04
> Reporter: Sheryl John
> Assignee: Chris A. Mattmann
> Priority: Trivial
> Attachments: OODT-323.sherylj.111002.patch.txt
>
>
> Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (OODT-323) Add new command line
option in Workflow manager client to get Workflow Instance Metadata
Posted by "Chris A. Mattmann (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119121#comment-13119121 ]
Chris A. Mattmann edited comment on OODT-323 at 10/3/11 1:26 AM:
-----------------------------------------------------------------
Thanks Sheryl. The last patch I committed related to OODT-215 (OODT-317 for Workflow priority sorting) left the WM in trunk in a halfway functional state -- so I'm not surprised your patch is throwing a ClassCastException. I hope as part of OODT-310 to wrap this up soon and get the WM in trunk back to functional state. In the meanwhile feel free to test your patch against a version of OODT 0.4 at or around r1156658 (which was functional), or the 0.3 version of OODT.
Or, you can help me with OODT-310 ;)
was (Author: chrismattmann):
Thanks Sheryl. The last patch I committed related to OODT-215 (OODT-317 for Workflow priority sorting) left the WM in trunk in a halfway functional state -- so I'm not surprised your patch is throwing a ClassCastException. I hope as part of OODT-310 to wrap this up soon and get the WM in trunk back to functional state. In the meanwhile feel free to test your patch against a version of OODT 0.4 at or around r1156658 (which was functional), or the 0.3 version of OODT.
Or, you can help me with OODT-310 ^_^
> Add new command line option in Workflow manager client to get Workflow Instance Metadata
> ----------------------------------------------------------------------------------------
>
> Key: OODT-323
> URL: https://issues.apache.org/jira/browse/OODT-323
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Environment: Ubuntu 11.04
> Reporter: Sheryl John
> Assignee: Chris A. Mattmann
> Priority: Trivial
> Attachments: OODT-323.sherylj.111002.patch.txt
>
>
> Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OODT-323) Add new command line option in Workflow
manager client to get Workflow Instance Metadata
Posted by "Chris A. Mattmann (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann updated OODT-323:
-----------------------------------
Fix Version/s: 0.4
- schedule
> Add new command line option in Workflow manager client to get Workflow Instance Metadata
> ----------------------------------------------------------------------------------------
>
> Key: OODT-323
> URL: https://issues.apache.org/jira/browse/OODT-323
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Environment: Ubuntu 11.04
> Reporter: Sheryl John
> Assignee: Chris A. Mattmann
> Priority: Trivial
> Fix For: 0.4
>
> Attachments: OODT-323.sherylj.111002.patch.txt, OODT-323.sherylj.111003.patch.txt, OODT-323.sherylj.111005.patch.txt
>
>
> Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OODT-323) Add new command line option in Workflow
manager client to get Workflow Instance Metadata
Posted by "Sheryl John (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sheryl John updated OODT-323:
-----------------------------
Attachment: OODT-323.sherylj.111002.patch.txt
- Added new command-line option string :
--getWorkflowInstMet --id <workflowInstId>
- Called getMetadata() for metadata object returned by getWorkflowInstanceMetada(wInstId).
- Getting ClassCastException errors for line 267 : org.apache.xmlrpc.XmlRpcException: java.lang.Exception: java.lang.ClassCastException: org.apache.oodt.cas.workflow.engine.SequentialProcessor cannot be cast to org.apache.oodt.cas.workflow.engine.ThreadPoolWorkflowEngine$ThreadedProcessor
> Add new command line option in Workflow manager client to get Workflow Instance Metadata
> ----------------------------------------------------------------------------------------
>
> Key: OODT-323
> URL: https://issues.apache.org/jira/browse/OODT-323
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Environment: Ubuntu 11.04
> Reporter: Sheryl John
> Priority: Trivial
> Attachments: OODT-323.sherylj.111002.patch.txt
>
>
> Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OODT-323) Add new command line option in Workflow
manager client to get Workflow Instance Metadata
Posted by "Sheryl John (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sheryl John updated OODT-323:
-----------------------------
Attachment: OODT-323.sherylj.111003.patch.txt
- Added the new command line option :
--getWorkflowInstMet --id <workflowInstId>
which returns metadata in the format,
[id=29399ff-9aaaa1-929292-aaaaa-1111, met={key1:[val1, val2], key2:[val1],...,}]
> Add new command line option in Workflow manager client to get Workflow Instance Metadata
> ----------------------------------------------------------------------------------------
>
> Key: OODT-323
> URL: https://issues.apache.org/jira/browse/OODT-323
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Environment: Ubuntu 11.04
> Reporter: Sheryl John
> Assignee: Chris A. Mattmann
> Priority: Trivial
> Attachments: OODT-323.sherylj.111002.patch.txt, OODT-323.sherylj.111003.patch.txt
>
>
> Given a Workflow Instance ID with the command line option --getWorkflowInstMetadata --id, the wmgr-client should return the metadata recorded for the respective Instance ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira