Ignore:
Timestamp:
Nov 29, 2011 6:19:24 PM (12 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, info-ops, master
Children:
b709861
Parents:
57facae
Message:

Checkpoint: untested operations stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wsdl/fedd_types.xsd

    r57facae r22a1a77  
    455455  </xsd:complexType>
    456456
     457  <xsd:complexType name="operationStatusType">
     458    <xsd:annotation>
     459      <xsd:documentation>
     460        Result of an operation.  The target, success or failure code and
     461        descriptive text
     462      </xsd:documentation>
     463    </xsd:annotation>
     464    <xsd:sequence>
     465      <xsd:element name="target" type="xsd:string"/>
     466      <xsd:element name="code" type="xsd:int">
     467        <xsd:restriction>
     468          <xsd:enumeration value="0"/>  <!-- success -->
     469          <xsd:enumeration value="1"/>  <!-- access denied -->
     470          <xsd:enumeration value="2"/>  <!-- busy, retry -->
     471          <xsd:enumeration value="3"/>  <!-- not supported -->
     472          <xsd:enumeration value="4"/>  <!-- bad parameter -->
     473          <xsd:enumeration value="5"/>  <!-- internal error -->
     474          <xsd:enumeration value="6"/>  <!-- partial success -->
     475          <xsd:enumeration value="7"/>  <!-- no such target -->
     476          <xsd:enumeration value="8"/>  <!-- federant error -->
     477        </xsd:restriction>
     478      </xsd:element>
     479      <xsd:element name="description" type="xsd:string"
     480        minOccurs="0" maxOccurs="1"/>
     481    </xsd:sequence>
     482  </xsd:complexType>
     483
     484
    457485  <xsd:complexType name="newRequestType">
    458486    <xsd:annotation>
     
    733761  </xsd:complexType>
    734762
     763  <xsd:complexType name="operationRequestType">
     764    <xsd:annotation>
     765      <xsd:documentation>
     766        A request to operate on one or more elements of this experiment
     767      </xsd:documentation>
     768    </xsd:annotation>
     769    <xsd:sequence>
     770      <xsd:element name="experiment" type="tns:IDType"/>
     771      <xsd:element name="operation" type="xsd:string"/>
     772      <xsd:element name="target" type="xsd:string"
     773        minOccurs="1" maxOccurs="unbounded"/>
     774      <xsd:element name="parameter" type="tns:fedAttrType"
     775        minOccurs="0" maxOccurs="unbounded"/>
     776    </xsd:sequence>
     777  </xsd:complexType>
     778
     779  <xsd:complexType name="operationResponseType">
     780    <xsd:annotation>
     781      <xsd:documentation>
     782        A status of requested operations.
     783      </xsd:documentation>
     784    </xsd:annotation>
     785    <xsd:sequence>
     786      <xsd:element name="experiment" type="tns:IDType"/>
     787      <xsd:element name="status" type="tns:operationStatusType"
     788        minOccurs="1" maxOccurs="unbounded"/>
     789      <xsd:element name="proof" type="tns:proofType" />
     790    </xsd:sequence>
     791  </xsd:complexType>
     792
    735793  <xsd:complexType name="terminateRequestType">
    736794    <xsd:annotation>
     
    846904      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
    847905        maxOccurs="unbounded"/>
     906      <xsd:element name="proof" type="tns:proofType" />
     907    </xsd:sequence>
     908  </xsd:complexType>
     909
     910  <xsd:complexType name="operationSegmentRequestType">
     911    <xsd:annotation>
     912      <xsd:documentation>
     913        A request to operate on one or more elements of this segment (or the
     914        whole segment)
     915      </xsd:documentation>
     916    </xsd:annotation>
     917    <xsd:sequence>
     918      <xsd:element name="allocID" type="tns:IDType"/>
     919      <xsd:element name="operation" type="xsd:string"/>
     920      <xsd:element name="target" type="xsd:string"
     921        minOccurs="1" maxOccurs="unbounded"/>
     922      <xsd:element name="parameter" type="tns:fedAttrType"
     923        minOccurs="0" maxOccurs="unbounded"/>
     924    </xsd:sequence>
     925  </xsd:complexType>
     926
     927  <xsd:complexType name="operationSegmentResponseType">
     928    <xsd:annotation>
     929      <xsd:documentation>
     930        A status of requested operations.
     931      </xsd:documentation>
     932    </xsd:annotation>
     933    <xsd:sequence>
     934      <xsd:element name="allocID" type="tns:IDType"/>
     935      <xsd:element name="status" type="tns:operationStatusType"
     936        minOccurs="1" maxOccurs="unbounded"/>
    848937      <xsd:element name="proof" type="tns:proofType" />
    849938    </xsd:sequence>
Note: See TracChangeset for help on using the changeset viewer.