From 24d79b5e4452c5561238cb9457b1ef035e424c24 Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Thu, 17 Feb 2005 15:40:49 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create branch 'glite-lb-ws- interface_branch_1_0_0'. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Cherrypick from master 2005-02-17 15:40:48 UTC Aleš Křenek 'First attempt to generate LB.wsdl from LB's internal .T structure definitions': org.glite.lb.ws-interface/src/LB.xml.T --- org.glite.lb.ws-interface/src/LB.xml.T | 127 +++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 org.glite.lb.ws-interface/src/LB.xml.T diff --git a/org.glite.lb.ws-interface/src/LB.xml.T b/org.glite.lb.ws-interface/src/LB.xml.T new file mode 100644 index 0000000..a96551b --- /dev/null +++ b/org.glite.lb.ws-interface/src/LB.xml.T @@ -0,0 +1,127 @@ + + +@@@LANG: wsdl + + + + + Keeping track of state of grid jobs. + + + + Flags determining which fields of job status should be retrieved. + Can be combined arbitrarily. + Include also long job descriptions (JDL). + Return list of subjobs of a DAG. + Return state of the subjobs, i.e. apply other flags recursively + + + +@@@{ + for my $stat ($status->getTypesOrdered) { + my $u = uc $stat; + my $c = getTypeComment $status $stat; + gen qq{ +! $c +}; + } +@@@} + + +@@@{ + for my $n ($status->getAllFieldsOrdered) { + my $f = selectField $status $n; + if ($f->{codes}) { + my $n = getName $f; + $n = $1.ucfirst $2 while $n =~ /([[:alpha:]]*)_([[:alpha:]]*)/; + gen qq{ +! +}; + for (@{$f->{codes}}) { + my $uc = uc $_->{name}; + gen qq{ +! $_->{comment} +}; + } + gen qq{ +! +}; + } + } +@@@} + + + + + Status of a job, possibly including subjobs. + Status name. +@@@{ + for my $n (getAllFieldsOrdered $status) { + selectField $status $n; + my $f = getField $status; + my $name = getName $f; + $name = $1.ucfirst $2 while $name =~ /([[:alpha:]]*)_([[:alpha:]]*)/; + my $type = $f->{type}; + my $list = 'no'; + + if ($main::baseTypes{$type}) { + $type = eval $main::types{wsdl}->{$main::baseTypes{$type}}; + $list = 'yes' + } + elsif ($f->{codes}) { + $type = $name; + } + else { + $type = getType $f; + } + + my $comment = getComment $f; +# XXX: currently nothing is "optional" as we don't know from status.T + gen qq{ +! $comment +}; + } +@@@} + + + + + + + + + + + + + + + Generic SOAP fault, used to deliver any LB errors. + Source component (module) of the error. + Numeric error code. + Error text corresponding to the code. + Additional description of the error (e.g. filename) + Reason of the error, coming from lower levels. + + + + + + + + + + + Query state of a single job. + Id of the queried job. + Which data fields to retrieve. + Current state of the job. + Any error. + + + -- 1.8.2.3