[p3t] Simple Cone Search starting point added

Paul Harrison paul.harrison at manchester.ac.uk
Fri Feb 23 09:55:23 CET 2024


Hi,

Unfortunately, I have not got much time for looking at this in depth now, but a couple of points


  *   It looks a bit unRESTful to POST to the /jobs/{job_id}/start do we want non-idempotent behaviour there - is that supposed to be starting a new job with the same parameters?
  *   If we are going to make some radical changes to UWS then it would be nice to return to the original concept (before the standardisation compromises) that UWS treated the body content of the job creation POST as an opaque blob – it could then be anything (including XML! or even some binary format)
Paul.


From: p3t <p3t-bounces at ivoa.net> on behalf of Russ Allbery <eagle at eyrie.org>
Date: Friday, 23 February 2024 at 01:12
To: P3t at ivoa.net <P3t at ivoa.net>
Subject: Re: [p3t] Simple Cone Search starting point added
Russ Allbery <eagle@ eyrie. org> writes: > I have added a starting point for looking at an OpenAPI schema for Simple > Cone Search. README is available at: > https: //urldefense. com/v3/__https: //github. com/ivoa/PTTT/tree/main/cone-search__;!!PDiH4ENfjr2_Jw!GiMsqhY8lmQwGlIoJbAw_1VCaLLJOOaXy_-3-zUfQbvp7DdeHvKvr9RZZ9xWiMpKvQIOR_4grmn88JmwxUjTUyE$[github[. ]com]
ZjQcmQRYFpfptBannerStart
This Message Is From a New External Sender
You have not previously corresponded with this sender. Please exercise caution when opening links or attachments included in this message.

ZjQcmQRYFpfptBannerEnd

Russ Allbery <eagle at eyrie.org> writes:



> I have added a starting point for looking at an OpenAPI schema for Simple

> Cone Search. README is available at:



>     https://urldefense.com/v3/__https://github.com/ivoa/PTTT/tree/main/cone-search__;!!PDiH4ENfjr2_Jw!GiMsqhY8lmQwGlIoJbAw_1VCaLLJOOaXy_-3-zUfQbvp7DdeHvKvr9RZZ9xWiMpKvQIOR_4grmn88JmwxUjTUyE$<https://urldefense.com/v3/__https:/github.com/ivoa/PTTT/tree/main/cone-search__;!!PDiH4ENfjr2_Jw!GiMsqhY8lmQwGlIoJbAw_1VCaLLJOOaXy_-3-zUfQbvp7DdeHvKvr9RZZ9xWiMpKvQIOR_4grmn88JmwxUjTUyE$>[github[.]com]



> This is mostly a framework to get started and let us quickly iterate on

> the OpenAPI schema by letting FastAPI do most of the work. I focused on

> getting the framework in place rather than adding a lot of API details.



> This provides only a sync GET interface without capabilities or

> availability. For a more fully-fleshed example, we'll want to add an

> async interface with UWS and models for capabilities and availability. I

> plan on working on that next if this is a suitable starting point.



I have updated this proof-of-concept API stub to include a parallel POST

way to do a sync simple cone search, and a UWS API.  The UWS API has the

most substantial possible changes from the existing XML API, since it's

heavily influenced by using JSON rather than XML and using REST verbs.

The UWS API here is designed to be generic, similar to the existing UWS

API.



This is all the work I was planning on doing in advance of our next

meeting, but let me know if anyone has any questions or problems using the

repository, or if anything is obviously missing.



--

Russ Allbery (eagle at eyrie.org)             <https://urldefense.com/v3/__https://www.eyrie.org/*eagle/__;fg!!PDiH4ENfjr2_Jw!GiMsqhY8lmQwGlIoJbAw_1VCaLLJOOaXy_-3-zUfQbvp7DdeHvKvr9RZZ9xWiMpKvQIOR_4grmn88Jmw3gjs6pc$<https://urldefense.com/v3/__https:/www.eyrie.org/*eagle/__;fg!!PDiH4ENfjr2_Jw!GiMsqhY8lmQwGlIoJbAw_1VCaLLJOOaXy_-3-zUfQbvp7DdeHvKvr9RZZ9xWiMpKvQIOR_4grmn88Jmw3gjs6pc$>[eyrie[.]org]>

--

p3t mailing list

p3t at ivoa.net

https://urldefense.com/v3/__http://mail.ivoa.net/mailman/listinfo/p3t__;!!PDiH4ENfjr2_Jw!GiMsqhY8lmQwGlIoJbAw_1VCaLLJOOaXy_-3-zUfQbvp7DdeHvKvr9RZZ9xWiMpKvQIOR_4grmn88JmwBoy4DQ0$<https://urldefense.com/v3/__http:/mail.ivoa.net/mailman/listinfo/p3t__;!!PDiH4ENfjr2_Jw!GiMsqhY8lmQwGlIoJbAw_1VCaLLJOOaXy_-3-zUfQbvp7DdeHvKvr9RZZ9xWiMpKvQIOR_4grmn88JmwBoy4DQ0$>[mail[.]ivoa[.]net]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ivoa.net/pipermail/p3t/attachments/20240223/f3948898/attachment-0001.htm>


More information about the p3t mailing list