LB4AGU - initial commit
authorJan Pospíšil <honik@ntc.zcu.cz>
Thu, 29 Oct 2009 09:05:59 +0000 (09:05 +0000)
committerJan Pospíšil <honik@ntc.zcu.cz>
Thu, 29 Oct 2009 09:05:59 +0000 (09:05 +0000)
org.glite.lb.ws-interface/src/README-lb4agu.txt [new file with mode: 0644]
org.glite.lb.ws-interface/src/lb4agu.wsdl [new file with mode: 0644]

diff --git a/org.glite.lb.ws-interface/src/README-lb4agu.txt b/org.glite.lb.ws-interface/src/README-lb4agu.txt
new file mode 100644 (file)
index 0000000..899b0c3
--- /dev/null
@@ -0,0 +1,52 @@
+References:
+-----------
+[AGU] AGU Execution Service strawman rendering (draft v9), http://forge.ogf.org/sf/go/doc15628 
+[GLUE] GLUE Specification v. 2.0, http://www.ogf.org/documents/GFD.147.pdf
+[GLUE-EGEE09] GLUE 2.0: Rollout strategy and current status, presentation at EGEE'09 conference, 
+http://indico.cern.ch/materialDisplay.py?contribId=279&sessionId=56&materialId=slides&confId=55893
+[GLUE-HTML] GLUE 2.0 HTML rendering, http://cern.ch/glue20
+[GLUE-REAL] GLUE 2.0 \96 Reference Realizations to Concrete Data Models (draft v1), http://forge.ogf.org/sf/go/doc15221
+[GLUE-USECASES] GLUE 2.0 Use Cases (draft v3), http://forge.ogf.org/sf/go/doc14621
+[GLUE-WG] The GLUE Working Group of OGF, http://forge.ogf.org/sf/projects/glue-wg
+[GLUE-XMLSchema-xsd] GLUE 2.0 XML Schema (Draft 41, Public Comment), http://schemas.ogf.org/glue/2008/05/spec_2.0_d42_r01,
+http://glueman.svn.sourceforge.net/viewvc/glueman/trunk/glue-xsd/xsd/
+[GLUE-XMLSchema-html] GLUE 2.0 XML Schema (Draft 41, Public Comment) HTML rendering, http://www.desy.de/~paul/GLUE/GLUE2.html
+[GLUE-XMLSchema-wiki] http://forge.ogf.org/sf/wiki/do/viewPage/projects.glue-wg/wiki/GLUE2XMLSchema
+[LB-WS] Logging and Bookkeeping Web Services, http://egee.cesnet.cz/en/WSDL/
+
+Aim:
+----
+implement GetActivityStatus, GetActivityInfo and QueryActivityInfo [AGU] operations
+in LB (namely enhance existing LB-WS interface):
+
+- GetActivityStatus - return states of given jobs (list of jobIds)
+- GetActivityInfo - return complete state information (history?) of given jobs (list of jobIds)
+- QueryActivityInfo - query all (user?) jobs
+
+LB-WS MUST return a GLUE 2.0 compliant response.
+
+Terminology in GLUE 2.0:
+------------------------
+GLUE 2 looks a bit different to GLUE 1, but most of the concepts
+are there under different names (see also [GLUE-EGEE09])
+\96 Site -> AdminDomain
+\96 (VO) -> UserDomain
+\96 Element -> Service, Service -> Endpoint
+\96 AccessControlBaseRule -> AccessPolicy, MappingPolicy
+\96 CE, VOView -> ComputingManager, ComputingShare
+\96 Cluster/SubCluster -> ExecutionEnvironment
+\96 (Job) -> Activity
+\96 SA/VOInfo -> StorageShare
+
+Open issues:
+------------
+- mapping of LB states to AGU states (see [AGU], section 5)
+
+Off topic:
+----------
+- could the following be applicable to LB?
+-- SQL Schema Realization of GLUE 2.0 (see [GLUE-REAL], section 4)
+-- LDAP Schema Realization (see [GLUE-REAL], section 5)
+
+
+
diff --git a/org.glite.lb.ws-interface/src/lb4agu.wsdl b/org.glite.lb.ws-interface/src/lb4agu.wsdl
new file mode 100644 (file)
index 0000000..ffb9c12
--- /dev/null
@@ -0,0 +1,129 @@
+<?xml version="1.0"?>
+<definitions> 
+       xmlns="http://schemas.xmlsoap.org/wsdl/" 
+       xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+       xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+       xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+       xmlns:lb="http://glite.org/wsdl/services/lb" 
+       xmlns:glue="http://schemas.ogf.org/glue/2008/05/spec_2.0_d42_r01"
+       name="LoggingAndBookkeeping4AGU" 
+       targetNamespace="http://glite.org/wsdl/services/lb">
+<documentation>CVS revision: $Header$</documentation>
+
+
+<!-- Messages -->
+<wsdl:message name="GetActivityStatusRequest">
+       <wsdl:part name="input" element="glue:Activity_t">
+               <wsdl:documentation>List of jobIDs</wsdl:documentation>
+       </wsdl:part>
+</wsdl:message>
+<wsdl:message name="GetActivityStatusResponse">
+       <wsdl:part name="output" element="glue:???">
+               <wsdl:documentation>List of job states</wsdl:documentation>
+       </wsdl:part>
+</wsdl:message>
+
+<wsdl:message name="GetActivityInfoRequest">
+       <wsdl:part name="input" element="glue:Activity_t">
+               <wsdl:documentation>List of jobIDs</wsdl:documentation>
+       </wsdl:part>
+</wsdl:message>
+<wsdl:message name="GetActivityInfoResponse">
+       <wsdl:part name="output" element="glue:???">
+               <wsdl:documentation>List of complete job states (incl. history?)</wsdl:documentation>
+       </wsdl:part>
+</wsdl:message>
+
+<wsdl:message name="QueryActivityInfoRequest">
+       <wsdl:part name="input" element="glue:Activity_t">
+               <wsdl:documentation>Some desctiption of jobs to retrieve???</wsdl:documentation>
+       </wsdl:part>
+</wsdl:message>
+<wsdl:message name="QueryActivityInfoResponse">
+       <wsdl:part name="output" element="glue:???">
+               <wsdl:documentation>List of complete job states (incl. history?)???</wsdl:documentation>
+       </wsdl:part>
+</wsdl:message>
+
+
+<!-- Execution Port-Type -->
+<wsdl:portType name="LoggingAndBookkeepingExecutionPortType">
+       <wsdl:operation name="GetActivityStatus">
+               <wsdl:documentation>Return states of given jobs.</wsdl:documentation>
+               <wsdl:input name="i" message="lb:GetActivityStatusRequest" />
+               <wsdl:output name="o" message="lb:GetActivityStatusResponse" />
+               <wsdl:fault name="f" message="lb:genericFault" />
+       </wsdl:operation>
+       <wsdl:operation name="GetActivityInfo">
+               <wsdl:documentation>Return complete state information (history?) of given jobs.</wsdl:documentation>
+               <wsdl:input name="i" message="lb:GetActivityInfoRequest" />
+               <wsdl:output name="o" message="lb:GetActivityInfoRequest" />
+               <wsdl:fault name="f" message="lb:genericFault" />
+       </wsdl:operation>
+</wsdl:portType>
+<binding name="LoggingAndBookkeepingExecution" type="lb:LoggingAndBookkeepingExecutionPortType">
+       <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
+       <wsdl:operation name="GetActivityStatus">
+      <soap:operation style="document" />
+      <wsdl:input name="i">
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output name="o">
+        <soap:body use="literal" />
+      </wsdl:output>
+      <wsdl:fault name="f">
+        <soap:fault name="f" use="literal" />
+      </wsdl:fault>
+    </wsdl:operation>
+       <wsdl:operation name="GetActivityInfo">
+      <soap:operation style="document" />
+      <wsdl:input name="i">
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output name="o">
+        <soap:body use="literal" />
+      </wsdl:output>
+      <wsdl:fault name="f">
+        <soap:fault name="f" use="literal" />
+      </wsdl:fault>
+    </wsdl:operation>
+</binding>
+
+
+<!-- Information Port-Type -->
+<wsdl:portType name="LoggingAndBookkeepingInformationPortType">
+       <wsdl:operation name="QueryActivityInfo">
+               <wsdl:documentation>Query all (user?) jobs.</wsdl:documentation>
+               <wsdl:input name="i" message="lb:QueryActivityInfoRequest" />
+               <wsdl:output name="o" message="lb:QueryActivityInfoResponse" />
+               <wsdl:fault name="f" message="lb:genericFault" />
+       </wsdl:operation>
+</wsdl:portType>
+<binding name="LoggingAndBookkeepingInformation" type="lb:LoggingAndBookkeepingInformationPortType">
+       <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
+       <wsdl:operation name="QueryActivityInfo">
+      <soap:operation style="document" />
+      <wsdl:input name="i">
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output name="o">
+        <soap:body use="literal" />
+      </wsdl:output>
+      <wsdl:fault name="f">
+        <soap:fault name="f" use="literal" />
+      </wsdl:fault>
+    </wsdl:operation>
+</binding>
+
+
+<!-- Service -->
+<service name="LoggingAndBookkeeping4AGU">
+       <port name="LoggingAndBookkeepingExecution" binding="lb:LoggingAndBookkeepingExecution">
+               <soap:address location="http://test.glite.org/lb:8080"/>
+       </port>
+       <port name="LoggingAndBookkeepingInformation" binding="lb:LoggingAndBookkeepingInformation">
+               <soap:address location="http://test.glite.org/lb:8080"/>
+       </port>
+</service>
+
+</definitions>