Prototype for UI to build views following the RDF Data Cube specification
- Install lando
yarn
- Get a Stardog license and save to
~/stardog-home/stardog-license-key.bin
lando start
yarn bootstrap
- initialize the required database resources- Open https://view-builder.lndo.site/app/
For testing, credentials are stored in the file creds.json
Any changes to the RDF sources in apps/api/lib/resource(.dev)
will restart the app container, but it will
also be necessary to run yarn bootstrap
to update the store.
Once the local environment is up, some API HTTP tests can be executed by running:
lando test-api test/api/**/*.http
The glob pattern can be replaced with a concrete path to anny of the test .http
files in the test/api
directory.
Tests are executed using restcli.
API tests are now disabled on CI because we need a way to provide a Stardog license to the workflow
The Stardog database should have:
- the "Query All Graphs" (
query.all.graphs
) option set totrue
, - the "Describe Strategy" (
query.describe.strategy
) option set tocbd
.
The creds.json file is excluded from docker image. When running a container,
make sure to mount a similar file as /creds.json
.