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

Feature/http check #156

Open
wants to merge 55 commits into
base: master
Choose a base branch
from
Open

Commits on Oct 4, 2017

  1. Add HTTP check type

    Lars Remes committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    bdd5cd5 View commit details
    Browse the repository at this point in the history
  2. Add register_http to access methods

    Lars Remes committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    94bb8c6 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2017

  1. Fix travis errors where applicable

    Lars Remes committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    37046f6 View commit details
    Browse the repository at this point in the history
  2. Updated README and Changelog

    Lars Remes committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    aa8bbb7 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2017

  1. Use PUT as the verb for deregistering a service. (WeAreFarmGeek#158)

    * Use `PUT` as the verb for deregistering a service.
    
    Consul 1.0 has started to enforce the verbs used:
    *https://www.consul.io/docs/upgrade-specific.html#http-verbs-are-enforced-in-many-http-apis
    
    * Appease rubocop errors
    blanquer authored and taharah committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    08b339f View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2017

  1. Suggest using X-Consul-Token for ACLs

    Concerning ACL tokens, the Consul documentation (https://www.consul.io/api/index.html#authentication) says:
    
    > Previously this was provided via a ?token= query parameter. This functionality exists on many endpoints for backwards compatibility, but its use is highly discouraged, since it can show up in access logs as part of the URL.
    
    The `config.acl_token` setting in Diplomat sets the `token` query string parameter rather than the header. Additionally, it does not set it for all API endpoints (e.g., Services). Setting the header instead fixes both issues.
    sixfeetover authored Dec 28, 2017
    Configuration menu
    Copy the full SHA
    78c8ab8 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2018

  1. Move ApiOptions methods into Restclient

    There is no need for a separate module, all these methods are only used
    within the rest client.
    Annih committed Mar 3, 2018
    Configuration menu
    Copy the full SHA
    575c866 View commit details
    Browse the repository at this point in the history
  2. Allow to pass ::Diplomat::Configuration object to the Rest Client

    In some cases you might want to have multiple ::Diplomat::RestClient at
    the same time but with different configurations. Using a static config
    forbid this kind of uses.
    
    Possible use cases:
    - Multiple clients with different Tokens
    - Multiple clients pointing to different Consul cluster
    
    This commit should fix WeAreFarmGeek#159
    Annih committed Mar 3, 2018
    Configuration menu
    Copy the full SHA
    ec3be3a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    243b9af View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. Configuration menu
    Copy the full SHA
    d6b2975 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    70a71b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0b70f62 View commit details
    Browse the repository at this point in the history
  4. Merge pull request WeAreFarmGeek#166 from criteo-forks/token_on_regis…

    …tration_deregistration
    
    Support for tokens when registering/unregistering entities on Agent
    pierresouchay authored Sep 6, 2018
    Configuration menu
    Copy the full SHA
    b320048 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d753006 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4f39bfb View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2018

  1. Merge pull request WeAreFarmGeek#163 from criteo-forks/non_static_con…

    …figuration
    
    Allow to pass Diplomat::Configuration object when using diplomat
    pierresouchay authored Oct 17, 2018
    Configuration menu
    Copy the full SHA
    28d41db View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2018

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

Commits on Dec 15, 2018

  1. Configuration menu
    Copy the full SHA
    71c921b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    985f4b8 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2018

  1. Merge pull request WeAreFarmGeek#169 from olleolleolle/patch-1

    README: Drop defunct badge, use SVG
    pierresouchay authored Dec 19, 2018
    Configuration menu
    Copy the full SHA
    621ae1c View commit details
    Browse the repository at this point in the history
  2. Merge pull request WeAreFarmGeek#160 from sixfeetover/patch-1

    Suggest using X-Consul-Token for ACL tokens
    pierresouchay authored Dec 19, 2018
    Configuration menu
    Copy the full SHA
    9acebcb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    19d9813 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    55b7db7 View commit details
    Browse the repository at this point in the history
  5. Merge pull request WeAreFarmGeek#170 from olleolleolle/patch-2

    CI: Update to current set of Rubies
    pierresouchay authored Dec 19, 2018
    Configuration menu
    Copy the full SHA
    6e1aa66 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2019

  1. Configuration menu
    Copy the full SHA
    e327f81 View commit details
    Browse the repository at this point in the history
  2. Use bundle v2.0+

    pierresouchay committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    13dacc0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    acd356e View commit details
    Browse the repository at this point in the history
  4. Bump version to 2.0.4

    pierresouchay committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    e67773f View commit details
    Browse the repository at this point in the history
  5. Use correct verbs for Check methods.

    Some of the verbs were get instead of put.
    
    Will fix WeAreFarmGeek#173
    pierresouchay committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    688a6c9 View commit details
    Browse the repository at this point in the history
  6. Updated changelog

    pierresouchay committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    e388ef0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1617f67 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f45b152 View commit details
    Browse the repository at this point in the history
  9. Updated CHANGELOG.md

    pierresouchay committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    1fb4560 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2019

  1. Configuration menu
    Copy the full SHA
    9e90b93 View commit details
    Browse the repository at this point in the history
  2. Merge pull request WeAreFarmGeek#178 from RnD-Soft/master

    Support for Output in TTL checks
    pierresouchay authored Feb 26, 2019
    Configuration menu
    Copy the full SHA
    9f332f5 View commit details
    Browse the repository at this point in the history
  3. Diplomat release 2.0.5 Bugfix release

     - Fix incorrect verbs for checks Fix WeAreFarmGeek#173
     - Use json_pure to avoid the need for installing a compiler. Fix WeAreFarmGeek#177
     - Allow updating Output with TTL checks WeAreFarmGeek#178
    pierresouchay committed Feb 26, 2019
    Configuration menu
    Copy the full SHA
    2412de1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    95bee47 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2019

  1. simpler convert_to_hash function

    Robert Brooks committed Feb 27, 2019
    Configuration menu
    Copy the full SHA
    3229669 View commit details
    Browse the repository at this point in the history
  2. Merge pull request WeAreFarmGeek#176 from robmbrooks/master

    simpler convert_to_hash function
    pierresouchay authored Feb 27, 2019
    Configuration menu
    Copy the full SHA
    ef57278 View commit details
    Browse the repository at this point in the history
  3. Updated changelog

    pierresouchay committed Feb 27, 2019
    Configuration menu
    Copy the full SHA
    0f80781 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2019

  1. Enable configuration override on each consul api call

    Using the configs hash target host or token can be
    different at each call
    tionebsalocin committed Mar 11, 2019
    1 Configuration menu
    Copy the full SHA
    35c369f View commit details
    Browse the repository at this point in the history
  2. Merge pull request WeAreFarmGeek#179 from tionebsalocin/options-every…

    …where
    
    Enable configuration override on each consul api call
    pierresouchay authored Mar 11, 2019
    Configuration menu
    Copy the full SHA
    ff4e2f8 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2019

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

Commits on Mar 13, 2019

  1. Merge pull request WeAreFarmGeek#180 from dudemcbacon/master

    Set flags attribute on KVPair during lock acquisition and release
    pierresouchay authored Mar 13, 2019
    Configuration menu
    Copy the full SHA
    830f1fe View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2019

  1. Avoid having a HTTP 302 if key requested starts with '/' (WeAreFarmGe…

    …ek#181)
    
    * Avoid having a HTTP 302 if key requested starts with '/'
    
    This might fix: WeAreFarmGeek#171
    
    * Fixed rubocop warning
    pierresouchay authored Mar 15, 2019
    Configuration menu
    Copy the full SHA
    0880966 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f931728 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2019

  1. Changelog for release 2.1.0

    This release cleanup a lot the existing APIs while preserving ascending compatibility.
    It will avoid relying on side effects to configure diplomat and allow to override most
    configuration options per API call as implemented in WeAreFarmGeek#179.
    It is now easy to use one instance of the lib and to perform several calls with different tokens and/or
    consistency options for instance.
    pierresouchay committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    bf5a26b View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2019

  1. Configuration menu
    Copy the full SHA
    5297bb9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d415447 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8458296 View commit details
    Browse the repository at this point in the history
  4. Fix raw data usage in kv

    As every data was converted to json, raw data
    usage was impossible
    
    Reverting all json conversion to source function and
    remove systematic conversion.
    
    Fixes: WeAreFarmGeek#187
    tionebsalocin authored and pierresouchay committed Mar 19, 2019
    Configuration menu
    Copy the full SHA
    fc22b27 View commit details
    Browse the repository at this point in the history
  5. BUGFIX release 2.1.2

    pierresouchay committed Mar 19, 2019
    Configuration menu
    Copy the full SHA
    5f57ca9 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2019

  1. Add HTTP check type

    Adds register_http to access methods and Updated README and Changelog
    Lars Remes authored and Lars Remes committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    34c045f View commit details
    Browse the repository at this point in the history
  2. register_http check name parameter is mandatory

    Lars Remes committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    6c3fc6b View commit details
    Browse the repository at this point in the history
  3. Merge branch 'feature/http-check' of https://github.com/lremes/diplomat

    … into feature/http-check
    
    # Conflicts:
    #	CHANGELOG.md
    #	README.md
    #	lib/diplomat/check.rb
    Lars Remes committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    a8df947 View commit details
    Browse the repository at this point in the history