Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMPROVEMENT: single point of access #213

Open
agy-why opened this issue Sep 4, 2023 · 0 comments
Open

IMPROVEMENT: single point of access #213

agy-why opened this issue Sep 4, 2023 · 0 comments
Labels
app:conesearch concerns the conesearch-app app:core concern the core-app app:datalink concern the datalink-app app:jobs app:metadata concern metadata app app:oai concern the oai-app app:query concern the query-app app:tap concern the tap-app category:code-style category:interface:OAI-PMH concern the oai-pmh interface category:interface:REST-API category:interface:WEB category:IVOA category:web-GUI enhancement priority:low
Milestone

Comments

@agy-why
Copy link
Member

agy-why commented Sep 4, 2023

IVOA SOAP, REST API, Direct DB access

Daiquiri accesses science data via three different ways. This mostly for historical reason.

graph LR;
    USER-->JS;
    JS-->REST;
    JS-->ScienceDB;
    USER-->IVOASoap;
    IVOASoap-->ScienceDB;
    USER-->REST;
    REST-->MetaDB;
    IVOASoap-->MetaDB;
    REST-->ScienceDB;
Loading

With the renewal of the JS interface for daiquiri (toward react) we may ask our selves if we wish to simplify this aspect of daiquiri.

I a standard JS web application the structure is as follow:

graph LR;
    USER-->JS;
    JS-->REST;
    REST-->ScienceDB;
Loading

Since we want to use this construct for the JS interfaces, I suggest to adapt the other interfaces to the same construct, creating a single point of access to the DB: the REST API.

graph LR;
    USER-->JS;
    USER-->REST;
    JS-->REST;
    USER-->IVOASoap;
    IVOASoap-->REST;
    REST-->ScienceDB;
    REST-->MetaDB;
Loading
@agy-why agy-why added enhancement app:query concern the query-app app:oai concern the oai-app app:tap concern the tap-app app:conesearch concerns the conesearch-app priority:low category:interface:WEB category:web-GUI category:interface:REST-API app:core concern the core-app app:datalink concern the datalink-app category:IVOA app:jobs app:metadata concern metadata app category:interface:OAI-PMH concern the oai-pmh interface category:code-style labels Sep 4, 2023
@agy-why agy-why added this to the Next version milestone Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:conesearch concerns the conesearch-app app:core concern the core-app app:datalink concern the datalink-app app:jobs app:metadata concern metadata app app:oai concern the oai-app app:query concern the query-app app:tap concern the tap-app category:code-style category:interface:OAI-PMH concern the oai-pmh interface category:interface:REST-API category:interface:WEB category:IVOA category:web-GUI enhancement priority:low
Projects
None yet
Development

No branches or pull requests

1 participant