Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api) add a config readiness endpoint #8256

Closed
wants to merge 6 commits into from

Commits on Mar 8, 2022

  1. feat(api) add a config readiness endpoint

    Add a config readiness endpoint. When db="off", it returns a 200 if Kong
    has loaded or received a configuration and applied it, or 503 if not.
    
    Compute hashes when loading configuration from the environment, to
    distinguish between user-supplied configuration and the default blank
    configuration.
    
    Test the config readiness endpoint. This requires actually using the
    database strategy for Kong route tests and adding a utility server that
    allows tests to directly set SHM values, to circumvent the lack of
    normal config load behavior in test environments.
    Travis Raines authored and rainest committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    60f8047 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d992f96 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c1ad623 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f1ae79 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7fca129 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    20c9dea View commit details
    Browse the repository at this point in the history