OpenDataNode / open-data-node

Open Data Node
11 stars 3 forks source link

Missing configuration parameters in backend.properties #231

Closed OskarStoffan closed 8 years ago

OskarStoffan commented 9 years ago

When a pipeline uses uv-l-rdfToVirtuosoAndCkan, it returns a nullpointerexception error, this is caused by missing configuration parameters in backend.properties

The following properties are missing:

dpu.l-rdfToVirtuoso.username dpu.l-rdfToVirtuoso.password dpu.l-rdfToVirtuoso.jdbc.url dpu.uv-l-rdfToVirtuosoAndCkan.dataset.uri.pattern dpu.uv-l-rdfToVirtuosoAndCkan.resource.name

Tested on ODN v 1.2.0 TC ID: ODN-68, ODN-70, ODN-72, ODN-74.

Jan-Marcek commented 9 years ago

I have just tasted with the parameters in backend.properties and it has worked.

dpu.l-rdfToVirtuoso.username = dba
dpu.l-rdfToVirtuoso.password = dba
dpu.l-rdfToVirtuoso.jdbc.url = jdbc:virtuoso://localhost:1111/charset=UTF-8/
dpu.uv-l-rdfToVirtuosoAndCkan.dataset.uri.pattern = https://host/internalcatalog/dataset/${id}

It is not well documented on the https://github.com/OpenDataNode/UVPlugin-rdfToVirtuosoAndCkan/tree/v1.1.5

OskarStoffan commented 9 years ago

Yes, it works when the parameters are set manually in /etc/unifiedviews/backend-config.properties, tested on ODN v 1.2.0

Jan-Marcek commented 8 years ago

fixed. please, look on the https://github.com/OpenDataNode/odn-box/issues/42 for more information