new atributes needed for PCH06
authorMiloš Mulač <mulac@civ.zcu.cz>
Tue, 29 Aug 2006 11:38:33 +0000 (11:38 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Tue, 29 Aug 2006 11:38:33 +0000 (11:38 +0000)
org.glite.jp.index/src/conf.c
org.glite.jp.index/src/ws_is_typeref.c

index 502da22..d4bd160 100644 (file)
@@ -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;
index 17e1935..7f2a50c 100644 (file)
@@ -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);