From: Miloš Mulač Date: Thu, 13 Oct 2005 13:27:48 +0000 (+0000) Subject: adjust example to query indexed attribute X-Git-Tag: glite-jp-client_R_1_0_0~65 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=4f20a787d692e38c119a24f74b43fdfbb7d071fc;p=jra1mw.git adjust example to query indexed attribute --- diff --git a/org.glite.jp.index/examples/jpis-test.c b/org.glite.jp.index/examples/jpis-test.c index d1659d6..3aec090 100644 --- a/org.glite.jp.index/examples/jpis-test.c +++ b/org.glite.jp.index/examples/jpis-test.c @@ -134,7 +134,7 @@ query: cond = soap_malloc(soap, sizeof(*cond)); memset(cond, 0, sizeof(*cond)); - cond->attr = soap_strdup(soap, "location"); + cond->attr = soap_strdup(soap, "http://egee.cesnet.cz/en/Schema/JP/System:owner"); cond->origin = NULL; cond->__sizerecord = 1; cond->record = soap_malloc(soap, sizeof(*(cond->record))); @@ -143,7 +143,7 @@ query: memset(rec, 0, sizeof(*rec)); rec->op = jptype__queryOp__EQUAL; rec->value = soap_malloc(soap, sizeof(*(rec->value))); - rec->value->string = soap_strdup(soap, "scientific.civ.zcu.cz"); + rec->value->string = soap_strdup(soap, "/O=CESNET/O=Masaryk University/CN=Milos Mulac"); rec->value->blob = NULL; *(cond->record) = rec;