From: Aleš Křenek Date: Thu, 25 Nov 2004 15:20:10 +0000 (+0000) Subject: initial import X-Git-Tag: glite-lb-server_R_0_5_2~3 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=1b65152648f37ac932474fcb772564753154171c;p=jra1mw.git initial import --- diff --git a/org.glite.lb.ws-interface/.Makefile.swp b/org.glite.lb.ws-interface/.Makefile.swp new file mode 100644 index 0000000..15a25d6 Binary files /dev/null and b/org.glite.lb.ws-interface/.Makefile.swp differ diff --git a/org.glite.lb.ws-interface/.cvsignore b/org.glite.lb.ws-interface/.cvsignore new file mode 100755 index 0000000..1df717b --- /dev/null +++ b/org.glite.lb.ws-interface/.cvsignore @@ -0,0 +1,2 @@ +.project +.cdtproject \ No newline at end of file diff --git a/org.glite.lb.ws-interface/LICENSE b/org.glite.lb.ws-interface/LICENSE new file mode 100755 index 0000000..01b973b --- /dev/null +++ b/org.glite.lb.ws-interface/LICENSE @@ -0,0 +1,69 @@ +LICENSE file for EGEE Middleware +================================ + +Copyright (c) 2004 on behalf of the EU EGEE Project: +The European Organization for Nuclear Research (CERN), +Istituto Nazionale di Fisica Nucleare (INFN), Italy +Datamat Spa, Italy +Centre National de la Recherche Scientifique (CNRS), France +CS Systeme d'Information (CSSI), France +Royal Institute of Technology, Center for Parallel Computers (KTH-PDC), Sweden +Universiteit van Amsterdam (UvA), Netherlands +University of Helsinki (UH.HIP), Finlan +University of Bergen (UiB), Norway +Council for the Central Laboratory of the Research Councils (CCLRC), United Kingdom + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +3. The end-user documentation included with the redistribution, if +any, must include the following acknowledgment: "This product includes +software developed by The EU EGEE Project (http://cern.ch/eu-egee/)." +Alternatively, this acknowledgment may appear in the software itself, if +and wherever such third-party acknowledgments normally appear. + +4. The names EGEE and the EU EGEE Project must not be +used to endorse or promote products derived from this software without +prior written permission. For written permission, please contact +. + +5. You are under no obligation whatsoever to provide anyone with any +bug fixes, patches, or upgrades to the features, functionality or +performance of the Software ("Enhancements") that you may develop over +time; however, if you choose to provide your Enhancements to The EU +EGEE Project, or if you choose to otherwise publish or distribute your +Enhancements, in source code form without contemporaneously requiring +end users of The EU EGEE Proejct to enter into a separate written license +agreement for such Enhancements, then you hereby grant The EU EGEE Project +a non-exclusive, royalty-free perpetual license to install, use, copy, +modify, prepare derivative works, incorporate into the EGEE Middleware +or any other computer software, distribute, and sublicense your +Enhancements or derivative works thereof, in binary and source code +form (if any), whether developed by The EU EGEE Project or third parties. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL PROJECT OR ITS CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +This software consists of voluntary contributions made by many +individuals on behalf of the EU EGEE Prject. For more information on The +EU EGEE Project, please see http://cern.ch/eu-egee/. For more information on +EGEE Middleware, please see http://egee-jra1.web.cern.ch/egee-jra1/ + + diff --git a/org.glite.lb.ws-interface/Makefile b/org.glite.lb.ws-interface/Makefile new file mode 100644 index 0000000..051fdeb --- /dev/null +++ b/org.glite.lb.ws-interface/Makefile @@ -0,0 +1,49 @@ +# Default values +top_srcdir=. +builddir=build +top_builddir=${top_srcdir}/${builddir} +stagedir=. +distdir=. +globalprefix=glite +lbprefix=lb +package=glite-lb-ws-interface +version=0.0.0 +PREFIX=/opt/glite + +-include Makefile.inc + +VPATH=${top_srcdir}/interface +STAGETO=interface + +WSDL=LB.wsdl + +all compile: + +check: + @echo No unit test required for interface-only module. + +stage: + $(MAKE) install PREFIX=${stagedir} + +dist: distsrc distbin + +distsrc: + mkdir -p ${top_srcdir}/${package}-${version} + cd ${top_srcdir} && GLOBIGNORE="${package}-${version}" && cp -Rf * ${package}-${version} + cd ${top_srcdir} && tar -czf ${distdir}/${package}-${version}_src.tar.gz --exclude-from=project/tar_exclude ${package}-${version} + rm -rf ${top_srcdir}/${package}-${version} + +distbin: + $(MAKE) install PREFIX=${top_srcdir}/tmpbuilddir + cd ${top_srcdir}/tmpbuilddir && tar -czf ${top_srcdir}/${distdir}/${package}-${version}_bin.tar.gz * + rm -rf ${top_srcdir}/tmpbuilddir + +install: + -mkdir -p ${PREFIX}/${STAGETO} + -mkdir -p ${PREFIX}/share/doc/${package}-${version} + install -m 644 ${top_srcdir}/LICENSE ${PREFIX}/share/doc/${package}-${version} + cd ${top_srcdir}/interface && install -m 644 ${WSDL} ${PREFIX}/${STAGETO} + +clean: + rm -f *.h + diff --git a/org.glite.lb.ws-interface/build.xml b/org.glite.lb.ws-interface/build.xml new file mode 100644 index 0000000..b412fb1 --- /dev/null +++ b/org.glite.lb.ws-interface/build.xml @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.glite.lb.ws-interface/interface/LB.wsdl b/org.glite.lb.ws-interface/interface/LB.wsdl new file mode 100755 index 0000000..dfbce26 --- /dev/null +++ b/org.glite.lb.ws-interface/interface/LB.wsdl @@ -0,0 +1,358 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Query the version of LB servere + +Input: no input + +Output: Version of LB server + +Faults: GenericLBFault + + + + + + + Retrieve state of a single job. + +Given a job id queries LB for detailed state of the job. + + +Input: + +jobid: Id of the job + +flags: Which fields of the job state should be retrieved: zero or more of CLASSADS, CHILDREN, CHILDSTAT + +Output: state of the job + +Faults: GenericLBFault + + + + + + + Query for jobs satisfying set of conditions. + +Intput: + +conditions: list of lists of query conditions. + Elements of the inner lists refer to a single job attribute, the conditions are or-ed. + Elements of the outer list may refer to different job attributes, they are and-ed. + +flags: Which fields of the job state should be retrieved: see JobStatus + +Output: list of mathching jobs, including their states + +Faults: GenericLBFault + + + + + + + Query all jobs of the current user. + +Input: no input + +Output: list of all user's jobs, including their states + +Faults: GenericLBFault + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Logging and Bookkeeping service + + + + + diff --git a/org.glite.lb.ws-interface/project/build.properties b/org.glite.lb.ws-interface/project/build.properties new file mode 100755 index 0000000..e69de29 diff --git a/org.glite.lb.ws-interface/project/configure.properties.xml b/org.glite.lb.ws-interface/project/configure.properties.xml new file mode 100644 index 0000000..563b7bd --- /dev/null +++ b/org.glite.lb.ws-interface/project/configure.properties.xml @@ -0,0 +1,53 @@ + + + + + + + + +top_srcdir=.. +builddir=build +stagedir=${stage.abs.dir} +distdir=${dist.dir} +globalprefix=${global.prefix} +lbprefix=${subsystem.prefix} +package=${module.package.name} +PREFIX=${install.dir} +version=${module.version} +glite_location=${with.glite.location} + + + diff --git a/org.glite.lb.ws-interface/project/properties.xml b/org.glite.lb.ws-interface/project/properties.xml new file mode 100644 index 0000000..736515e --- /dev/null +++ b/org.glite.lb.ws-interface/project/properties.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.glite.lb.ws-interface/project/version.properties b/org.glite.lb.ws-interface/project/version.properties new file mode 100755 index 0000000..0bda8d2 --- /dev/null +++ b/org.glite.lb.ws-interface/project/version.properties @@ -0,0 +1,3 @@ +module.version = 0.1.0 +module.build = 0 +module.age = 0