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 "dfw_field_trial_service_data.h"
#include "dfw_field_trial_service_library.h"
#include "field_trial.h"
#include "json_processor.h"
#include "string_parameter.h"
Go to the source code of this file.
Functions | |
NamedParameterType FIELD_TRIAL_NAME | FIELD_TRIAL_JOB_STRUCT_VAL ("FT Name", PT_STRING) |
NamedParameterType FIELD_TRIAL_TEAM | FIELD_TRIAL_JOB_STRUCT_VAL ("FT Team", PT_STRING) |
NamedParameterType FIELD_TRIAL_ID | FIELD_TRIAL_JOB_STRUCT_VAL ("FT Id", PT_STRING) |
NamedParameterType FIELD_TRIAL_PARENT_ID | FIELD_TRIAL_JOB_STRUCT_VAL ("FT Parent Id", PT_STRING) |
NamedParameterType FIELD_TRIAL_ADD | FIELD_TRIAL_JOB_STRUCT_VAL ("FT Add", PT_BOOLEAN) |
NamedParameterType FIELD_TRIAL_SEARCH | FIELD_TRIAL_JOB_STRUCT_VAL ("FT Search", PT_BOOLEAN) |
bool | AddSubmissionFieldTrialParams (ServiceData *data_p, ParameterSet *param_set_p, FieldTrial *active_trial_p, const bool read_only_flag) |
bool | RunForSubmissionFieldTrialParams (FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p) |
bool | GetSubmissionFieldTrialParameterTypeForNamedParameter (const char *param_name_s, ParameterType *pt_p) |
bool | AddSearchFieldTrialParams (ServiceData *data_p, ParameterSet *param_set_p) |
bool | RunForSearchFieldTrialParams (FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p) |
bool | GetSearchFieldTrialParameterTypeForNamedParameter (const char *param_name_s, ParameterType *pt_p) |
bool | SetUpFieldTrialsListParameter (const FieldTrialServiceData *data_p, Parameter *param_p, const char *active_trial_id_s, const bool empty_option_flag) |
bool | SetUpFieldTrialsListParameterFromJSON (const FieldTrialServiceData *data_p, Parameter *param_p, const char *active_trial_id_s, const bool empty_option_flag, json_t *trials_p) |
json_t * | GetFieldTrialIndexingData (Service *service_p) |
json_t * | GetAllFieldTrialsAsJSON (const FieldTrialServiceData *data_p, const bool full_data_flag) |
bool | AddFieldTrialToServiceJobFromJSON (ServiceJob *job_p, json_t *trial_json_p, const ViewFormat format, FieldTrialServiceData *data_p) |
bool | AddFieldTrialToServiceJob (ServiceJob *job_p, FieldTrial *trial_p, const ViewFormat format, FieldTrialServiceData *data_p) |
json_t * | GetFieldTrialJSONForId (const char *id_s, const ViewFormat format, JSONProcessor *processor_p, char **name_ss, FieldTrialServiceData *data_p) |
FieldTrial * | GetFieldTrialFromResource (DataResource *resource_p, const NamedParameterType trial_param_type, FieldTrialServiceData *dfw_data_p) |
json_t * | GetFieldTrialAsFrictionlessDataResource (const FieldTrial *trial_p, const FieldTrialServiceData *data_p) |
bool | SearchFieldTrials (ServiceJob *job_p, const char *name_s, const char *team_s, const bool regex_flag, const ViewFormat format, FieldTrialServiceData *data_p) |
bool | PopulaterActiveTrialValues (FieldTrial *active_trial_p, char **id_ss, char **programme_id_ss, const char **name_ss, const char **team_ss, LinkedList **existing_people_pp, ParameterSet *param_set_p, FieldTrialServiceData *dfw_data_p) |
bool | AddTrialsList (const char *id_s, ParameterSet *param_set_p, ParameterGroup *group_p, const bool read_only_flag, const char *const empty_option_s, FieldTrialServiceData *data_p) |
bool | AddTrialsListFromJSON (const char *id_s, json_t *trials_json_p, ParameterSet *param_set_p, ParameterGroup *group_p, const bool read_only_flag, const char *empty_option_s, FieldTrialServiceData *dfw_data_p) |
bool | AddTrialEditor (const char *const name_s, const char *const team_s, const char *const programme_id_s, LinkedList *existing_people_p, ParameterSet *param_set_p, ParameterGroup *group_p, const bool read_only_flag, FieldTrialServiceData *dfw_data_p) |
NamedParameterType FIELD_TRIAL_NAME FIELD_TRIAL_JOB_STRUCT_VAL | ( | "FT Name" | , |
PT_STRING | |||
) |
NamedParameterType FIELD_TRIAL_TEAM FIELD_TRIAL_JOB_STRUCT_VAL | ( | "FT Team" | , |
PT_STRING | |||
) |
NamedParameterType FIELD_TRIAL_ID FIELD_TRIAL_JOB_STRUCT_VAL | ( | "FT Id" | , |
PT_STRING | |||
) |
NamedParameterType FIELD_TRIAL_PARENT_ID FIELD_TRIAL_JOB_STRUCT_VAL | ( | "FT Parent Id" | , |
PT_STRING | |||
) |
NamedParameterType FIELD_TRIAL_ADD FIELD_TRIAL_JOB_STRUCT_VAL | ( | "FT Add" | , |
PT_BOOLEAN | |||
) |
NamedParameterType FIELD_TRIAL_SEARCH FIELD_TRIAL_JOB_STRUCT_VAL | ( | "FT Search" | , |
PT_BOOLEAN | |||
) |
bool AddSubmissionFieldTrialParams | ( | ServiceData * | data_p, |
ParameterSet * | param_set_p, | ||
FieldTrial * | active_trial_p, | ||
const bool | read_only_flag | ||
) |
bool RunForSubmissionFieldTrialParams | ( | FieldTrialServiceData * | data_p, |
ParameterSet * | param_set_p, | ||
ServiceJob * | job_p | ||
) |
bool GetSubmissionFieldTrialParameterTypeForNamedParameter | ( | const char * | param_name_s, |
ParameterType * | pt_p | ||
) |
bool AddSearchFieldTrialParams | ( | ServiceData * | data_p, |
ParameterSet * | param_set_p | ||
) |
bool RunForSearchFieldTrialParams | ( | FieldTrialServiceData * | data_p, |
ParameterSet * | param_set_p, | ||
ServiceJob * | job_p | ||
) |
bool GetSearchFieldTrialParameterTypeForNamedParameter | ( | const char * | param_name_s, |
ParameterType * | pt_p | ||
) |
bool SetUpFieldTrialsListParameter | ( | const FieldTrialServiceData * | data_p, |
Parameter * | param_p, | ||
const char * | active_trial_id_s, | ||
const bool | empty_option_flag | ||
) |
bool SetUpFieldTrialsListParameterFromJSON | ( | const FieldTrialServiceData * | data_p, |
Parameter * | param_p, | ||
const char * | active_trial_id_s, | ||
const bool | empty_option_flag, | ||
json_t * | trials_p | ||
) |
json_t* GetFieldTrialIndexingData | ( | Service * | service_p | ) |
json_t* GetAllFieldTrialsAsJSON | ( | const FieldTrialServiceData * | data_p, |
const bool | full_data_flag | ||
) |
bool AddFieldTrialToServiceJobFromJSON | ( | ServiceJob * | job_p, |
json_t * | trial_json_p, | ||
const ViewFormat | format, | ||
FieldTrialServiceData * | data_p | ||
) |
bool AddFieldTrialToServiceJob | ( | ServiceJob * | job_p, |
FieldTrial * | trial_p, | ||
const ViewFormat | format, | ||
FieldTrialServiceData * | data_p | ||
) |
json_t* GetFieldTrialJSONForId | ( | const char * | id_s, |
const ViewFormat | format, | ||
JSONProcessor * | processor_p, | ||
char ** | name_ss, | ||
FieldTrialServiceData * | data_p | ||
) |
FieldTrial* GetFieldTrialFromResource | ( | DataResource * | resource_p, |
const NamedParameterType | trial_param_type, | ||
FieldTrialServiceData * | dfw_data_p | ||
) |
json_t* GetFieldTrialAsFrictionlessDataResource | ( | const FieldTrial * | trial_p, |
const FieldTrialServiceData * | data_p | ||
) |
bool SearchFieldTrials | ( | ServiceJob * | job_p, |
const char * | name_s, | ||
const char * | team_s, | ||
const bool | regex_flag, | ||
const ViewFormat | format, | ||
FieldTrialServiceData * | data_p | ||
) |
bool PopulaterActiveTrialValues | ( | FieldTrial * | active_trial_p, |
char ** | id_ss, | ||
char ** | programme_id_ss, | ||
const char ** | name_ss, | ||
const char ** | team_ss, | ||
LinkedList ** | existing_people_pp, | ||
ParameterSet * | param_set_p, | ||
FieldTrialServiceData * | dfw_data_p | ||
) |
bool AddTrialsList | ( | const char * | id_s, |
ParameterSet * | param_set_p, | ||
ParameterGroup * | group_p, | ||
const bool | read_only_flag, | ||
const char *const | empty_option_s, | ||
FieldTrialServiceData * | data_p | ||
) |
bool AddTrialsListFromJSON | ( | const char * | id_s, |
json_t * | trials_json_p, | ||
ParameterSet * | param_set_p, | ||
ParameterGroup * | group_p, | ||
const bool | read_only_flag, | ||
const char * | empty_option_s, | ||
FieldTrialServiceData * | dfw_data_p | ||
) |
bool AddTrialEditor | ( | const char *const | name_s, |
const char *const | team_s, | ||
const char *const | programme_id_s, | ||
LinkedList * | existing_people_p, | ||
ParameterSet * | param_set_p, | ||
ParameterGroup * | group_p, | ||
const bool | read_only_flag, | ||
FieldTrialServiceData * | dfw_data_p | ||
) |