Categorygithub.com/ONSdigital/dp-frontend-filter-flex-dataset

# README

dp-frontend-filter-flex-dataset

GitHub release

Frontend service to host filter and flexing of datasets

Frontend service to host filter, flexing and rendering the templates for datasets

Getting started

  • Run make debug

Dependencies

  • No further dependencies other than those defined in go.mod

Configuration

Environment variableDefaultDescription
API_ROUTER_URLhttp://localhost:23200/v1The URL of the dp-api-router
BIND_ADDR:20100The host and port to bind to
DEBUGfalseEnable debug mode
DEFAULT_MAXIMUM_SEARCH_RESULTS50Maximum paginated search results
ENABLE_MULTIVARIATEfalseEnable 2021 multivariate datasets
GRACEFUL_SHUTDOWN_TIMEOUT5sThe graceful shutdown timeout in seconds (time.Duration format)
HEALTHCHECK_CRITICAL_TIMEOUT90sTime to wait until an unhealthy dependent propagates its state to make this app unhealthy (time.Duration format)
HEALTHCHECK_INTERVAL30sTime between self-healthchecks (time.Duration format)
OTEL_BATCH_TIMEOUT5sInterval between pushes to OT Collector
OTEL_EXPORTER_OTLP_ENDPOINThttp://localhost:4317URL for OpenTelemetry endpoint
OTEL_SERVICE_NAME"dp-frontend-filter-flex-dataset"Service name to report to telemetry tools
PATTERN_LIBRARY_ASSETS_PATH""Pattern library location
SUPPORTED_LANGUAGES[]string{"en", "cy"}Supported languages
SITE_DOMAINlocalhost

Contributing

See CONTRIBUTING for details.

License

Copyright © 2022, Office for National Statistics (https://www.ons.gov.uk)

Released under MIT license, see LICENSE for details.

# Packages

assets in locale and templates folders are converted into Go source code with go-bindata the data.go file in this package is auto generated through the generate-debug and generate-prod tasks in the Makefile.
No description provided by the author
Package handlers is a generated GoMock package.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author