From: Miloš Mulač Date: Tue, 29 Aug 2006 11:38:33 +0000 (+0000) Subject: new atributes needed for PCH06 X-Git-Tag: glite-jp-index_R_1_2_2~12 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=c6a353c0e119781fbb55311bd3aa9ac091e62e7f;p=jra1mw.git new atributes needed for PCH06 --- diff --git a/org.glite.jp.index/src/conf.c b/org.glite.jp.index/src/conf.c index 502da22..d4bd160 100644 --- a/org.glite.jp.index/src/conf.c +++ b/org.glite.jp.index/src/conf.c @@ -98,7 +98,7 @@ int glite_jp_get_conf(int argc, char **argv, char *config_file, glite_jp_is_conf // lb.server/build/jp_job_attrs.h (created when build plugin) // jp.common/interface/known_attr.h - conf->attrs = calloc(19, sizeof(*conf->attrs)); + conf->attrs = calloc(28, sizeof(*conf->attrs)); conf->attrs[0] = strdup("http://egee.cesnet.cz/en/Schema/JP/System:owner"); conf->attrs[1] = strdup("http://egee.cesnet.cz/en/Schema/JP/System:jobId"); conf->attrs[2] = strdup("http://egee.cesnet.cz/en/Schema/JP/System:regtime"); @@ -117,8 +117,17 @@ int glite_jp_get_conf(int argc, char **argv, char *config_file, glite_jp_is_conf conf->attrs[15] = strdup("http://egee.cesnet.cz/en/Schema/LB/Attributes:nsubjobs"); conf->attrs[16] = strdup("http://egee.cesnet.cz/en/Schema/LB/Attributes:lastStatusHistory"); conf->attrs[17] = strdup("http://egee.cesnet.cz/en/Schema/LB/Attributes:fullStatusHistory"); - - conf->indexed_attrs = calloc(8, sizeof(*conf->indexed_attrs)); + conf->attrs[18] = strdup("http://egee.cesnet.cz/en/Schema/LB/Attributes:parent"); + conf->attrs[19] = strdup("http://egee.cesnet.cz/en/WSDL/jp-lbtag:IPAW_STAGE"); + conf->attrs[20] = strdup("http://egee.cesnet.cz/en/WSDL/jp-lbtag:IPAW_PROGRAM"); + conf->attrs[21] = strdup("http://egee.cesnet.cz/en/WSDL/jp-lbtag:IPAW_INPUT"); + conf->attrs[22] = strdup("http://egee.cesnet.cz/en/WSDL/jp-lbtag:IPAW_OUTPUT"); + conf->attrs[23] = strdup("http://egee.cesnet.cz/en/WSDL/jp-lbtag:IPAW_PARAM"); + conf->attrs[24] = strdup("http://egee.cesnet.cz/en/WSDL/jp-lbtag:IPAW_HEADER"); + conf->attrs[25] = strdup("http://egee.cesnet.cz/en/Schema/JP/Workflow:ancestor"); + conf->attrs[26] = strdup("http://egee.cesnet.cz/en/Schema/JP/Workflow:successor"); + + conf->indexed_attrs = calloc(10, sizeof(*conf->indexed_attrs)); conf->indexed_attrs[0] = strdup("http://egee.cesnet.cz/en/Schema/JP/System:owner"); conf->indexed_attrs[1] = strdup("http://egee.cesnet.cz/en/Schema/JP/System:jobId"); conf->indexed_attrs[2] = strdup("http://egee.cesnet.cz/en/Schema/LB/Attributes:user"); @@ -126,6 +135,8 @@ int glite_jp_get_conf(int argc, char **argv, char *config_file, glite_jp_is_conf conf->indexed_attrs[4] = strdup("http://egee.cesnet.cz/en/Schema/LB/Attributes:UIHost"); conf->indexed_attrs[5] = strdup("http://egee.cesnet.cz/en/Schema/LB/Attributes:CE"); conf->indexed_attrs[6] = strdup("http://egee.cesnet.cz/en/Schema/LB/Attributes:RB"); + conf->indexed_attrs[7] = strdup("http://egee.cesnet.cz/en/WSDL/jp-lbtag:IPAW_PROGRAM"); + conf->indexed_attrs[8] = strdup("http://egee.cesnet.cz/en/WSDL/jp-lbtag:IPAW_OUTPUT"); // XXX: some plugin names should come here in future conf->plugins = NULL; diff --git a/org.glite.jp.index/src/ws_is_typeref.c b/org.glite.jp.index/src/ws_is_typeref.c index 17e1935..7f2a50c 100644 --- a/org.glite.jp.index/src/ws_is_typeref.c +++ b/org.glite.jp.index/src/ws_is_typeref.c @@ -80,6 +80,7 @@ static int SoapToQueryCond( glite_jp_query_rec_t **out) { glite_jp_query_rec_t *qr; + int i; assert(in); assert(out);