buda-base / lds-pdi

http://purl.bdrc.io BDRC Linked Data Server
Apache License 2.0
2 stars 0 forks source link

submodules for queries #3

Closed eroux closed 6 years ago

eroux commented 6 years ago

It would be helpful to have the queries in their own git repository (lds-queries ?), with two directories:

Then lds-pdi could take as a parameter the path of a local lds-queries git repo and use that. lds-pdi would also have a mechanism to update the git repository when a users requests the url /admin/update-lds-queries. The idea of a submodule had been initially proposed, but I think it would actually make things a bit more difficult (not distributable through maven, cumbersome need of updating the referenced commit, possibility of annoying conflicts, etc.). The jgit library should be easy enough to use for that purpose (and is used in the migration)...

MarcAgate commented 6 years ago

A first version has been implemented. Some kind of online query template editor along with online validation and testing functionalities should be created sooner or later.