[Ops] Test queries from registry
Theresa Dower
dower at stsci.edu
Thu Jun 10 19:27:23 CEST 2021
Thanks, Markus, for spelling this out so well.
The NAVO sevice uptime monitor maintained by HEASARC at https://heasarc.gsfc.nasa.gov/vo/validation/web/doc/index.html does already pull testQuery res_detail metadata from STScI RegTAP queries where provided, and uses the relevant details per interface type to construct its queries if available. (I believe it defaults to 0,0, small-radius when not.) I've passed along the ADQL we collaborated on to VO-Paris without much documentation. This makes what's actually going on with them clearer.
Cheers,
--Theresa
________________________________
From: ops-bounces at ivoa.net <ops-bounces at ivoa.net> on behalf of Markus Demleitner <msdemlei at ari.uni-heidelberg.de>
Sent: Tuesday, June 8, 2021 8:15:40 AM
To: ops at ivoa.net
Subject: Re: [Ops] Test queries from registry
External Email - Use Caution
Dear Ops,
First: Thanks, Mark, for pointing out the SimpleDALRegExt test
queries, which, as you say, are what out to be used to construct test
queries for S*AP (including SIAv2) services...
On Tue, Jun 08, 2021 at 11:12:53AM +0100, Mark Taylor wrote:
> The relevant information is in the "testQuery and the Query Type"
> subsections of SimpleDALRegExt
> (https://urldefense.com/v3/__https://www.ivoa.net/documents/SimpleDALRegExt/__;!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!ldG_0tj3GmmeRHRiIn5tmCPLLyJ4SeUKmBlRK5hDZMZic2dveBos7PBI8SLwMg$ )
> which explains what test query information is registered for SCS/SIA/SSA,
> and in Appendix A of RegTAP (https://urldefense.com/v3/__https://www.ivoa.net/documents/RegTAP/__;!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!ldG_0tj3GmmeRHRiIn5tmCPLLyJ4SeUKmBlRK5hDZMZic2dveBos7PBMteQJfA$ )
> which gives (the non-obvious) details of how to extract this
> information from the rr.res_detail table.
...and in particular for the RegTAP queries (apologies for making it
a bit tricky to pick them out of the various tables).
But because we're talking about test queries and authors of
validators (who might want to chime on when such protocols are
designed) read this, let me mention that *future* protocols allowing
GET requests should preferably use the per-interface testQueryString
that was introduced in VOResource 1.1 (cf.
https://urldefense.com/v3/__https://ivoa.net/documents/VOResource/20180625/REC-VOResource-1.1.html*tth_sEc3.2.2__;Iw!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!ldG_0tj3GmmeRHRiIn5tmCPLLyJ4SeUKmBlRK5hDZMZic2dveBos7PDPY79H6g$ ,
the vr:Interface type).
The advantage here is mainly that no registry extension is required
to define test queries (and that per-interface test queries
potentially allow finer-grained validation). The next version of
RegTAP will also map this information into rr.interface in order to
make it easily accessible.
Again, this is for future protocols; I do not expect that the
existing SimpleDALRegExt registry extensions will move this way, so
looking up test queries for them in the way shown by Mark will
certainly remain the Right Thing for a long time to come.
-- Markus
_______________________________________________
ops mailing list
ops at ivoa.net
https://urldefense.com/v3/__http://mail.ivoa.net/mailman/listinfo/ops__;!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!ldG_0tj3GmmeRHRiIn5tmCPLLyJ4SeUKmBlRK5hDZMZic2dveBos7PBsXr4wvA$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ivoa.net/pipermail/ops/attachments/20210610/63e1b319/attachment.html>
More information about the ops
mailing list