Show
Ignore:
Timestamp:
02/28/10 12:31:25 (2 years ago)
Author:
Ted Faber <faber@…>
Children:
109a32aff575aaf0242d246b9c83dd1233733b60
Parents:
ef252e9986af22a54ce335935c60b0650531a9f5
git-committer:
Ted Faber <faber@isi.edu> / 2010-02-28T20:31:25Z+0000
Message:

Inital parameterization and synchronization. Tested for Emulabs, but not DRAGON.
Add get and set value synchronization.

Location:
wsdl
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • wsdl/fedd.wsdl

    rbde2217 r2761484  
    108108  </message> 
    109109 
     110  <message name="SetValueRequestMessage"> 
     111    <part name="SetValueRequestBody" type="xsd1:setValueRequestType"/> 
     112  </message> 
     113 
     114  <message name="SetValueResponseMessage"> 
     115    <part name="SetValueResponseBody" type="xsd1:setValueResponseType"/> 
     116  </message> 
     117 
     118  <message name="GetValueRequestMessage"> 
     119    <part name="GetValueRequestBody" type="xsd1:getValueRequestType"/> 
     120  </message> 
     121 
     122  <message name="GetValueResponseMessage"> 
     123    <part name="GetValueResponseBody" type="xsd1:getValueResponseType"/> 
     124  </message> 
    110125 
    111126  <message name="FaultMessage"> 
     
    225240      <fault name="TerminateSegmentFeddFault" message="tns:FaultMessage"/> 
    226241    </operation> 
     242 
     243    <operation name="SetValue"> 
     244      <documentation> 
     245        Set a shared value  
     246      </documentation> 
     247      <input message="tns:SetValueRequestMessage"/> 
     248      <output message="tns:SetValueResponseMessage"/> 
     249      <fault name="TerminateSegmentFeddFault" message="tns:FaultMessage"/> 
     250    </operation> 
     251 
     252    <operation name="GetValue"> 
     253      <documentation> 
     254        Get a shared value 
     255      </documentation> 
     256      <input message="tns:GetValueRequestMessage"/> 
     257      <output message="tns:GetValueResponseMessage"/> 
     258      <fault name="TerminateSegmentFeddFault" message="tns:FaultMessage"/> 
     259    </operation> 
    227260  </portType> 
    228261 
     
    462495        </output> 
    463496        <fault name="TerminateSegmentFeddFault"> 
     497          <soap:fault use="literal"  name="tns:FeddFault" 
     498            namespace="http://www.isi.edu/faber/fedd.wsdl" 
     499            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 
     500        </fault> 
     501      </operation> 
     502      <operation name="SetValue"> 
     503        <documentation> 
     504          The bindings of this operation are straightforward SOAP RPC 1.1. 
     505        </documentation> 
     506        <soap:operation soapAction="TerminateSegment"/>  
     507        <input> 
     508          <soap:body use="literal" parts="tns:SetValueRequestBody" 
     509            namespace="http://www.isi.edu/faber/fedd.wsdl" 
     510            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 
     511        </input> 
     512        <output> 
     513          <soap:body use="literal" parts="tns:SetValueResponseBody" 
     514            namespace="http://www.isi.edu/faber/fedd.wsdl" 
     515            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 
     516        </output> 
     517        <fault name="SetValueFeddFault"> 
     518          <soap:fault use="literal"  name="tns:FeddFault" 
     519            namespace="http://www.isi.edu/faber/fedd.wsdl" 
     520            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 
     521        </fault> 
     522      </operation> 
     523      <operation name="GetValue"> 
     524        <documentation> 
     525          The bindings of this operation are straightforward SOAP RPC 1.1. 
     526        </documentation> 
     527        <soap:operation soapAction="TerminateSegment"/>  
     528        <input> 
     529          <soap:body use="literal" parts="tns:GetValueRequestBody" 
     530            namespace="http://www.isi.edu/faber/fedd.wsdl" 
     531            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 
     532        </input> 
     533        <output> 
     534          <soap:body use="literal" parts="tns:GetValueResponseBody" 
     535            namespace="http://www.isi.edu/faber/fedd.wsdl" 
     536            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 
     537        </output> 
     538        <fault name="GetValueFeddFault"> 
    464539          <soap:fault use="literal"  name="tns:FeddFault" 
    465540            namespace="http://www.isi.edu/faber/fedd.wsdl" 
  • wsdl/fedd_types.xsd

    r5b74b63 r2761484  
    368368  </xsd:complexType> 
    369369 
     370  <xsd:simpleType name="connectionParameterIOType"> 
     371    <xsd:annotation> 
     372      <xsd:documentation> 
     373        Connection parameter types: input or output 
     374      </xsd:documentation> 
     375    </xsd:annotation> 
     376    <xsd:restriction base="xsd:string"> 
     377      <xsd:enumeration value="input"/> 
     378      <xsd:enumeration value="output"/> 
     379    </xsd:restriction> 
     380  </xsd:simpleType> 
     381 
     382  <xsd:complexType name="connectionParameterType"> 
     383    <xsd:annotation> 
     384      <xsd:documentation> 
     385        This is a parameter on which two or more access controllers have to 
     386        agree in order to complete the stitching.  This gives the name of the 
     387        parameter, the key under which to store it (or it has been stored)  and 
     388        whether it is to be input or output. 
     389      </xsd:documentation> 
     390    </xsd:annotation> 
     391    <xsd:sequence> 
     392      <xsd:element name="name" type="xsd:string"/> 
     393      <xsd:element name="key" type="xsd:string"/> 
     394      <xsd:element name="store" type="xsd:string"/> 
     395      <xsd:element name="type" type="tns:connectionParameterIOType"/> 
     396    </xsd:sequence> 
     397  </xsd:complexType> 
     398 
     399 
    370400  <xsd:complexType name="connectionInfoType"> 
    371401    <xsd:annotation> 
     
    384414      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0" 
    385415        maxOccurs="unbounded"/> 
     416      <xsd:element name="parameter" type="tns:connectionParameterType" 
     417        minOccurs="0" maxOccurs="unbounded"/> 
    386418    </xsd:sequence> 
    387419  </xsd:complexType> 
     
    820852  </xsd:complexType> 
    821853 
     854  <xsd:complexType name="setValueRequestType"> 
     855    <xsd:annotation> 
     856      <xsd:documentation> 
     857        Request to set a shared value. 
     858      </xsd:documentation> 
     859    </xsd:annotation> 
     860    <xsd:sequence> 
     861      <xsd:element name="name" type="xsd:string"/>  
     862      <xsd:element name="value" type="xsd:string"/>  
     863    </xsd:sequence> 
     864  </xsd:complexType> 
     865 
     866  <xsd:complexType name="setValueResponseType"> 
     867    <xsd:annotation> 
     868      <xsd:documentation> 
     869        Request to set a shared value. 
     870      </xsd:documentation> 
     871    </xsd:annotation> 
     872    <xsd:sequence> 
     873      <xsd:element name="name" type="xsd:string"/>  
     874      <xsd:element name="value" type="xsd:string"/>  
     875    </xsd:sequence> 
     876  </xsd:complexType> 
     877 
     878  <xsd:complexType name="getValueRequestType"> 
     879    <xsd:annotation> 
     880      <xsd:documentation> 
     881        Request to set a shared value. 
     882      </xsd:documentation> 
     883    </xsd:annotation> 
     884    <xsd:sequence> 
     885      <xsd:element name="name" type="xsd:string"/>  
     886      <xsd:element name="wait" type="xsd:boolean"/>  
     887    </xsd:sequence> 
     888  </xsd:complexType> 
     889 
     890  <xsd:complexType name="getValueResponseType"> 
     891    <xsd:annotation> 
     892      <xsd:documentation> 
     893        Request to set a shared value. 
     894      </xsd:documentation> 
     895    </xsd:annotation> 
     896    <xsd:sequence> 
     897      <xsd:element name="name" type="xsd:string"/>  
     898      <xsd:element name="value" type="xsd:string" minOccurs="0" maxOccurs="1"/>  
     899    </xsd:sequence> 
     900  </xsd:complexType> 
    822901 
    823902  <xsd:complexType name="faultType">