Closed ktk closed 7 years ago
Given this config for Trifid developer branch:
{ "baseConfig": "trifid:config-sparql.json", "sparqlEndpointUrl": "https://web-sparql-virtuoso.dev.bgdi.ch/sparql", "datasetBaseUrl": "https://ld.geo.admin.ch/", "staticFiles": { "alodFiles": { "path": "/", "folder": "cwd:data/public" } } }
And this URI for testing: http://geotrifid:8080/boundaries/cantons/12 (localhost should probably work as well)
Trifid does the ASK for http, not https as it should according to the datasetBaseUrl.
ASK
http
https
datasetBaseUrl
Resources to test with:
https://ld.geo.admin.ch/boundaries/countries/DE
https://ld.geo.admin.ch/boundaries/countries/CH
https://ld.geo.admin.ch/boundaries/countries/IT
https://ld.geo.admin.ch/boundaries/countries/LI
https://ld.geo.admin.ch/boundaries/countries/DE:2016
https://ld.geo.admin.ch/boundaries/countries/CH:2016
https://ld.geo.admin.ch/boundaries/countries/IT:2016
https://ld.geo.admin.ch/boundaries/countries/LI:2016
https://ld.geo.admin.ch/boundaries/cantons/2
https://ld.geo.admin.ch/boundaries/cantons/3
Fixed with this commit in camouflage-rewrite and this commit in trifid. Patched versions of both packages have been published on npm.
Given this config for Trifid developer branch:
And this URI for testing: http://geotrifid:8080/boundaries/cantons/12 (localhost should probably work as well)
Trifid does the
ASK
forhttp
, nothttps
as it should according to thedatasetBaseUrl
.