dis-bundle-api

command module
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

dis-bundle-api

The dis-bundle-api is a backend service for managing and publishing datasets and content as bundles, similar to Florence’s collections.

Getting started

To run make lint-api-spec you require the Node version specified in .nvmrc and to install redocly/cli:

   # Ensure you have the correct version of node installed
   nvm install

   # Install redocly
   nvm exec -- npm install -g @redocly/cli
Dependencies
  • No further dependencies other than those defined in go.mod
Configuration
Environment variable Default Description
BIND_ADDR :29800 The host and port to bind to
DATASET_API_URL http://localhost:22000 The hostname and port for the Dataset API
GRACEFUL_SHUTDOWN_TIMEOUT 5s The graceful shutdown timeout in seconds (time.Duration format)
HEALTHCHECK_INTERVAL 30s Time between self-healthchecks (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)
OTEL_BATCH_TIMEOUT 5s Timeout for OpenTelemetry batch export (time.Duration format)
OTEL_EXPORTER_OTLP_ENDPOINT localhost:4317 Endpoint for OpenTelemetry service
OTEL_SERVICE_NAME dis-bundle-api Label of service for OpenTelemetry service
OTEL_ENABLED false Feature flag to enable OpenTelemetry
DEFAULT_MAXIMUM_LIMIT 1000 Default number of maximum bundles returned
DEFAULT_LIMIT 20 Default number of bundles returned
DEFAULT_OFFSET 0 Default offset
ENABLE_PERMISSIONS_AUTH false Feature flag to enable permissions authentication
SLACK_ENABLED false Feature flag to enable Slack notifications
ZEBEDEE_URL http://localhost:8082 Zebedee URL
ZEBEDEE_CLIENT_TIMEOUT 30s Timeout for Zebedee client (time.Duration format)
BUNDLE_PUBLISH_SLOW_THRESHOLD 59s Duration a bundle's content item publish can take before a Slack alarm is raised (time.Duration format)

Contributing

See CONTRIBUTING for details.

License

Copyright © 2026, 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.

Jump to

Keyboard shortcuts

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