hbz / lobid-organisations

Transformation, web frontend, and API for lobid-organisations
http://lobid.org/organisations
Eclipse Public License 2.0
13 stars 3 forks source link

OpenRefine reconciliation endpoint does not work in testbench #425

Open acka47 opened 4 years ago

acka47 commented 4 years ago

Although everything works locally when following the instructions in https://github.com/hbz/lobid-organisations/issues/55#issuecomment-129771979, I don't get the endpoint to run properly in the testbench.

When I input http://lobid.org/organisations/reconcile (without ssl) as endpoint, I get:

The endpoint must return a JSONP document describing the service.

When inputing https://lobid.org/organisations/reconcile, I can test reconciliation queries (e.g. "Stadtbibliothek Kempten ") but will get:

Error: Cannot read property 'result' of undefined

wetneb commented 4 years ago

Have you disabled mixed content blocking in your browser? By default, calls to HTTP services are blocked by your browser as the testbench is served over HTTPS. It's annoying. Turning off HTTPS on GitHub pages does not seem possible unless we register our own domain name (we could probably get a subdomain of openrefine.org for that though, but I would prefer to keep the reconciliation CG and the OpenRefine project separate in theory…)

acka47 commented 3 years ago

The JSONP problem is fixed – probably as we added SSL support in the meantime. However, I now getthe following error message:

Validation errors for service manifest should have required property 'versions' .defaultTypes[0] should be object

wetneb commented 3 years ago

Those are obtained by validating your service manifest against the JSON schema in the specs.