UWS 1.1 working draft

Mark Taylor m.b.taylor at bristol.ac.uk
Tue Jun 3 09:33:53 PDT 2014


Paul+GWS,

the Blocking Endpoints addition is a great idea, I hadn't noticed this
was under consideration, sorry I couldn't attend the relevant GWS
session at ESAC since I was elsewhere.  However, if I understand
the current proposal as written in WD-UWS-1.1-20140527, it doesn't
quite fit my requirements at least.

In topcat and stilts, I don't just want to wait for the job to complete,
I'd like to display the current phase to the user as it transitions
between phases, in particular the potentially long-lived phases not
under client control, i.e. QUEUED, EXECUTING and maybe SUSPENDED.
Since the current proposal only lets me do a long poll to detect
the end of EXECUTING, I'm still going to have to do normal polling
to find out when EXECUTING starts.

I thought about suggesting that the blockingphase endpoint should
return whenever the phase changes, but that doesn't really work
because you don't know for sure what the phase was when you called it.
So instead, could that endpoint have a parameter, something like

   /{jobs}/(job-id)/blockingphase?not_equal_to=EXECUTING

which returns immediately if the phase is different from the
given parameter value (EXECUTING in the example above), and
otherwise blocks until it changes?

Mark

On Wed, 28 May 2014, Paul Harrison wrote:

> Hi,
> 
> As a result of the discussion at the Interop I have published a new version of UWS 1.1 as an official working draft on the IVOA site. http://www.ivoa.net/documents/UWS/20140527/
> 
> The changes are summarised here http://www.ivoa.net/documents/UWS/20140527/WD-UWS-1.1-20140527.html#ver11
> 
> and detailed changes are available from volute https://code.google.com/p/volute/source/diff?spec=svn1353&r=2639&format=side&old_path=/trunk/projects/grid/uws/doc/UWS.html&path=/trunk/projects/grid/uws/doc/UWS.html&old=1353 (or from your favourite svn diff tool).
> 
> Please consider implementing the changes and giving feedback on whether the new version succeeds in its aim of backwards compatibility.
> 
> Regards,
> 	Paul.
> 
> 
> 
> 
> 
> 

--
Mark Taylor   Astronomical Programmer   Physics, Bristol University, UK
m.b.taylor at bris.ac.uk +44-117-9288776  http://www.star.bris.ac.uk/~mbt/


More information about the grid mailing list