[
https://issues.apache.org/jira/browse/OODT-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995632#comment-12995632
]
Brian Foster edited comment on OODT-139 at 2/17/11 1:57 AM:
------------------------------------------------------------
*endpoint for viewing a workflow instance*
{noformat}
{
"workflow": {
"completiondate": "2011-02-16T17:54:32.544-08:00",
"creationdate": "2011-02-16T17:54:32.544-08:00",
"executiondate": "2011-02-16T17:54:32.544-08:00",
"instanceid": "inst-1",
"modelid": "TestModelId",
"modelname": "TestModelName",
"postconditions": {
"completiondate": "2011-02-16T17:54:32.544-08:00",
"creationdate": "2011-02-16T17:54:32.544-08:00",
"executiondate": "2011-02-16T17:54:32.544-08:00",
"instanceid": "inst-1",
"modelid": "TestPostCondModelId",
"modelname": "TestPostCondModelName",
"priority": 5,
"readydate": "2011-02-16T17:54:32.544-08:00",
"state": {
"date": "2011-02-16T17:54:32.544-08:00",
"message": "This is a state's message",
"state": "Done"
},
"timesblocked": 2
},
"preconditions": {
"completiondate": "2011-02-16T17:54:32.544-08:00",
"creationdate": "2011-02-16T17:54:32.544-08:00",
"executiondate": "2011-02-16T17:54:32.544-08:00",
"instanceid": "inst-1",
"modelid": "TestPreCondModelId",
"modelname": "TestPreCondModelName",
"priority": 5,
"readydate": "2011-02-16T17:54:32.544-08:00",
"state": {
"date": "2011-02-16T17:54:32.544-08:00",
"message": "This is a state's message",
"state": "Done"
},
"timesblocked": 2
},
"priority": 5,
"readydate": "2011-02-16T17:54:32.544-08:00",
"state": {
"date": "2011-02-16T17:54:32.544-08:00",
"message": "This is a state's message",
"state": "Done"
},
"subprocessors": [
{
"completiondate": "2011-02-16T17:54:32.544-08:00",
"creationdate": "2011-02-16T17:54:32.544-08:00",
"executiondate": "2011-02-16T17:54:32.544-08:00",
"instanceid": "inst-1",
"modelid": "TestSubProcModelId",
"modelname": "TestSubProcModelName",
"priority": 5,
"readydate": "2011-02-16T17:54:32.544-08:00",
"state": {
"date": "2011-02-16T17:54:32.544-08:00",
"message": "This is a state's message",
"state": "Done"
},
"timesblocked": 2
},
{
"completiondate": "2011-02-16T17:54:32.544-08:00",
"creationdate": "2011-02-16T17:54:32.544-08:00",
"executiondate": "2011-02-16T17:54:32.544-08:00",
"instanceid": "inst-1",
"modelid": "TestSubProcModelId",
"modelname": "TestSubProcModelName",
"priority": 5,
"readydate": "2011-02-16T17:54:32.544-08:00",
"state": {
"date": "2011-02-16T17:54:32.544-08:00",
"message": "This is a state's message",
"state": "Done"
},
"timesblocked": 2
}
],
"timesblocked": 2
}
}
{noformat}
was (Author: bfoster):
*endpoint for viewing a workflow instance*
{noformat}
{
"workflow": {
"completiondate": "2011-02-16T17:54:32.544-08:00",
"creationdate": "2011-02-16T17:54:32.544-08:00",
"executiondate": "2011-02-16T17:54:32.544-08:00",
"instanceid": "inst-1",
"modelid": "TestModelId",
"modelname": "TestModelName",
"postconditions": {
"completiondate": "2011-02-16T17:54:32.544-08:00",
"creationdate": "2011-02-16T17:54:32.544-08:00",
"executiondate": "2011-02-16T17:54:32.544-08:00",
"instanceid": "inst-1",
"modelid": "TestPostCondModelId",
"modelname": "TestPostCondModelName",
"priority": 5,
"readydate": "2011-02-16T17:54:32.544-08:00",
"state": {
"date": "2011-02-16T17:54:32.544-08:00",
"message": "This is a state's message",
"state": "Executing"
},
"timesblocked": 2
},
"preconditions": {
"completiondate": "2011-02-16T17:54:32.544-08:00",
"creationdate": "2011-02-16T17:54:32.544-08:00",
"executiondate": "2011-02-16T17:54:32.544-08:00",
"instanceid": "inst-1",
"modelid": "TestPreCondModelId",
"modelname": "TestPreCondModelName",
"priority": 5,
"readydate": "2011-02-16T17:54:32.544-08:00",
"state": {
"date": "2011-02-16T17:54:32.544-08:00",
"message": "This is a state's message",
"state": "Executing"
},
"timesblocked": 2
},
"priority": 5,
"readydate": "2011-02-16T17:54:32.544-08:00",
"state": {
"date": "2011-02-16T17:54:32.544-08:00",
"message": "This is a state's message",
"state": "Executing"
},
"subprocessors": [
{
"completiondate": "2011-02-16T17:54:32.544-08:00",
"creationdate": "2011-02-16T17:54:32.544-08:00",
"executiondate": "2011-02-16T17:54:32.544-08:00",
"instanceid": "inst-1",
"modelid": "TestSubProcModelId",
"modelname": "TestSubProcModelName",
"priority": 5,
"readydate": "2011-02-16T17:54:32.544-08:00",
"state": {
"date": "2011-02-16T17:54:32.544-08:00",
"message": "This is a state's message",
"state": "Executing"
},
"timesblocked": 2
},
{
"completiondate": "2011-02-16T17:54:32.544-08:00",
"creationdate": "2011-02-16T17:54:32.544-08:00",
"executiondate": "2011-02-16T17:54:32.544-08:00",
"instanceid": "inst-1",
"modelid": "TestSubProcModelId",
"modelname": "TestSubProcModelName",
"priority": 5,
"readydate": "2011-02-16T17:54:32.544-08:00",
"state": {
"date": "2011-02-16T17:54:32.544-08:00",
"message": "This is a state's message",
"state": "Executing"
},
"timesblocked": 2
}
],
"timesblocked": 2
}
}
{noformat}
> PCS JAX-RS services
> -------------------
>
> Key: OODT-139
> URL: https://issues.apache.org/jira/browse/OODT-139
> Project: OODT
> Issue Type: New Feature
> Components: pcs
> Reporter: Chris A. Mattmann
> Assignee: Chris A. Mattmann
> Labels: jaxrs, jsr311, pcs
> Fix For: 0.3
>
> Attachments: OODT-139.Hart.021611.patch.txt,
> OODT-139.Mattmann.021311.patch.txt, OODT-139.Mattmann.021411.2.patch.txt,
> OODT-139.Mattmann.021411.patch.txt
>
>
> Now that the PCS core is contributed, it would be great to not just have
> command line versions and APIs for tools like pcs_stat, pcstrace and pcs_ll.
> We should expose them over JAX-RS so that webapps can easily take advantage
> of PCS services.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira