Discover Packages
github.com/ONSdigital/dp-frontend-filter-flex-dataset
command
module
Version:
v1.37.0
Opens a new window with list of versions in this module.
Published: Jan 25, 2024
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
dp-frontend-filter-flex-dataset
Frontend service to host filter and flexing of datasets
Frontend service to host filter, flexing and rendering the templates for datasets
Getting started
Dependencies
No further dependencies other than those defined in go.mod
Configuration
Environment variable
Default
Description
API_ROUTER_URL
http://localhost:23200/v1
The URL of the dp-api-router
BIND_ADDR
:20100
The host and port to bind to
DEBUG
false
Enable debug mode
DEFAULT_MAXIMUM_SEARCH_RESULTS
50
Maximum paginated search results
ENABLE_MULTIVARIATE
false
Enable 2021 multivariate datasets
GRACEFUL_SHUTDOWN_TIMEOUT
5s
The graceful shutdown timeout in seconds (time.Duration
format)
HEALTHCHECK_CRITICAL_TIMEOUT
90s
Time to wait until an unhealthy dependent propagates its state to make this app unhealthy (time.Duration
format)
HEALTHCHECK_INTERVAL
30s
Time between self-healthchecks (time.Duration
format)
OTEL_BATCH_TIMEOUT
5s
Interval between pushes to OT Collector
OTEL_EXPORTER_OTLP_ENDPOINT
http://localhost:4317
URL 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_DOMAIN
localhost
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.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
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
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
Package handlers is a generated GoMock package.
Package handlers is a generated GoMock package.
Click to show internal directories.
Click to hide internal directories.