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

Add 'body' field to service's 'check' stanza #10186

Merged
merged 8 commits into from
Apr 13, 2021

Commits on Apr 13, 2021

  1. Add a 'body' field to the check stanza

    Consul allows specifying the HTTP body to send in a health check. Nomad
    uses Consul for health checking so this just plumbs the value through to
    where the Consul API is called.
    
    There is no validation that `body` is not used with an incompatible
    check method like GET.
    nick96 authored and tgross committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    d1cdf4c View commit details
    Browse the repository at this point in the history
  2. Document usage of 'body' field

    nick96 authored and tgross committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    07be2a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    199f752 View commit details
    Browse the repository at this point in the history
  4. Hash Body field as part of ServiceCheck

    nick96 authored and tgross committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    262670c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9be0fd8 View commit details
    Browse the repository at this point in the history
  6. Test parsing of body field in jobspec2

    nick96 authored and tgross committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    e9d5990 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6f21be4 View commit details
    Browse the repository at this point in the history
  8. fixup changelog

    tgross committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    26cfe0e View commit details
    Browse the repository at this point in the history