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

cli: report server version #9159

Commits on Oct 22, 2020

  1. added setVersion

    setVersion adds a header X-Nomad-Version to a wrapper function. There is
    a wrapper function in http.go that takes a normal implementation for an
    endpoint, and adds other code that should be there. As an example, let's
    say that an endpoint wants to search for all the jobs running. The
    function would implement the logic to look for jobs. Then you take that
    function, pass it to the wrapper, and the wrapper will add all the
    headers that should be on that response.
    
    It's nice because all of the logic that you'd have to add version
    headers can get put in one place
    drewgonzales360 committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    5c9f2ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2e41963 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d81b183 View commit details
    Browse the repository at this point in the history
  4. self review, remove test for version in testWrapNonJson

    Also fix the build. You need to call go mod vendor when changing the
    api directory
    drewgonzales360 committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    1f4c046 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8cce0dc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    53986dd View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2020

  1. Configuration menu
    Copy the full SHA
    920351f View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2021

  1. Merge branch 'main' of github.com:hashicorp/nomad into issue-1040/war…

    …n-on-mismatched-nomad-versions
    drewgonzales360 committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    b05e645 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4fa24c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    28f724d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e61c8c2 View commit details
    Browse the repository at this point in the history
  5. run test in ci

    drewgonzales360 committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    aa5015c View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2021

  1. Configuration menu
    Copy the full SHA
    a6235c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d56d17 View commit details
    Browse the repository at this point in the history
  3. add changelog

    drewgonzales360 committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    c7ee53a View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Configuration menu
    Copy the full SHA
    a154f98 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3bf31ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a3717f View commit details
    Browse the repository at this point in the history
  4. go mod tidy

    drewgonzales360 committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    d7bd3e8 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2022

  1. Configuration menu
    Copy the full SHA
    42033ad View commit details
    Browse the repository at this point in the history

Commits on May 7, 2022

  1. Configuration menu
    Copy the full SHA
    cde6108 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2022

  1. Configuration menu
    Copy the full SHA
    44f06a7 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Configuration menu
    Copy the full SHA
    2f7ef2d View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. fixup changelog entry

    tgross committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    e1f01c3 View commit details
    Browse the repository at this point in the history