logstash-core 2.3.0.snapshot1-java → 2.3.0.snapshot3-java
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of logstash-core might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/logstash-core/version.rb +1 -1
- data/lib/logstash/version.rb +1 -1
- data/locales/en.yml +3 -0
- data/logstash-core.gemspec +1 -1
- data/spec/logstash/agent_spec.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75d090462d8c05728226be1cff308e149ae54e27
|
4
|
+
data.tar.gz: 322a66722d833de679b086e946bb01a7d9168966
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b28f06d3063faa64d8526298319c0c5f12f2ceaf0aef7071360d3011718c4c62acbc8bde2d80a6a5e8418e0c7b23138c52223f691c8fcf8e9d091632ec79dd31
|
7
|
+
data.tar.gz: 443aa26815d0ca0e0d9199b622934dcba1e98bb0fb24e55dfbd79746d40024c913a0be424028ad203f639075cd68a609c726a112489302928512d10f11154aad
|
data/lib/logstash/version.rb
CHANGED
data/locales/en.yml
CHANGED
@@ -169,6 +169,9 @@ en:
|
|
169
169
|
Monitor configuration changes and reload
|
170
170
|
whenever it is changed.
|
171
171
|
NOTE: use SIGHUP to manually reload the config
|
172
|
+
reload_interval: |+
|
173
|
+
How frequently to poll the configuration location
|
174
|
+
for changes, in seconds.
|
172
175
|
log: |+
|
173
176
|
Write logstash internal logs to the given
|
174
177
|
file. Without this flag, logstash will emit
|
data/logstash-core.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.require_paths = ["lib"]
|
18
18
|
gem.version = LOGSTASH_CORE_VERSION
|
19
19
|
|
20
|
-
gem.add_runtime_dependency "logstash-core-event-java", "2.3.0.
|
20
|
+
gem.add_runtime_dependency "logstash-core-event-java", "2.3.0.snapshot3"
|
21
21
|
|
22
22
|
gem.add_runtime_dependency "cabin", "~> 0.8.0" #(Apache 2.0 license)
|
23
23
|
gem.add_runtime_dependency "pry", "~> 0.10.1" #(Ruby license)
|
data/spec/logstash/agent_spec.rb
CHANGED
@@ -70,12 +70,12 @@ describe LogStash::Agent do
|
|
70
70
|
|
71
71
|
context "when auto_reload is true" do
|
72
72
|
let(:agent_args) { [ "--auto-reload", "--config", config_file] } #reload_interval => 0.01, :config_path => } }
|
73
|
-
#let(:agent_args) { { :logger => logger, :auto_reload => false, :reload_interval => 0.01, :config_path => config_file } }
|
74
73
|
context "if state is clean" do
|
75
74
|
it "should periodically reload_state" do
|
76
|
-
allow(subject).to receive(:clean_state?).and_return(false)
|
77
75
|
expect(subject).to receive(:reload_state!).at_least(3).times
|
78
|
-
t = Thread.new { subject.execute }
|
76
|
+
t = Thread.new(subject) {|subject| subject.execute }
|
77
|
+
sleep 0.01 until (subject.running_pipelines? && subject.pipelines.values.first.ready?)
|
78
|
+
# now that the pipeline has started, give time for reload_state! to happen a few times
|
79
79
|
sleep 0.1
|
80
80
|
Stud.stop!(t)
|
81
81
|
t.join
|
metadata
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.0.
|
4
|
+
version: 2.3.0.snapshot3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
16
|
- - '='
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 2.3.0.
|
18
|
+
version: 2.3.0.snapshot3
|
19
19
|
name: logstash-core-event-java
|
20
20
|
prerelease: false
|
21
21
|
type: :runtime
|
@@ -23,7 +23,7 @@ dependencies:
|
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.3.0.
|
26
|
+
version: 2.3.0.snapshot3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
@@ -331,7 +331,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
331
331
|
version: 1.3.1
|
332
332
|
requirements: []
|
333
333
|
rubyforge_project:
|
334
|
-
rubygems_version: 2.4.
|
334
|
+
rubygems_version: 2.4.8
|
335
335
|
signing_key:
|
336
336
|
specification_version: 4
|
337
337
|
summary: logstash-core - The core components of logstash
|