Configuration file: parameters for the query aggregator source

The QueryAggregatorSource can use one of the following three configuration blocks in the Content block: GetResourcePropertyPollType, GetMultipleResourcePropertiesPollType and QueryResourcePropertiesPollType.

1.  GetResourcePropertyPollType

If a GetResourcePropertyPollType block is used, QueryAggregatorSource will request a single resource property. The block has this form:

 <Content xsi:type="agg:AggregatorContent"
                    xmlns:agg="http://mds.globus.org/aggregator/types">
                    <agg:AggregatorConfig xsi:type="agg:AggregatorConfig">
                    <agg:GetResourcePropertyPollType>
                    <agg:PollIntervalMillis>interval_in_ms</agg:PollIntervalMillis>
                    <agg:ResourcePropertyName>rp_namespace:rp_localname</agg:ResourcePropertyName>
                    </agg:GetResourcePropertyPollType>
                    </agg:AggregatorConfig> <agg:AggregatorData/>
                    </Content>

where:

PollIntervalMillis

This parameter is the poll refresh period in milliseconds; the ResourcePropertyName parameter is the QName of the resource property to poll for.

2. GetMultipleResourcePropertiesPollType

If a GetMultipleResourcePropertiesPollType block is used, QueryAggregatorSource will request one or more resource properties. The block has this form:

 <Content
                    xmlns:agg="http://mds.globus.org/aggregator/types"
                    xsi:type="agg:AggregatorContent"> <agg:AggregatorConfig
                    xsi:type="agg:AggregatorConfig">
                    <agg:GetMultipleResourcePropertiesPollType>
                    <agg:PollIntervalMillis>interval_in_ms</agg:PollIntervalMillis>
                    <agg:ResourcePropertyNames>rp1_namespace:rp1_localname</agg:ResourcePropertyNames>
                    <agg:ResourcePropertyNames>rp2_namespace:rp3_localname</agg:ResourcePropertyNames>
                    <agg:ResourcePropertyNames>rp3_namespace:rp3_localname</agg:ResourcePropertyNames>
                    </agg:GetMultipleResourcePropertiesPollType>
                    </agg:AggregatorConfig> <agg:AggregatorData/>
                    </Content>

where:

PollIntervalMillis

This parameter is the poll refresh period in milliseconds; the ResourcePropertyNames parameters are the QNames of the resource properties to poll for. There is no limit on the number of ResourcePropertyNames that may be specified.

3. QueryResourcePropertiesPollType

If a QueryResourcePropertiesPollType block is used, QueryAggregatorSource will request that a query be executed against the Resource Property Set of the remote resource. In the GT4 implementation of WSRF Core, the only query language that is supported is XPath. The block has this form:

                    <Content xmlns:agg="http://mds.globus.org/aggregator/types"
                    xsi:type="agg:AggregatorContent"> <agg:AggregatorConfig
                    xsi:type="agg:AggregatorConfig">
                    <agg:QueryResourcePropertiesPollType>
                    <agg:PollIntervalMillis>interval_in_ms</agg:PollIntervalMillis>
                    <agg:QueryExpressionDialect="dialect">
                    Query Expression </agg:QueryExpression>
                    </agg:QueryResourcePropertiesPollType>
                    </agg:AggregatorConfig> <agg:AggregatorData/>
                    </Content>

where:

PollIntervalMillis

This parameter is the poll refresh period in milliseconds.

QueryExpression

An xsd:any element; the Dialect attribute specifies the dialect of the query expression.