Skip to content

A service that provide functionality to register and list datasource endpoints to be harvested.

License

Notifications You must be signed in to change notification settings

Informasjonsforvaltning/fdk-harvest-admin

Repository files navigation

fdk-harvest-admin

A service that provide functionality to register and list data sources to be harvested.

To run locally:

  • install Golang >=1.20

  • Tests:

// Run all tests
go test ./test
// Run tests with coverage report
go test -v -race -coverpkg=./... -coverprofile=coverage.txt -covermode=atomic ./test
  • Start the service:
// Start with go run
docker-compose up -d mongodb
docker-compose up -d rabbitmq
go get
go run main.go
// Start with docker-compose
docker-compose up -d --build
  • Check that service is running:
curl -X 'GET' \
  'localhost:8000/ping' \
  -H 'accept: application/json'

About

A service that provide functionality to register and list datasource endpoints to be harvested.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages