[Globus Packages] / ws-mds / aggregator / schema / mds / aggregator / aggregator-types.xsd Repository:
ViewVC logotype

View of /ws-mds/aggregator/schema/mds/aggregator/aggregator-types.xsd

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (download) (as text) (annotate)
Wed Oct 31 18:55:14 2007 UTC (5 years, 6 months ago) by pearlman
Branch: MAIN
CVS Tags: globus_4_2_0
Branch point for: globus_4_2_branch, ip_test_branch
Changes since 1.5: +21 -16 lines
Merged ws spec changes for servicegroup, usefulrp, aggregator, and
index service.
<?xml version="1.0" encoding="UTF-8"?>
<!-- 
 Copyright 1999-2006 University of Chicago
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 
 http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

<!--
    MDS Aggregator Object Types
-->

<xsd:schema 
    xmlns:asgt="http://mds.globus.org/aggregator/types"
    xmlns:metrics="http://mds.globus.org/metrics/2004/09"
    xmlns:wssg=
      "http://docs.oasis-open.org/wsrf/sg-2"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"          
    xmlns:wsa="http://www.w3.org/2005/08/addressing"
    xmlns:wsrp="http://docs.oasis-open.org/wsrf/rp-2"  
    xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"         
    targetNamespace="http://mds.globus.org/aggregator/types"
    xmlns:tns="http://mds.globus.org/aggregator/types"  
    elementFormDefault="qualified" attributeFormDefault="unqualified">

    <xsd:import
        namespace="http://www.w3.org/2005/08/addressing" 
        schemaLocation="../../ws/addressing/ws-addr.xsd"  />
         
    <xsd:import 
        namespace=
        "http://docs.oasis-open.org/wsrf/rp-2"
        schemaLocation="../../wsrf/properties/rp-2.xsd" />
        
   <xsd:import namespace=
      "http://docs.oasis-open.org/wsrf/sg-2"
        schemaLocation="../../wsrf/servicegroup/sg-2.xsd"/>

   <xsd:import namespace=
      "http://docs.oasis-open.org/wsn/b-2"
        schemaLocation="../../wsrf/notification/b-2.xsd"/>

   <xsd:import namespace="http://mds.globus.org/metrics/2004/09" 
               schemaLocation="../usefulrp/metrics.xsd" />

        
   <!-- 
       Generic aggregation holder types. 
   -->
  <xsd:complexType name="AggregatorConfig">
    <xsd:annotation><xsd:documentation>
        This type encapsulates multiple arbitrary aggregator configuration data
    </xsd:documentation></xsd:annotation>
    <xsd:sequence>
       <xsd:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
    
  <xsd:complexType name="AggregatorData">
    <xsd:annotation><xsd:documentation>
        This type encapsulates multiple arbitrary aggregated content data.
    </xsd:documentation></xsd:annotation>
    <xsd:sequence>
       <xsd:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>

  <!-- since GT 4.0.0 -->
  <xsd:complexType name="AggregatorError">
    <xsd:annotation><xsd:documentation>
        This type encapsulates multiple arbitrary aggregated error data.
    </xsd:documentation></xsd:annotation>
    <xsd:sequence>
       <xsd:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
    
  <xsd:complexType name="AggregatorContent">
    <xsd:annotation><xsd:documentation>
        This type encapsulates the Aggregator's ServiceGroup content element, 
        which is composed of three xsd:any arrays, the first storing the aggregator 
        configuration, the second storing the aggregated data, and the third, optional
        element (set by the server only) representing any errors that might have 
        occurred during aggregation.  
    </xsd:documentation></xsd:annotation>
    <xsd:sequence>
      <xsd:element name="AggregatorConfig"
                   type="tns:AggregatorConfig" 
                   minOccurs="1" maxOccurs="1"/>    
      <xsd:element name="AggregatorData"
                   type="tns:AggregatorData"
                   minOccurs="1" maxOccurs="1"/>
      <!-- since GT 4.0.0 -->                   
      <xsd:element name="AggregatorError"
                   type="tns:AggregatorError"
                   minOccurs="0" maxOccurs="1"/>                              
    </xsd:sequence>
  </xsd:complexType>                    
   
   <!-- 
        Parameter types for aggregation using polled queries
   -->
  <xsd:complexType name="AggregatorPollType">
    <xsd:sequence>
      <xsd:element name="PollIntervalMillis"
                   type="xsd:int"
                   minOccurs="1" maxOccurs="1"/>              
    </xsd:sequence>
  </xsd:complexType> 
  
  <xsd:complexType name="GetResourcePropertyPollType">
     <xsd:complexContent>
      <xsd:extension base="tns:AggregatorPollType">
        <xsd:sequence>
        <xsd:element name="ResourcePropertyName"
                   type="xsd:QName" 
                   minOccurs="1" maxOccurs="1"/>             
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>  
  </xsd:complexType>

  <xsd:complexType name="GetMultipleResourcePropertiesPollType">
    <xsd:complexContent>
      <xsd:extension base="tns:AggregatorPollType">
        <xsd:sequence>
        <xsd:element name="ResourcePropertyNames"
                   type="xsd:QName" 
                   minOccurs="1" maxOccurs="unbounded"/>             
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>  
  </xsd:complexType>
        
  <xsd:complexType name="QueryResourcePropertiesPollType">
    <xsd:complexContent>
      <xsd:extension base="tns:AggregatorPollType">
        <xsd:sequence>
        <xsd:element name="QueryExpression"
                   type="wsrp:QueryExpressionType" 
                   minOccurs="1" maxOccurs="1"/>            
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>  
  </xsd:complexType>    

   <xsd:complexType name="ExecutionPollType">
     <xsd:complexContent>
      <xsd:extension base="tns:AggregatorPollType">
        <xsd:sequence>
        <xsd:element name="ProbeName"
                   type="xsd:QName" 
                   minOccurs="1" maxOccurs="1"/>             
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>  
  </xsd:complexType>

   <xsd:complexType name="HTTPPollType">
     <xsd:complexContent>
      <xsd:extension base="tns:AggregatorPollType">
        <xsd:sequence>
        <xsd:element name="URL"
                   type="xsd:string" 
                   minOccurs="1" maxOccurs="1"/>             
        <xsd:element name="username"
                   type="xsd:string" 
                   minOccurs="0" maxOccurs="1"/>             
        <xsd:element name="password"
                   type="xsd:string" 
                   minOccurs="0" maxOccurs="1"/>             
        </xsd:sequence>                
      </xsd:extension>
    </xsd:complexContent>  
  </xsd:complexType>  
 
   <!-- 
        Parameter types for aggregation using subscription
   -->
 <xsd:complexType name="AggregatorSubscriptionType">
    <xsd:sequence>
      <xsd:element name="TopicExpression" 
                   type="wsnt:TopicExpressionType" 
                   minOccurs="1" maxOccurs="1" />
       <xsd:element name="Precondition" 
                   type="wsrp:QueryExpressionType"
                   minOccurs="0" maxOccurs="1" />
      <xsd:element name="Selector"
                   type="wsrp:QueryExpressionType"
                   minOccurs="0" maxOccurs="1" />
      <xsd:element name="SubscriptionPolicy" 
                   type="xsd:anyType" 
                   minOccurs="0" maxOccurs="1" />
      <xsd:element name="InitialTerminationTime" 
                   type="xsd:dateTime"
                   minOccurs="0" maxOccurs="1" />         
    </xsd:sequence>
  </xsd:complexType>   


  <!-- schema defs for port type -->

       <xsd:complexType name="PairedKeyType">
          <xsd:sequence>
            <xsd:element name="GroupKey"
                         type="xsd:string"
                         minOccurs="1" maxOccurs="1" />
            <xsd:element name="EntryKey"
                         type="xsd:string"
                         minOccurs="1" maxOccurs="1"/>
          </xsd:sequence>
        </xsd:complexType>

       <xsd:element name="RegistrationCount" type="metrics:accumulator" />

 <!-- XSLT postprocessing support types -->
   <xsd:complexType name="xslTransform">
    <xsd:annotation><xsd:documentation>
        This type represents a mapping of a logical XML document (assumed to be a local file path or a URI source) to a corresponding XSLT stylesheet transform file.  
    </xsd:documentation></xsd:annotation>
    <xsd:sequence>
      <xsd:element name="source"
                   type="xsd:string" 
                   minOccurs="1" maxOccurs="1"/>    
      <xsd:element name="transformFile"
                   type="xsd:string"
                   minOccurs="1" maxOccurs="1"/>                        
    </xsd:sequence>
  </xsd:complexType> 

  <xsd:complexType name="xslTransformList">
    <xsd:annotation><xsd:documentation>
        This type represents an array of xslTransform objects.
    </xsd:documentation></xsd:annotation>
    <xsd:sequence>
      <xsd:element name="transform"
                   type="tns:xslTransform" 
                   minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
 

</xsd:schema>





Webmaster
ViewVC Help
Powered by ViewVC 1.0.1