There are some tools that are designed to let you publish whatever you want, so long as it is properly formatted XML. See if http://www.globus.org/toolkit/docs/4.0/info/aggregator/Execution_Aggregator_Source.html walks you through the process explicitly enough.

Charles

On Jul 8, 2008, at 6:32 AM, Mike Jackson wrote:


Hi folks,

I've been using MDS registration and have written my MDS registration file below. It works fine and I can see the resource property values when I query the index service.

Is there a way for me to provide arbitrary content in the MDS registration file that is exposed? From the wording of some user doc I suspected I'd be able to use:

   <agg:AggregatorData/>

e.g.

   <agg:AggregatorData xsi:type="agg:AggregatorData">
     <myMetaData>This is my meta-data</myMetaData>
   </agg:AggregatorData>

But this didn't work. And I've since found other doc that explained the role of AggregatorData in more detail (and which said I was barking up the wrong tree).

So is there a way of exposing an arbitrary chunk of XML provided in the registration file, via the index service? Or must it be done via a resource property.

Any suggestions?

Thanks,

mike

<!--
Example OGSA-DAI data request execution resource MDS registration file.
-->
<ServiceGroupRegistrationParameters
 xmlns:sgc="http://mds.globus.org/servicegroup/client";
 xmlns:xsd="http://www.w3.org/2001/XMLSchema";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing";
 xmlns:agg="http://mds.globus.org/aggregator/types";
 xmlns="http://mds.globus.org/servicegroup/client"; >

 <!-- How often will the registration be renewed - default 10m. -->
 <RefreshIntervalSecs>600</RefreshIntervalSecs>

 <Content xsi:type="agg:AggregatorContent"
          xmlns:agg="http://mds.globus.org/aggregator/types";>
   <agg:AggregatorConfig xsi:type="agg:AggregatorConfig">
     <agg:GetMultipleResourcePropertiesPollType
         xmlns:ogsadaiax="http://uk.org.ogsadai.resource.activities";>

       <!--
How often will the index requery the resource for information.
         Default every 5m.
       -->
       <agg:PollIntervalMillis>300000</agg:PollIntervalMillis>

       <!-- Names of resource properties to query. -->
       <agg:ResourcePropertyNames>
         ogsadaiax:SupportedActivities
       </agg:ResourcePropertyNames>
     </agg:GetMultipleResourcePropertiesPollType>
   </agg:AggregatorConfig>

   <agg:AggregatorData/>
 </Content>
</ServiceGroupRegistrationParameters>

-------------------------------------------------------------------
Dr. Michael (Mike) Jackson      Tel: +(44)-0131-650-xxxx
E-mail: [EMAIL PROTECTED] Fax: +(44)-0131-650-xxxx
EPCC                            OGSA-DAI Project
WWW:  http://www.epcc.ed.ac.uk  WWW: http://www.ogsadai.org.uk

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


Reply via email to