dp-publishing-dataset-controller

command module
v1.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 15 Imported by: 0

README

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:

  1. Move into the correct directory
cd dp-publishing-dataset-controller
  1. Run the service
make debug
Configuration
Environment variable Default Description
BIND_ADDR :24000 The host and port to bind to
API_ROUTER_URL http://localhost:23200/v1 The URL of the dp-api-router
BABBAGE_URL http://localhost:8080 The URL for Babbage
DATASET_BATCH_SIZE 100 Size of the batches, used for pagination
DATASET_BATCH_WORKERS 10 Number of batch workers, used for pagination
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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
clients

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL