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.
|
#include "typedefs.h"
#include "grassroots_service_library.h"
#include "operation.h"
#include "jansson.h"
#include "linked_list.h"
#include "memory_allocations.h"
#include "linked_service.h"
#include "uuid_defs.h"
Go to the source code of this file.
Data Structures | |
struct | ServiceJob |
A datatype to represent a running task. More... | |
struct | ServiceJobNode |
A datatype used to store a ServiceJob within a ServceJobSet using a LinkedList. More... | |
struct | ServiceJobSet |
A datatype to represent a collection of ServiceJobs. More... | |
Functions | |
bool | IsServiceJobInServiceJobSet (const ServiceJobSet *job_set_p, const ServiceJob *job_p) |
bool | AddTabularParameterErrorMessageToServiceJob (ServiceJob *job_p, const char *const param_s, const ParameterType param_type, const char *const value_s, const uint32 row, const char *column_s) |
void | MergeServiceJobStatus (ServiceJob *job_p, OperationStatus status) |
For a given ServiceJob that is running multiple tasks, update its status to reflect the given status from a task. More... | |
Variables | |
const SERVICE_JOB_PREFIX char * | SJ_DEFAULT_TYPE_S = "default_service_job" |
The default type id for ServiceJobs. More... | |
bool IsServiceJobInServiceJobSet | ( | const ServiceJobSet * | job_set_p, |
const ServiceJob * | job_p | ||
) |
bool AddTabularParameterErrorMessageToServiceJob | ( | ServiceJob * | job_p, |
const char *const | param_s, | ||
const ParameterType | param_type, | ||
const char *const | value_s, | ||
const uint32 | row, | ||
const char * | column_s | ||
) |
void MergeServiceJobStatus | ( | ServiceJob * | job_p, |
OperationStatus | status | ||
) |
For a given ServiceJob that is running multiple tasks, update its status to reflect the given status from a task.
job_p | The ServiceJob to update. |
status | The OperationStatus from one of the tasks that the ServiceJob is running. |
const SERVICE_JOB_PREFIX char* SJ_DEFAULT_TYPE_S = "default_service_job" |
The default type id for ServiceJobs.