A back end service for creating dataset catalogues and datasets. Exposes a dcat-ap-no endpoint.
- maven
- java 21
- docker
- docker-compose
export FDK_BASE_HOST
export LOG_LEVEL
export MONGO_HOST
export MONGO_PORT
export MONGO_USERNAME
export MONGO_PASSWORD
export ORGANIZATION_CATALOGUE_HOST
export OIDC_ISSUER
export OIDC_JWKS
export RABBIT_HOST
export RABBIT_USERNAME
export RABBIT_PASSWORD
export SEARCH_FULLTEXT_HOST
Run tests with maven:
mvn verify
docker-compose up -d
mvn spring-boot:run -Dspring-boot.run.profiles=develop
Then in another terminal e.g.
curl http://localhost:8080/ping
curl http://localhost:8080/ready
To inspect local MongoDB:
% docker-compose exec mongodb mongo
% use admin
% db.auth("admin","admin")
% use datasetCatalog
% db.datasets.find()