dp-publishing-dataset-controller
Controller to coordinate all requests between frontend CMS and APIs involved in dataset upload, creation and editing.
Getting started
To run this service you must have Golang installed on a UNIX machine.
Once you have installed those dependencies and cloned this repo you need to run the following:
- Move into the correct directory
cd dp-publishing-dataset-controller
- Run the service
make debug
Configuration
Environment variable |
Default |
Description |
BIND_ADDR |
:24000 |
The host and port to bind to |
DATASET_API_URL |
http://localhost:22000 |
The host name for Dataset API |
ZEBEDEE_URL |
http://localhost:8081 |
The host name for Zebedee |
GRACEFUL_SHUTDOWN_TIMEOUT |
5s |
The graceful shutdown timeout in seconds |
HEALTHCHECK_INTERVAL |
30s |
Healthcheck interval in seconds |
HEALTHCHECK_CRITICAL_TIMEOUT |
90s |
Healthcheck timeout in seconds |
Contributing
See CONTRIBUTING for details.
License
Copyright © 2021, Office for National Statistics (https://www.ons.gov.uk)
Released under MIT license, see LICENSE for details.