triglav-agent 1.0.0.rc3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -102,7 +102,7 @@
102
102
  </div>
103
103
 
104
104
  <div id="footer">
105
- Generated on Tue Mar 14 19:09:26 2017 by
105
+ Generated on Fri Mar 24 11:36:53 2017 by
106
106
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
107
107
  0.9.5 (ruby-2.3.2).
108
108
  </div>
@@ -18,14 +18,14 @@ module Triglav::Agent
18
18
 
19
19
  # serverengine interface
20
20
  def reload
21
- $logger.info { "Worker#reload worker_id:#{worker_id}" }
21
+ $logger.info { "Worker#reload" }
22
22
  $setting.reload
23
23
  reload_status
24
24
  end
25
25
 
26
26
  # serverengine interface
27
27
  def run
28
- $logger.info { "Worker#run worker_id:#{worker_id}" }
28
+ $logger.info { "Worker#run" }
29
29
  start
30
30
  until @stop
31
31
  @timer.wait(monitor_interval) { process }
@@ -38,7 +38,7 @@ module Triglav::Agent
38
38
 
39
39
  def process
40
40
  started = Time.now
41
- $logger.info { "Start Worker#process worker_id:#{worker_id}" }
41
+ $logger.info { "Start Worker#process" }
42
42
 
43
43
  total_count = 0
44
44
  total_success_count = 0
@@ -51,8 +51,7 @@ module Triglav::Agent
51
51
 
52
52
  elapsed = Time.now - started
53
53
  $logger.info {
54
- "Finish Worker#process worker_id:#{worker_id} " \
55
- "success_count/total_count:#{total_success_count}/#{total_count} elapsed:#{elapsed.to_f}sec"
54
+ "Finish Worker#process success_count/total_count:#{total_success_count}/#{total_count} elapsed:#{elapsed.to_f}sec"
56
55
  }
57
56
  end
58
57
 
@@ -63,7 +62,7 @@ module Triglav::Agent
63
62
 
64
63
  # serverengine interface
65
64
  def stop
66
- $logger.info { "Worker#stop worker_id:#{worker_id}" }
65
+ $logger.info { "Worker#stop" }
67
66
  @stop = true
68
67
  @timer.stop
69
68
  end
@@ -1,5 +1,5 @@
1
1
  module Triglav
2
2
  module Agent
3
- VERSION = "1.0.0.rc3"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: triglav-agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Triglav Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-24 00:00:00.000000000 Z
11
+ date: 2017-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: serverengine
@@ -240,12 +240,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
240
240
  version: '0'
241
241
  required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  requirements:
243
- - - ">"
243
+ - - ">="
244
244
  - !ruby/object:Gem::Version
245
- version: 1.3.1
245
+ version: '0'
246
246
  requirements: []
247
247
  rubyforge_project:
248
- rubygems_version: 2.5.2
248
+ rubygems_version: 2.6.13
249
249
  signing_key:
250
250
  specification_version: 4
251
251
  summary: Agent framework for triglav, data-driven workflow tool.