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.
|
Go to the documentation of this file.
23 #ifndef SERVICES_FIELD_TRIALS_INCLUDE_TREATMENT_JOBS_H_
24 #define SERVICES_FIELD_TRIALS_INCLUDE_TREATMENT_JOBS_H_
bool AddTreatmentToServiceJob(ServiceJob *job_p, Treatment *treatment_p, const ViewFormat format, FieldTrialServiceData *data_p)
json_t * GetTreatmentIndexingData(Service *service_p)
ParameterType
The different types that a Parameter can take.
Definition: parameter_type.h:35
A datatype to represent a running task.
Definition: service_job.h:72
Treatment * GetTreatmentById(const bson_oid_t *id_p, const ViewFormat format, const FieldTrialServiceData *data_p)
A datatype representing a URI.
Definition: data_resource.h:40
A treatment defines an experimental process that can be applied.
Definition: treatment.h:40
#define DFW_FIELD_TRIAL_SERVICE_LOCAL
Definition: dfw_field_trial_service_library.h:43
A datatype which defines an available service, its capabilities and its parameters.
Definition: service.h:153
json_t * GetAllTreatmentsAsJSON(const FieldTrialServiceData *data_p, bson_t *opts_p)
bool AddSubmissionTreatmentParams(ServiceData *data_p, ParameterSet *param_set_p, DataResource *resource_p)
A datatype for holding the configuration data for a Service.
Definition: service.h:126
Treatment * GetTreatmentByURL(const char *term_url_s, const ViewFormat format, const FieldTrialServiceData *data_p)
bool RunForSubmissionTreatmentParams(FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p)
The configuration data used by the DFW Field Trial Service.
Definition: dfw_field_trial_service_data.h:118
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46
bool GetSubmissionTreatmentParameterTypeForNamedParameter(const char *param_name_s, ParameterType *pt_p)
Treatment * GetTreatmentByIdString(const char *treatment_id_s, const ViewFormat format, const FieldTrialServiceData *data_p)