canzea 0.1.110 → 0.1.111

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: 4ecf41f9a3bddda3e7c7f281525c612db5ea5b38
4
- data.tar.gz: ed48ea606387935364739bd6f035e4c26b34949a
3
+ metadata.gz: 14d8114c31281c0745ef2fb160f75761176a49cd
4
+ data.tar.gz: 6162b9cf7f0909805792c502612925ef6ce3b466
5
5
  SHA512:
6
- metadata.gz: d560c3a4a174e08faf9806b128c65d3619a860d4ef69bb021ff7c2479d6ffc1d0049fd1237746d7da08db8001db0a63c0fe0d96eada468d9e3e8193011e03492
7
- data.tar.gz: 057ffe2adcab1fedc555c229e2c98c7677b8be0d5a6a5e78845eeae2ad14b66f0af1e34f772b4ef4fe0c0345100b8128f0965eb8538fff0758f1421d52c006c4
6
+ metadata.gz: e653be4599679184888fa0e9bb7d968a95d7165a7734c3fb0df4006484114535c28ee3a5d0227c2d56022f2d4e2c947629859a22c270ce0d728d399b9347062c
7
+ data.tar.gz: 9ec00aa5b58c67f0644bb49e310efa8a2b24518a7a66a3ad620a59eb9e1637285a590d33971247f51f258f47e1515539ef9d480d799f858e54910a8a4cc30f43
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.110"
2
+ VERSION = "0.1.111"
3
3
  end
@@ -41,7 +41,14 @@ class RegisterMetadata
41
41
  if (md['services'].size() > 0)
42
42
  svc = md['services'][0]
43
43
 
44
- adef = {"listener"=>svc['listener'], "service"=>svc['name'], "tags"=>[ item['role'] ], "port"=>svc['port']}
44
+ adef = {
45
+ "listener"=>svc['listener'],
46
+ "name" => "#{svc['name']}",
47
+ "id" => "#{ENV['HOSTNAME']}-#{svc['name']}",
48
+ "tags"=>[ item['role'] ],
49
+ "port"=>svc['port']
50
+ }
51
+
45
52
  if (svc.has_key? "checks")
46
53
  adef[:check] = svc['checks'][0]
47
54
  end
@@ -90,7 +90,8 @@ class PlanStep
90
90
 
91
91
  adef = {
92
92
  "listener"=>svc['listener'],
93
- "service" => "#{ENV['HOSTNAME']}-#{svc['name']}",
93
+ "name" => "#{svc['name']}",
94
+ "id" => "#{ENV['HOSTNAME']}-#{svc['name']}",
94
95
  "tags"=>[ item['role'] ],
95
96
  "port"=>svc['port']
96
97
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canzea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.110
4
+ version: 0.1.111
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canzea Technologies