Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
When a Client sends a request to the Server asking a Service to be run, the Service will initiate one or more ServiceJobs and send a response back to the Client as soon as possible. This response will contain the status of these ServiceJobs and any results.
status | C variable | status_text | description |
---|---|---|---|
-3 | OS_FAILED | Failed | The ServiceJob failed |
-2 | OS_FAILED_TO_START | Failed to start | The ServiceJob was unable to start |
-1 | OS_ERROR | Error | The ServiceJob expreienced a general error |
0 | OS_IDLE | Idle | The ServiceJob has yet to start |
1 | OS_PENDING | Pending | The ServiceJob is waiting to start |
2 | OS_STARTED | Started | The ServiceJob has started |
3 | OS_FINISHED | Finished | The ServiceJob has finished unsuccessfully |
4 | OS_PARTIALLY_SUCCEEDED | Partially succeeded | The ServiceJob has partially succeeded |
5 | OS_SUCCEEDED | Succeeded | The ServiceJob has completed succeeded |
6 | OS_CLEANED_UP | Cleaned up | The ServiceJob has released all of its memory and resources |
Developers should use GetOperationStatusAsString()
and GetOperationStatusFromString()
to convert between the numeric variables and the equivalent status text.