Skip to content

A back end service service for creating dataset catalogues and datasets. Exposes a dcat-ap-no endpoint.

License

Notifications You must be signed in to change notification settings

Informasjonsforvaltning/dataset-catalog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dataset-catalog

A back end service for creating dataset catalogues and datasets. Exposes a dcat-ap-no endpoint.

Requirements

  • maven
  • java 15
  • docker
  • docker-compose

Environment Variables

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

Run tests with maven:

mvn verify

Run locally

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

Datastore

To inspect local MongoDB:

% docker-compose exec mongodb mongo
% use admin
% db.auth("admin","admin")
% use datasetCatalog
% db.datasets.find()

About

A back end service service for creating dataset catalogues and datasets. Exposes a dcat-ap-no endpoint.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published