buda-base / lds-pdi

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

configuration for prefixes / full URIs #153

Closed eroux closed 5 years ago

eroux commented 5 years ago

I just realize there's an even more fundamental thing to do before DILA can use ldspdi:

/resource/{res}

is hardcoded to serve bdr:{res} / http://purl.bdrc.io/resource/{res} (see this line). The same is true for /admindata/ and /graph/. There should be configuration for that in the ldspdi.properties file. For instance:

endpoints.resource.shortprefix = bdr:
endpoints.resource.fullprefix = http://purl.bdrc.io/resource/
endpoints.admindata.shortprefix = bda:
endpoints.admindata.fullprefix = http://purl.bdrc.io/admindata/
endpoints.graph.shortprefix = bdg:
endpoints.graph.fullprefix = http://purl.bdrc.io/graph/

This is quite high priority

MarcAgate commented 5 years ago

This has been fixed in commit c8692e4