Author: tmckay Date: 2013-01-18 21:52:28 +0000 (Fri, 18 Jan 2013) New Revision: 5659
Added: branches/tmckay/sage/rpc-defs/aviary/aviary-collector.wsdl branches/tmckay/sage/rpc-defs/aviary/aviary-collector.xsd Log: Add in collector service definitions
Added: branches/tmckay/sage/rpc-defs/aviary/aviary-collector.wsdl =================================================================== --- branches/tmckay/sage/rpc-defs/aviary/aviary-collector.wsdl (rev 0) +++ branches/tmckay/sage/rpc-defs/aviary/aviary-collector.wsdl 2013-01-18 21:52:28 UTC (rev 5659) @@ -0,0 +1,206 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- +/* + * Copyright 2000-2012 Red Hat, Inc. + * + * 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. + */ +--> +<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://grid.redhat.com/aviary-collector/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:coll="http://collector.aviary.grid.redhat.com" xmlns:ns="http://common.aviary.grid.redhat.com" targetNamespace="http://grid.redhat.com/aviary-collector/" name="aviary-collector"> + wsdl:types + <xsd:schema targetNamespace="http://grid.redhat.com/aviary-collector/%22%3E + <xsd:import schemaLocation="aviary-collector.xsd" namespace="http://collector.aviary.grid.redhat.com%22/%3E + </xsd:schema> + </wsdl:types> + <wsdl:message name="GetCollectorRequest"> + <wsdl:part name="parameters" element="coll:GetCollector"/> + </wsdl:message> + <wsdl:message name="GetCollectorResponse"> + <wsdl:part name="parameters" element="coll:GetCollectorResponse"/> + </wsdl:message> + <wsdl:message name="GetMasterRequest"> + <wsdl:part name="parameters" element="coll:GetMaster"/> + </wsdl:message> + <wsdl:message name="GetMasterResponse"> + <wsdl:part name="parameters" element="coll:GetMasterResponse"/> + </wsdl:message> + <wsdl:message name="GetMasterIDRequest"> + <wsdl:part name="parameters" element="coll:GetMasterID"/> + </wsdl:message> + <wsdl:message name="GetMasterIDResponse"> + <wsdl:part name="parameters" element="coll:GetMasterIDResponse"/> + </wsdl:message> + <wsdl:message name="GetNegotiatorRequest"> + <wsdl:part name="parameters" element="coll:GetNegotiator"/> + </wsdl:message> + <wsdl:message name="GetNegotiatorResponse"> + <wsdl:part name="parameters" element="coll:GetNegotiatorResponse"/> + </wsdl:message> + <wsdl:message name="GetSchedulerRequest"> + <wsdl:part name="parameters" element="coll:GetScheduler"/> + </wsdl:message> + <wsdl:message name="GetSchedulerResponse"> + <wsdl:part name="parameters" element="coll:GetSchedulerResponse"/> + </wsdl:message> + <wsdl:message name="GetSlotRequest"> + <wsdl:part name="parameters" element="coll:GetSlot"/> + </wsdl:message> + <wsdl:message name="GetSlotResponse"> + <wsdl:part name="parameters" element="coll:GetSlotResponse"/> + </wsdl:message> + <wsdl:message name="GetSlotIDRequest"> + <wsdl:part name="parameters" element="coll:GetSlotID"/> + </wsdl:message> + <wsdl:message name="GetSlotIDResponse"> + <wsdl:part name="parameters" element="coll:GetSlotIDResponse"/> + </wsdl:message> + <wsdl:message name="GetSubmitterRequest"> + <wsdl:part name="parameters" element="coll:GetSubmitter"/> + </wsdl:message> + <wsdl:message name="GetSubmitterResponse"> + <wsdl:part name="parameters" element="coll:GetSubmitterResponse"/> + </wsdl:message> + <wsdl:message name="GetAttributesRequest"> + <wsdl:part name="parameters" element="coll:GetAttributes"/> + </wsdl:message> + <wsdl:message name="GetAttributesResponse"> + <wsdl:part name="parameters" element="coll:GetAttributesResponse"/> + </wsdl:message> + <wsdl:portType name="AviaryCollector"> + <wsdl:operation name="getCollector"> + <wsdl:input message="tns:GetCollectorRequest"/> + <wsdl:output message="tns:GetCollectorResponse"/> + </wsdl:operation> + <wsdl:operation name="getMaster"> + <wsdl:input message="tns:GetMasterRequest"/> + <wsdl:output message="tns:GetMasterResponse"/> + </wsdl:operation> + <wsdl:operation name="getMasterID"> + <wsdl:input message="tns:GetMasterIDRequest"/> + <wsdl:output message="tns:GetMasterIDResponse"/> + </wsdl:operation> + <wsdl:operation name="getNegotiator"> + <wsdl:input message="tns:GetNegotiatorRequest"/> + <wsdl:output message="tns:GetNegotiatorResponse"/> + </wsdl:operation> + <wsdl:operation name="getScheduler"> + <wsdl:input message="tns:GetSchedulerRequest"/> + <wsdl:output message="tns:GetSchedulerResponse"/> + </wsdl:operation> + <wsdl:operation name="getSlot"> + <wsdl:input message="tns:GetSlotRequest"/> + <wsdl:output message="tns:GetSlotResponse"/> + </wsdl:operation> + <wsdl:operation name="getSlotID"> + <wsdl:input message="tns:GetSlotIDRequest"/> + <wsdl:output message="tns:GetSlotIDResponse"/> + </wsdl:operation> + <wsdl:operation name="getSubmitter"> + <wsdl:input message="tns:GetSubmitterRequest"/> + <wsdl:output message="tns:GetSubmitterResponse"/> + </wsdl:operation> + <wsdl:operation name="getAttributes"> + <wsdl:input message="tns:GetAttributesRequest"/> + <wsdl:output message="tns:GetAttributesResponse"/> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="AviaryCollectorSOAPBinding" type="tns:AviaryCollector"> + <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http%22/%3E + <wsdl:operation name="getCollector"> + <soap:operation soapAction="http://grid.redhat.com/aviary-collector/collector%22/%3E + wsdl:input + <soap:body use="literal"/> + </wsdl:input> + wsdl:output + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getMaster"> + <soap:operation soapAction="http://grid.redhat.com/aviary-collector/master%22/%3E + wsdl:input + <soap:body use="literal"/> + </wsdl:input> + wsdl:output + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getMasterID"> + <soap:operation soapAction="http://grid.redhat.com/aviary-collector/master/id%22/%3E + wsdl:input + <soap:body use="literal"/> + </wsdl:input> + wsdl:output + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getNegotiator"> + <soap:operation soapAction="http://grid.redhat.com/aviary-collector/negotiator%22/%3E + wsdl:input + <soap:body use="literal"/> + </wsdl:input> + wsdl:output + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getScheduler"> + <soap:operation soapAction="http://grid.redhat.com/aviary-collector/scheduler%22/%3E + wsdl:input + <soap:body use="literal"/> + </wsdl:input> + wsdl:output + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getSlot"> + <soap:operation soapAction="http://grid.redhat.com/aviary-collector/slot%22/%3E + wsdl:input + <soap:body use="literal"/> + </wsdl:input> + wsdl:output + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getSlotID"> + <soap:operation soapAction="http://grid.redhat.com/aviary-collector/slot/id%22/%3E + wsdl:input + <soap:body use="literal"/> + </wsdl:input> + wsdl:output + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getSubmitter"> + <soap:operation soapAction="http://grid.redhat.com/aviary-collector/submitter%22/%3E + wsdl:input + <soap:body use="literal"/> + </wsdl:input> + wsdl:output + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getAttributes"> + <soap:operation soapAction="http://grid.redhat.com/aviary-collector/attributes%22/%3E + wsdl:input + <soap:body use="literal"/> + </wsdl:input> + wsdl:output + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="AviaryCollectorService"> + <wsdl:port name="AviaryCollectorSOAPPort" binding="tns:AviaryCollectorSOAPBinding"> + <soap:address location="http://localhost%22/%3E + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
Added: branches/tmckay/sage/rpc-defs/aviary/aviary-collector.xsd =================================================================== --- branches/tmckay/sage/rpc-defs/aviary/aviary-collector.xsd (rev 0) +++ branches/tmckay/sage/rpc-defs/aviary/aviary-collector.xsd 2013-01-18 21:52:28 UTC (rev 5659) @@ -0,0 +1,187 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright 2000-2012 Red Hat, Inc. + * + * 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. + */ +--> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:coll="http://collector.aviary.grid.redhat.com" xmlns:mrg="http://common.aviary.grid.redhat.com" targetNamespace="http://collector.aviary.grid.redhat.com%22%3E + <xs:import namespace="http://common.aviary.grid.redhat.com" schemaLocation="aviary-common.xsd"/> + <!-- declare message-level elements using anonymous complex types for simpler generated types --> + <!-- use of refs, inheritance into anonymous types, etc. eschewed for simplicity and interop --> + <xs:element name="GetCollector"> + xs:complexType + xs:sequence + <xs:element name="ids" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + <xs:attribute name="partialMatches" type="xs:boolean" default="true"/> + <xs:attribute name="includeSummaries" type="xs:boolean" default="true"/> + </xs:complexType> + </xs:element> + <xs:element name="GetCollectorResponse"> + xs:complexType + xs:sequence + <xs:element name="results" type="mrg:Collector" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="GetNegotiator"> + xs:complexType + xs:sequence + <xs:element name="ids" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + <xs:attribute name="partialMatches" type="xs:boolean" default="true"/> + <xs:attribute name="includeSummaries" type="xs:boolean" default="true"/> + </xs:complexType> + </xs:element> + <xs:element name="GetNegotiatorResponse"> + xs:complexType + xs:sequence + <xs:element name="results" type="mrg:Negotiator" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="GetScheduler"> + xs:complexType + xs:sequence + <xs:element name="ids" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + <xs:attribute name="partialMatches" type="xs:boolean" default="true"/> + <xs:attribute name="includeSummaries" type="xs:boolean" default="true"/> + </xs:complexType> + </xs:element> + <xs:element name="GetSchedulerResponse"> + xs:complexType + xs:sequence + <xs:element name="results" type="mrg:Scheduler" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="GetSubmitter"> + xs:complexType + xs:sequence + <xs:element name="ids" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + <xs:attribute name="partialMatches" type="xs:boolean" default="true"/> + <xs:attribute name="includeSummaries" type="xs:boolean" default="true"/> + </xs:complexType> + </xs:element> + <xs:element name="GetSubmitterResponse"> + xs:complexType + xs:sequence + <xs:element name="results" type="mrg:Submitter" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <!-- Slot and Master are the resource types that most influence scale --> + <xs:element name="GetMaster"> + xs:complexType + xs:sequence + <xs:element name="ids" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + <xs:attribute name="partialMatches" type="xs:boolean" default="true"/> + <xs:attribute name="includeSummaries" type="xs:boolean" default="true"/> + </xs:complexType> + </xs:element> + <xs:element name="GetMasterResponse"> + xs:complexType + xs:sequence + <xs:element name="results" type="mrg:Master" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="GetMasterID"> + xs:complexType + xs:sequence + <xs:element name="size" type="xs:int"/> + <xs:element name="mode" type="mrg:ScanMode" minOccurs="0"/> + <!-- the resource id in the offset is our "iterator" pointer --> + <xs:element name="offset" type="mrg:ResourceID" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="GetMasterIDResponse"> + xs:complexType + xs:sequence + <xs:element name="results" type="mrg:Master" minOccurs="0" maxOccurs="unbounded"/> + <xs:element name="remaining" type="xs:int"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="GetSlot"> + xs:complexType + xs:sequence + <xs:element name="ids" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + <xs:attribute name="partialMatches" type="xs:boolean" default="true"/> + <xs:attribute name="includeSummaries" type="xs:boolean" default="true"/> + <xs:attribute name="includeDynamic" type="xs:boolean" default="true"/> + </xs:complexType> + </xs:element> + <xs:element name="GetSlotResponse"> + xs:complexType + xs:sequence + <xs:element name="results" type="mrg:Slot" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <!-- retrieving by page size and offset ONLY applies to STATIC and PARTITIONABLE slot types --> + <xs:element name="GetSlotID"> + xs:complexType + xs:sequence + <xs:element name="size" type="xs:int"/> + <xs:element name="mode" type="mrg:ScanMode" minOccurs="0"/> + <!-- the resource id in the offset is our "iterator" pointer --> + <xs:element name="offset" type="mrg:ResourceID" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="GetSlotIDResponse"> + xs:complexType + xs:sequence + <xs:element name="results" type="mrg:Slot" minOccurs="0" maxOccurs="unbounded"/> + <xs:element name="remaining" type="xs:int"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:complexType name="AttributeRequest"> + xs:sequence + <xs:element name="id" type="mrg:ResourceID"/> + <xs:element name="names" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="AttributeResponse"> + xs:sequence + <xs:element name="id" type="mrg:ResourceID"/> + <xs:element name="attrs" type="mrg:Attribute" minOccurs="0" maxOccurs="unbounded"/> + <xs:element name="status" type="mrg:Status"/> + </xs:sequence> + </xs:complexType> + <xs:element name="GetAttributes"> + xs:complexType + xs:sequence + <xs:element name="ids" type="coll:AttributeRequest" minOccurs="1" maxOccurs="unbounded"/> + </xs:sequence> + <xs:attribute name="valuesOnly" type="xs:boolean" default="false"/> + </xs:complexType> + </xs:element> + <xs:element name="GetAttributesResponse"> + xs:complexType + xs:sequence + <xs:element name="results" type="coll:AttributeResponse" minOccurs="0" maxOccurs="unbounded"/> + <xs:element name="status" type="mrg:Status"/> + </xs:sequence> + </xs:complexType> + </xs:element> +</xs:schema>
cumin-developers@lists.fedorahosted.org