consul_syncer 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84bf7af4ae453bd70d421f22046be75e50430646
4
- data.tar.gz: 88a811c044da4d8593ee992d2539164900fc6c84
3
+ metadata.gz: b82012df7829baf83f7b6ffdd76da1d245553ec8
4
+ data.tar.gz: cf468bb76268d2ce375d401319c5f3f8eb5dce49
5
5
  SHA512:
6
- metadata.gz: 09009163e3d55da5f45d4ec94f12e77aa0e6bf5203cec8bbe33c6bb029da76c96c2eadc8cf61ec77ce8e4ed012921d7001af7f9cb2c68ee374cad169b1f289a6
7
- data.tar.gz: 1de658780985b5e9424b6498e6d1ff2214769606a3c079c68bef241c672f7f636ec6db588772a7127626418666ca12c7f2ac5e3b670caaa3b378f169c4afde8d
6
+ metadata.gz: 56ff897ebfaa16ab68a5a04e59b7babdc227de3a1b2fd1355ebd44321cc5ba222c7e930f345d5fbc91a4487c29a9b94b2a1f053704e0e3a6e4500dda62726174
7
+ data.tar.gz: 0f3a1a898a39f51ec8f2944b79ba756027662fb503a9cd218ed4b162e20d272cb65e22c7b5e2b76ed115b5766d26ae90d6a56f2c6be7de32651902f3e3d6a7dd
data/lib/consul_syncer.rb CHANGED
@@ -47,7 +47,7 @@ class ConsulSyncer
47
47
  description = "#{expected.fetch(:service)} / #{expected.fetch(:service_id)} on #{expected.fetch(:node)} in Consul"
48
48
 
49
49
  if remove_matching_service!(actual_definitions, expected, interesting)
50
- @logger.info "Found #{description}"
50
+ @logger.debug "Found #{description}"
51
51
  elsif remove_matching_service!(actual_definitions, expected, identifying)
52
52
  @logger.info "Updating #{description}"
53
53
  modified += 1
@@ -77,7 +77,7 @@ class ConsulSyncer
77
77
  # cannot query for multiple tags via query, so handle multi-matching manually
78
78
  next if (requested_tags - tags).any?
79
79
 
80
- @logger.info "Getting service endpoints for #{name}"
80
+ @logger.debug "Getting service endpoints for #{name}"
81
81
  # this also finds the 'external services' we define since they have no checks
82
82
  endpoints = @consul.request(:get, "/v1/health/service/#{name}")
83
83
  endpoints.each do |endpoint|
@@ -1,3 +1,3 @@
1
1
  class ConsulSyncer
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consul_syncer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-06 00:00:00.000000000 Z
11
+ date: 2017-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday