OSLC / oslc-server

A minimal OSLC server that uses the oslc-service and ldp-service and can be accessed using a browser REST client.
http://oslc.github.io/developing-oslc-applications/oslc-open-source-node-projects.html
Apache License 2.0
10 stars 5 forks source link

oslc-server needs to configure the whole express routes in order to support multiple adapters #8

Closed jamsden closed 5 years ago

jamsden commented 5 years ago

oslc-server uses oslc-service uses ldp-service uses ldp-service-jena.

We want to be able to specify these dependencies in one place, the oslc-server package.json file, so that the server and its configuration specifies how things are assembled.

This means all the dependency management and loading needs to be done in oslc-sever, not in the assembled services.

So oslc-server needs to require the necessary modules, and assemble the routes. The used services don't have these dependencies, and only use express next() to delegate to the server's desired configuration.

jamsden commented 5 years ago

Reimplemented the express.js so that the storage service and routes for oslc-service and ldp-service are now done in oslc-server.