LD4P / sinopia_server

[Deprecated - switching to MongoDB] Sinopia Back-end CRUD Service. LDP-inspired, HTTP Server taking JSON-LD resources & administrative metadata.
Apache License 2.0
1 stars 1 forks source link

Allow URLs and administrative users to be specified in env vars #63

Closed mjgiarlo closed 5 years ago

mjgiarlo commented 5 years ago

Without this change, specifically the change to the baseUrl value, pipeline integration tests fail due to testing over a network boundary, in which resources are created with a baseUrl of localhost:8080. Resources with that baseUrl are inaccessible to containerized services such as the pipeline, however. This change means we can assert a baseUrl of platform:8080 despite what hostname the client/test uses, allowing the pipeline to run in the integration test.

This also requires a new version of the server docker container (for ld4p/trellis-ext-db) to be built and pushed, which I've already taken the liberty of doing.

connects to LD4P/sinopia_indexing_pipeline#7