<?xml version="1.0" encoding="UTF-8" ?>
<ServiceGroupRegistrations
    xmlns="http://mds.globus.org/servicegroup/client" 
    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">

  <defaultServiceGroupEPR>
    <wsa:Address>https://127.0.0.1:8443/wsrf/services/DefaultIndexService</wsa:Address>
  </defaultServiceGroupEPR>

  <!-- The defaultRegistrantEPR defines the grid resource that will be
       registered, unless overridden in the ServiceGroupRegistrationParameters
  -->
  <defaultRegistrantEPR>
    <wsa:Address>https://127.0.0.1:8443/wsrf/services/fortuneProvider</wsa:Address>
  </defaultRegistrantEPR>

  <defaultSecurityDecriptorFile>some/other/sec/file.xml</defaultSecurityDecriptorFile>

  <ServiceGroupRegistrationParameters
      xmlns="http://mds.globus.org/servicegroup/client" >

    <!-- Renew this registration every 600 seconds (10 minutes) -->
    <RefreshIntervalSecs>600</RefreshIntervalSecs>
    <Content xsi:type="agg:AggregatorContent"
             xmlns:agg="http://mds.globus.org/aggregator/types">
      <agg:AggregatorConfig xsi:type="agg:AggregatorConfig">
        <agg:ExecutionPollType>

          <!-- Run our script every 300,000 milliseconds (5 minutes) -->
          <agg:PollIntervalMillis>300000</agg:PollIntervalMillis>

          <!-- Specify our mapped ProbeName registered in the
               $GLOBUS_LOCATION/etc/globus_wsrf_mds_index/jndi-config.xml
               file -->
          <agg:ProbeName>fortuneProvider</agg:ProbeName>

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

</ServiceGroupRegistrations>


