- NotifBind and NotifRefresh
authorAleš Křenek <ljocha@ics.muni.cz>
Mon, 11 May 2009 15:18:09 +0000 (15:18 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Mon, 11 May 2009 15:18:09 +0000 (15:18 +0000)
- value1 optional in QueryRecord due to notif CHANGED op

org.glite.lb.ws-interface/src/LB.xml
org.glite.lb.ws-interface/src/LBTypes.xml.T

index 6579580..2e42a34 100644 (file)
                        <fault name="genericFault" type="genericFault"> Any error. </fault>
                </op>
 
+               <op name="GetIndexedAttrs">
+                       Server supported indexed attributes
+
+                       <input name="dummy" type="xsd:string" optional="yes">Dummy parameter (workaround for gSoap).</input>
+                       <output name="attrs" type="queryConditions" list="yes"/>
+                       <fault name="genericFault" type="genericFault"> Any error. </fault>
+               </op>
+
+               <op name="GetServerLimit">
+                       Retrieve limit on query result size (no. of events or jobs).
+                       Not implemented at server side.
+
+                       <input name="dummy" type="xsd:string" optional="yes">Dummy parameter (workaround for gSoap).</input>
+                       <output name="limit" type="xsd:int"/>
+                       <fault name="genericFault" type="genericFault"> Any error. </fault>
+               </op>
+
                <op name="NotifNew">
                        <input name="notifId" type="xsd:string"/>
                        <input name="destination" type="xsd:string"/>
                        <fault name="genericFault" type="genericFault"/>
                </op>
 
+               <op name="NotifBind">
+                       <input name="notifId" type="xsd:string"/>
+                       <input name="destination" type="xsd:string"/>
+                       <input name="valid" type="xsd:dateTime" optional="yes"/>
+                       <output name="valid" type="xsd:dateTime"/>
+                       <fault name="genericFault" type="genericFault"/>
+               </op>
+
+               <op name="NotifRefresh">
+                       <input name="notifId" type="xsd:string"/>
+                       
+                       <input name="valid" type="xsd:dateTime" optional="yes"/>
+                       <output name="valid" type="xsd:dateTime"/>
+                       <fault name="genericFault" type="genericFault"/>
+               </op>
 
                <!-- TODO: event queries -->
 
index fb8b566..586893d 100644 (file)
                <struct name="queryRecord">
                        A single query condition.
                        <elem name="op" type="queryOp"> Relational operator of the condition.</elem>
-                       <elem name="value1" type="queryRecValue"> Value to compare the attribute with.</elem>
+                       <elem name="value1" type="queryRecValue" optional="yes"> Value to compare the attribute with.</elem>
                        <elem name="value2" type="queryRecValue" optional="yes"> Another value to compare the attribute with (op = WITHIN only).</elem>
                </struct>