dp-frontend-filter-dataset-controller

command module
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: MIT Imports: 16 Imported by: 0

README

dp-frontend-filter-dataset-controller

An HTTP service for the controlling of data relevant to the filtering of a particular dataset.

Configuration
Environment variable Default Description
BIND_ADDR :20001 The host and port to bind to.
RENDERER_URL http://localhost:20010 The URL of dp-frontend-renderer.
CODE_LIST_API http://localhost:22400 The URL of the code list api
FILTER_API_URL http://localhost:22100 The URL of the filter api
DATASET_API_URL http://localhost:22000 The URL of the dataset api
HIERARCHY_API_URL http://localhost:22600 The URL of the hierarchy api
SEARCH_API_URL http://localhost:23100 The URL of the search api
DOWNLOAD_SERVICE_URL http://localhost:23600 The URL of the download service
DATASET_API_AUTH_TOKEN n/a The token used to access the Dataset API
FILTER_API_AUTH_TOKEN n/a The token used to access the Filter API
SEARCH_API_AUTH_TOKEN n/a The token used to access the Search API
ENABLE_DATASET_PREVIEW false Flag to add preview of dataset to output page
ENABLE_LOOP11 false Flag to enable loop11 usability testing tool
HEALTHCHECK_INTERVAL 10s The time between calling healthcheck endpoints for check subsystems
HEALTHCHECK_CRITICAL_TIMEOUT 1m The time taken for the health changes from warning state to critical due to subsystem check failures

HEALTHCHECK_INTERVAL and HEALTHCHECK_CRITICAL_TIMEOUT can use the following formats to represent duration of time:

"300ms" = 300 milliseconds
"1.5h" =  1.5 hours
"2h45m" = 2 hours 45 minutes

Valid time units are 
"ns" = nanosecond
"us" (or "µs") = microsecond
"ms" = millisecond
"s" = second
"m" = minute
"h" = hour
Contributing

See CONTRIBUTING for details

Licence

Copyright ©‎ 2017, 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
Package handlers is a generated GoMock package.
Package handlers is a generated GoMock package.

Jump to

Keyboard shortcuts

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