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

SPARQL endpoint page http://sparql.geneontology.org #267

Closed
1 of 4 tasks
lpalbou opened this issue Jan 5, 2021 · 10 comments
Closed
1 of 4 tasks

SPARQL endpoint page http://sparql.geneontology.org #267

lpalbou opened this issue Jan 5, 2021 · 10 comments
Assignees

Comments

@lpalbou
Copy link
Contributor

lpalbou commented Jan 5, 2021

The documentation page http://geneontology.org/docs/sparql/ has been completed but is not yet referenced (#269).

The SPARQL entry point described in the GO article is http://sparql.geneontology.org. Currently, this redirects to a generic blazegraph workbench page with no mention of GO or example.

This ticket is to deploy in production the new UI page for the GO SPARQL endpoint:

Screen Shot 2021-01-04 at 5 24 48 PM

Steps:


The following is just for reference as @cmungall would prefer a proxy to a GH page. If it was to be done with CF/S3/Route53, it could be done that way:

Screen Shot 2021-01-04 at 5 23 42 PM

Result on my test architecture (http://sparql.geneontology.xyz/):
Screen Shot 2021-01-04 at 5 31 43 PM

It's important to use the correct bucket name, or you won't see that option for the routing. If you have additional difficulties, you could otherwise just create a CF distribution to that bucket and route the subdomain to that CF distribution.

@pgaudet

This comment has been minimized.

@pgaudet

This comment has been minimized.

@lpalbou

This comment has been minimized.

@lpalbou
Copy link
Contributor Author

lpalbou commented Jan 11, 2021

@kltm I pushed the sparql.html standalone page to this repo: 66d6675

If you have difficulties deploying it on sparql.geneontology.org, please refer to the steps I took for S3/Route53 here: #267 (comment) and which give us this page & route: http://sparql.geneontology.xyz

Thanks

@cmungall
Copy link
Member

regarding the specific content to go on the static documentation page, let's set up another ticket for this page, as @lpalbou says:

This ticket is to deploy in production the new UI page for the GO SPARQL endpoint:

@lpalbou
Copy link
Contributor Author

lpalbou commented Jan 11, 2021

There is a little mix indeed, so let's be clear, there are two pages:

@cmungall
Copy link
Member

I suggest a modification to the 2nd item in the checklist

As a general principle, I vastly prefer minimizing the number of moving pieces. I would rather not add an extra bucket just for deploying a static html file. While it is trivial, it adds to the overall complexity of configuration of the system, add introduces additional things that need synchronized.

My preference would be that all static html served to the public is done from a single source, which is this repo. We would simply check the html into this repo, and it would be deployed automatically. There is no need to set up an additional job to sync content from github to a new bucket. We would still need to have http://sparql.geneontology.org point at this page (3rd item in checklist).

@lpalbou
Copy link
Contributor Author

lpalbou commented Jan 12, 2021

Right. As it is, the page is already on GH and also accessible through: http://geneontology.org/sparql. So if you prefer without S3 bucket, I will replace step 2 by @kltm creating a proxy from sparql.geneontology.org to http://geneontology.org/sparql.

@kltm
Copy link
Member

kltm commented Jan 19, 2021

Okay, playing around a little with this, it seems like I have found settings for both forwarding and full proxying. Given what I think the uses are right now, I'm a little more comfortable with having the forward in place (less mechanism, less likely to get weird later). The forward is currently applied. @cmungall Do you have an opinion which way to go here?

@lpalbou
Copy link
Contributor Author

lpalbou commented Feb 5, 2021

Proxy seems to be working.

Other issues / recommendations can be added as separate tickets, deployment done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants