<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I posted this to the VOSpace mailing list (<a href="mailto:vospace@ivoa.net">vospace@ivoa.net</a>) after the last Interop and have gotten no responses so far so let's try the main GWS list.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>Cheers,</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">     </span>Matthew<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Matthew Graham <<a href="mailto:mjg@cacr.caltech.edu">mjg@cacr.caltech.edu</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">May 24, 2010 10:28:04 PM PDT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:vospace@ivoa.net">vospace@ivoa.net</a><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>vos:group vs. uws:JobInfo</b><br></span></div><br><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>As mentioned last week, this remains the outstanding issue with VOSpace 2.0.</div><div><br></div><div>When multiple protocols are specified, we may need to associate a particular protocolEndpoint parameter with its respective protocol parameter (pushFromVoSpace) but in UWS these are all uws:parameters:</div><div><br></div><div><uws:parameters></div><div>  <uws:parameter id="protocol">ivo://ivoa.net/vospace/core#httpput</uws:parameter></div><div>  <uws:parameter id="protocolEndpoint">http://some.server.com/put/the/data/here</uws:parameter></div><div>  <uws:parameter id="protocol">ivo://ivoa.net/vospace/core#ftpput</uws:parameter></div><div>  <uws:parameter id="protocolEndpoint">ftp://some.other.server.com/put/the/data/here</uws:parameter></div><div></uws:parameters></div><div><br></div><div>To handle this, we have added a parameter vos:group to the UWS Job representation so that groups of parameters can be tagged. The attribute should appear on all parameters and have the same value for a particular group, in this case, a particular protocol - protocolEndpoint pairing:</div><div><br></div><div><div><uws:parameters></div><div>  <uws:parameter id="protocol" vos:group="protocol1">ivo://ivoa.net/vospace/core#httpput</uws:parameter></div><div>  <uws:parameter id="protocolEndpoint" vos:group="protocol1">http://some.server.com/put/the/data/here</uws:parameter></div><div>  <uws:parameter id="protocol" vos:group="protocol2">ivo://ivoa.net/vospace/core#ftpput</uws:parameter></div><div>  <uws:parameter id="protocolEndpoint" vos:group="protocol2">ftp://some.other.server.com/put/the/data/here</uws:parameter></div><div></uws:parameters></div><div><br></div><div>The alternate solution is that the protocol information for a transfer job does not appear in uws:parameters but in uws:jobInfo which can take arbitrary XML (as the spec says: <span class="Apple-style-span" style="font-family: sans-serif, 'new century schoolbook', 'gothic light'; font-size: 13px; ">The <span class="xmlelement" style="font-family: 'Courier New', Courier, monospace; font-weight: bold; "><job></span> element has placeholders of all of the standard UWS objects, and in addition there is a <span class="xmlelement" style="font-family: 'Courier New', Courier, monospace; font-weight: bold; "><uws:jobinfo></span> element which can be used by implementations to include any extra information within the job description.):</span></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><uws:job></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;">  ...</span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;">  <uws:parameters></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;">     ...</span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;">  </uws:parameters></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;">  ...</span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;">  <uws:jobinfo></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;">    <vos:protocol id="<a href="ivo://ivoa.net/vospace/core#httppput">ivo://ivoa.net/vospace/core#httppput</a>></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;">      <vos:endpoint>http://some.server.com/put/the/data/here</vos:endpoint></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;">    <vos:protocol></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;">    <vos:protocol id="<a href="ivo://ivoa.net/vospace/core#ftpput">ivo://ivoa.net/vospace/core#ftpput</a>"></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px; ">      <vos:endpoint>ftp://some.other.server.com/put/the/data/here</vos:endpoint></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px; ">    <vos:protocol></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;"></uws:job></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;">My only concern with this is that my reading of the UWS spec was that uws:jobInfo was something that the implementation used to provide extra information after a job has been specified and that it was not for additional UWS job specification material. All the information for a job should be in the uws:parameters section.</span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;">Thoughts, view, comments, etc. please.</span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><span class="Apple-tab-span" style="white-space:pre"> </span>Cheers,</span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><span class="Apple-tab-span" style="white-space:pre">     </span>Matthew</span></font></div></span></span></font></div><div><font class="Apple-style-span" face="sans-serif, 'new century schoolbook', 'gothic light'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div></div><div><p style="text-align: auto; text-indent: 0px;margin-top: 2.64pt; margin-bottom: 0pt; margin-left: 0.75in; direction: ltr; unicode-bidi: embed; vertical-align: baseline; "><br></p>

<!--EndFragment-->


</div></div></blockquote></div><br></div></body></html>