Sign inSign up

sptrakesh/version-history-api

By sptrakesh

Updated over 3 years ago

Simple REST API for accessing entity version history as created by `mongo-service`

Image
0

2.9K

sptrakesh/version-history-api repository overview

version-history-api.

The following environment variables may be used to configure the container.

  • MONGO_SERVICE_HOST - The hostname for accessing the mongo-service. This is mandatory.
  • MONGO_SERVICE_PORT - The port on which the mongo-service is listening. Default 2000.
  • VERSION_HISTORY_DATABASE - The database configured in mongo-service where version history documents are stored. Default versionHistory.
  • VERSION_HISTORY_COLLECTION - The collection configured in mongo-service where version history documents are stored. Default entities.
  • METRICS_DATABASE - The database in which API metrics are to be stored. Default metrics.
  • METRICS_COLLECTION - The collection in which API metrics are to be stored. Default api.
  • PORT - The port on which the service listens. Default 6100.
  • THREADS - The number of server threads to use. Default 8.
  • LOG_LEVEL - Logging level for the service. One of critical|warn|info|debug. Default info.

See stack file used to test.

Tag summary

Content type

Image

Digest

sha256:cbc98312a

Size

10.2 MB

Last updated

over 3 years ago

docker pull sptrakesh/version-history-api