From a6e67a34f4f13143a31c0b332e4a655c22d24b29 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Thu, 13 Oct 2005 13:05:17 +0000 Subject: [PATCH] new JP attr prefix --- org.glite.jp.index/src/conf.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/org.glite.jp.index/src/conf.c b/org.glite.jp.index/src/conf.c index 75252a3..d194bad 100644 --- a/org.glite.jp.index/src/conf.c +++ b/org.glite.jp.index/src/conf.c @@ -19,14 +19,18 @@ int glite_jp_get_conf(int argc, char **argv, char *config_file, glite_jp_is_conf conf = calloc(1, sizeof(*conf)); + + // prefixes & attributes defined in: + // lb.server/build/jp_job_attrs.h (created when build plugin) + // jp.common/interfaces/known_attr.h conf->attrs = calloc(4, sizeof(*conf->attrs)); - conf->attrs[0] = strdup("http://egee.cesnet.cz/en/WSDL/jp-system:owner"); - conf->attrs[1] = strdup("http://egee.cesnet.cz/en/WSDL/jp-system:jobId"); + 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/LB/Attributes:finalStatus"); conf->indexed_attrs = calloc(3, sizeof(*conf->indexed_attrs)); - conf->indexed_attrs[0] = strdup("http://egee.cesnet.cz/en/WSDL/jp-system:owner"); + 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/LB/Attributes:finalStatus"); // XXX: some plugin names should come here in future -- 1.8.2.3