BONSAMURAIS / yasgui-query-interface

0 stars 0 forks source link

allow to specify requestConfig endpoint dynamically #6

Open tngTUDOR opened 4 years ago

tngTUDOR commented 4 years ago

Current

the sparql endpoint is hardcoded:

index.html
60:              requestConfig: { endpoint: 'http://odas.aau.dk/sparql' }

expected

it would be nice if we could change this in an environment variable, or read from a configuration file, sot hat we can test with different sparql endpoints

kuzeko commented 4 years ago

This file is in html, you will always need to edit some static file. I am not sure how this could be implemented

tngTUDOR commented 4 years ago

the upstream yasgui has a field to specify the sparql endpoint. We could keep the field, with a default value to odas, but also allowing for "other" endpoints. My interest here is in testing things, when odas is "offline" and when we have other sparql endpoint implementations (not virtuoso, but marmotta for example ;) )

kuzeko commented 4 years ago

I understand, if you know how to put back the field please proceed :)