Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.13 KB

README.md

File metadata and controls

49 lines (35 loc) · 1.13 KB

Lobby service

The purpose of this microservice is to provide a means for storing and retrieving applicant records before they are accepted into the DBC systems infrastructure.

Configuration

Environment variables

  • LOBBY_DB_URL database URL (USER:PASSWORD@HOST:PORT/DBNAME) of the underlying lobby store.

API

The service exposes a RESTful API.

Development

Requirements

To build this project JDK 1.8 and Apache Maven is required.

To start a local instance, docker is required.

Scripts

  • clean - clears build artifacts
  • build - builds artifacts
  • test - runs unit and integration tests
  • validate - analyzes source code and javadoc
  • start - starts localhost instance
  • stop - stops localhost instance
./scripts/clean && ./scripts/build && ./scripts/test && ./scripts/validate
./scripts/start-database
./scripts/start-server

...use service...

./scripts/stop

(and ctrl+c in the postgresql container)

License

Copyright Dansk Bibliotekscenter a/s. Licensed under GPLv3. See license text in LICENSE.txt