logstash-core 7.0.0.alpha2-java → 7.0.0.beta1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/agent.rb +62 -57
- data/lib/logstash/compiler/lscl.rb +2 -3
- data/lib/logstash/config/config_ast.rb +59 -17
- data/lib/logstash/environment.rb +1 -1
- data/lib/logstash/instrument/metric_store.rb +1 -1
- data/lib/logstash/instrument/periodic_poller/dlq.rb +5 -7
- data/lib/logstash/instrument/periodic_poller/pq.rb +6 -8
- data/lib/logstash/instrument/periodic_pollers.rb +3 -3
- data/lib/logstash/java_pipeline.rb +36 -15
- data/lib/logstash/patches/resolv.rb +0 -21
- data/lib/logstash/pipeline.rb +27 -10
- data/lib/logstash/pipeline_action/base.rb +1 -1
- data/lib/logstash/pipeline_action/create.rb +7 -13
- data/lib/logstash/pipeline_action/reload.rb +35 -12
- data/lib/logstash/pipeline_action/stop.rb +4 -6
- data/lib/logstash/pipeline_settings.rb +1 -1
- data/lib/logstash/pipelines_registry.rb +166 -0
- data/lib/logstash/settings.rb +5 -5
- data/lib/logstash/state_resolver.rb +5 -5
- data/lib/logstash/util/duration_formatter.rb +1 -1
- data/lib/logstash/util/safe_uri.rb +1 -0
- data/lib/logstash/util.rb +11 -1
- data/locales/en.yml +1 -1
- data/logstash-core.gemspec +17 -20
- data/spec/logstash/acked_queue_concurrent_stress_spec.rb +1 -1
- data/spec/logstash/agent/converge_spec.rb +25 -31
- data/spec/logstash/agent_spec.rb +5 -5
- data/spec/logstash/event_spec.rb +2 -2
- data/spec/logstash/instrument/wrapped_write_client_spec.rb +1 -1
- data/spec/logstash/legacy_ruby_event_spec.rb +6 -5
- data/spec/logstash/pipeline_action/create_spec.rb +9 -8
- data/spec/logstash/pipeline_action/reload_spec.rb +10 -9
- data/spec/logstash/pipeline_action/stop_spec.rb +4 -3
- data/spec/logstash/pipelines_registry_spec.rb +220 -0
- data/spec/logstash/queue_factory_spec.rb +2 -1
- data/spec/logstash/runner_spec.rb +2 -0
- data/spec/logstash/settings/array_coercible_spec.rb +1 -1
- data/spec/logstash/settings/bytes_spec.rb +2 -2
- data/spec/logstash/settings/port_range_spec.rb +1 -1
- data/spec/logstash/state_resolver_spec.rb +26 -22
- data/spec/logstash/util/safe_uri_spec.rb +40 -0
- data/spec/logstash/util/time_value_spec.rb +1 -1
- data/spec/logstash/util/wrapped_acked_queue_spec.rb +1 -1
- data/spec/support/matchers.rb +25 -19
- data/spec/support/shared_contexts.rb +3 -3
- data/versions-gem-copy.yml +6 -6
- metadata +73 -88
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.0.
|
4
|
+
version: 7.0.0.beta1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-13 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: 0.
|
18
|
+
version: '0.12'
|
19
19
|
name: pry
|
20
|
-
prerelease: false
|
21
20
|
type: :runtime
|
21
|
+
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: '0.12'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
@@ -31,8 +31,8 @@ dependencies:
|
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 0.0.19
|
33
33
|
name: stud
|
34
|
-
prerelease: false
|
35
34
|
type: :runtime
|
35
|
+
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
@@ -43,80 +43,74 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.6
|
46
|
+
version: '0.6'
|
47
47
|
name: clamp
|
48
|
-
prerelease: false
|
49
48
|
type: :runtime
|
49
|
+
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.6
|
54
|
+
version: '0.6'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- -
|
58
|
+
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.
|
60
|
+
version: '0.2'
|
61
61
|
name: filesize
|
62
|
-
prerelease: false
|
63
62
|
type: :runtime
|
63
|
+
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: '0.2'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: '1'
|
75
75
|
name: gems
|
76
|
-
prerelease: false
|
77
76
|
type: :runtime
|
77
|
+
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '1
|
89
|
-
- - ">="
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version: 1.0.5
|
88
|
+
version: '1'
|
92
89
|
name: concurrent-ruby
|
93
|
-
prerelease: false
|
94
90
|
type: :runtime
|
91
|
+
prerelease: false
|
95
92
|
version_requirements: !ruby/object:Gem::Requirement
|
96
93
|
requirements:
|
97
94
|
- - "~>"
|
98
95
|
- !ruby/object:Gem::Version
|
99
|
-
version: '1
|
100
|
-
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: 1.0.5
|
96
|
+
version: '1'
|
103
97
|
- !ruby/object:Gem::Dependency
|
104
98
|
requirement: !ruby/object:Gem::Requirement
|
105
99
|
requirements:
|
106
100
|
- - "~>"
|
107
101
|
- !ruby/object:Gem::Version
|
108
|
-
version: '1
|
102
|
+
version: '1'
|
109
103
|
- - ">="
|
110
104
|
- !ruby/object:Gem::Version
|
111
105
|
version: 1.6.11
|
112
106
|
name: rack
|
113
|
-
prerelease: false
|
114
107
|
type: :runtime
|
108
|
+
prerelease: false
|
115
109
|
version_requirements: !ruby/object:Gem::Requirement
|
116
110
|
requirements:
|
117
111
|
- - "~>"
|
118
112
|
- !ruby/object:Gem::Version
|
119
|
-
version: '1
|
113
|
+
version: '1'
|
120
114
|
- - ">="
|
121
115
|
- !ruby/object:Gem::Version
|
122
116
|
version: 1.6.11
|
@@ -125,18 +119,18 @@ dependencies:
|
|
125
119
|
requirements:
|
126
120
|
- - "~>"
|
127
121
|
- !ruby/object:Gem::Version
|
128
|
-
version: '1
|
122
|
+
version: '1'
|
129
123
|
- - ">="
|
130
124
|
- !ruby/object:Gem::Version
|
131
125
|
version: 1.4.6
|
132
126
|
name: sinatra
|
133
|
-
prerelease: false
|
134
127
|
type: :runtime
|
128
|
+
prerelease: false
|
135
129
|
version_requirements: !ruby/object:Gem::Requirement
|
136
130
|
requirements:
|
137
131
|
- - "~>"
|
138
132
|
- !ruby/object:Gem::Version
|
139
|
-
version: '1
|
133
|
+
version: '1'
|
140
134
|
- - ">="
|
141
135
|
- !ruby/object:Gem::Version
|
142
136
|
version: 1.4.6
|
@@ -145,167 +139,155 @@ dependencies:
|
|
145
139
|
requirements:
|
146
140
|
- - "~>"
|
147
141
|
- !ruby/object:Gem::Version
|
148
|
-
version: '2
|
142
|
+
version: '2'
|
149
143
|
name: puma
|
150
|
-
prerelease: false
|
151
144
|
type: :runtime
|
145
|
+
prerelease: false
|
152
146
|
version_requirements: !ruby/object:Gem::Requirement
|
153
147
|
requirements:
|
154
148
|
- - "~>"
|
155
149
|
- !ruby/object:Gem::Version
|
156
|
-
version: '2
|
150
|
+
version: '2'
|
157
151
|
- !ruby/object:Gem::Dependency
|
158
152
|
requirement: !ruby/object:Gem::Requirement
|
159
153
|
requirements:
|
160
|
-
- - "
|
154
|
+
- - "~>"
|
161
155
|
- !ruby/object:Gem::Version
|
162
|
-
version: 0.
|
156
|
+
version: '0.10'
|
163
157
|
name: jruby-openssl
|
164
|
-
prerelease: false
|
165
158
|
type: :runtime
|
159
|
+
prerelease: false
|
166
160
|
version_requirements: !ruby/object:Gem::Requirement
|
167
161
|
requirements:
|
168
|
-
- - "
|
162
|
+
- - "~>"
|
169
163
|
- !ruby/object:Gem::Version
|
170
|
-
version: 0.
|
164
|
+
version: '0.10'
|
171
165
|
- !ruby/object:Gem::Dependency
|
172
166
|
requirement: !ruby/object:Gem::Requirement
|
173
167
|
requirements:
|
174
|
-
- -
|
168
|
+
- - "~>"
|
175
169
|
- !ruby/object:Gem::Version
|
176
|
-
version: 0.10
|
170
|
+
version: '0.10'
|
177
171
|
name: chronic_duration
|
178
|
-
prerelease: false
|
179
172
|
type: :runtime
|
173
|
+
prerelease: false
|
180
174
|
version_requirements: !ruby/object:Gem::Requirement
|
181
175
|
requirements:
|
182
|
-
- -
|
176
|
+
- - "~>"
|
183
177
|
- !ruby/object:Gem::Version
|
184
|
-
version: 0.10
|
178
|
+
version: '0.10'
|
185
179
|
- !ruby/object:Gem::Dependency
|
186
180
|
requirement: !ruby/object:Gem::Requirement
|
187
181
|
requirements:
|
188
|
-
- - "
|
182
|
+
- - "~>"
|
189
183
|
- !ruby/object:Gem::Version
|
190
|
-
version: 1
|
184
|
+
version: '1'
|
191
185
|
name: treetop
|
192
|
-
prerelease: false
|
193
186
|
type: :runtime
|
187
|
+
prerelease: false
|
194
188
|
version_requirements: !ruby/object:Gem::Requirement
|
195
189
|
requirements:
|
196
|
-
- - "
|
190
|
+
- - "~>"
|
197
191
|
- !ruby/object:Gem::Version
|
198
|
-
version: 1
|
192
|
+
version: '1'
|
199
193
|
- !ruby/object:Gem::Dependency
|
200
194
|
requirement: !ruby/object:Gem::Requirement
|
201
195
|
requirements:
|
202
|
-
- -
|
196
|
+
- - "~>"
|
203
197
|
- !ruby/object:Gem::Version
|
204
|
-
version:
|
198
|
+
version: '1'
|
205
199
|
name: i18n
|
206
|
-
prerelease: false
|
207
200
|
type: :runtime
|
201
|
+
prerelease: false
|
208
202
|
version_requirements: !ruby/object:Gem::Requirement
|
209
203
|
requirements:
|
210
|
-
- -
|
204
|
+
- - "~>"
|
211
205
|
- !ruby/object:Gem::Version
|
212
|
-
version:
|
206
|
+
version: '1'
|
213
207
|
- !ruby/object:Gem::Dependency
|
214
208
|
requirement: !ruby/object:Gem::Requirement
|
215
209
|
requirements:
|
216
210
|
- - "~>"
|
217
211
|
- !ruby/object:Gem::Version
|
218
|
-
version: 0.
|
212
|
+
version: '0.8'
|
219
213
|
name: minitar
|
220
|
-
prerelease: false
|
221
214
|
type: :runtime
|
215
|
+
prerelease: false
|
222
216
|
version_requirements: !ruby/object:Gem::Requirement
|
223
217
|
requirements:
|
224
218
|
- - "~>"
|
225
219
|
- !ruby/object:Gem::Version
|
226
|
-
version: 0.
|
220
|
+
version: '0.8'
|
227
221
|
- !ruby/object:Gem::Dependency
|
228
222
|
requirement: !ruby/object:Gem::Requirement
|
229
223
|
requirements:
|
230
224
|
- - "~>"
|
231
225
|
- !ruby/object:Gem::Version
|
232
|
-
version: 1
|
226
|
+
version: '1'
|
233
227
|
name: rubyzip
|
234
|
-
prerelease: false
|
235
228
|
type: :runtime
|
229
|
+
prerelease: false
|
236
230
|
version_requirements: !ruby/object:Gem::Requirement
|
237
231
|
requirements:
|
238
232
|
- - "~>"
|
239
233
|
- !ruby/object:Gem::Version
|
240
|
-
version: 1
|
234
|
+
version: '1'
|
241
235
|
- !ruby/object:Gem::Dependency
|
242
236
|
requirement: !ruby/object:Gem::Requirement
|
243
237
|
requirements:
|
244
238
|
- - "~>"
|
245
239
|
- !ruby/object:Gem::Version
|
246
|
-
version: 0.3.
|
240
|
+
version: 0.3.6
|
247
241
|
name: thread_safe
|
248
|
-
prerelease: false
|
249
242
|
type: :runtime
|
243
|
+
prerelease: false
|
250
244
|
version_requirements: !ruby/object:Gem::Requirement
|
251
245
|
requirements:
|
252
246
|
- - "~>"
|
253
247
|
- !ruby/object:Gem::Version
|
254
|
-
version: 0.3.
|
248
|
+
version: 0.3.6
|
255
249
|
- !ruby/object:Gem::Dependency
|
256
250
|
requirement: !ruby/object:Gem::Requirement
|
257
251
|
requirements:
|
258
252
|
- - '='
|
259
253
|
- !ruby/object:Gem::Version
|
260
|
-
version: 0.4.
|
254
|
+
version: 0.4.7
|
261
255
|
name: jrjackson
|
262
|
-
prerelease: false
|
263
256
|
type: :runtime
|
257
|
+
prerelease: false
|
264
258
|
version_requirements: !ruby/object:Gem::Requirement
|
265
259
|
requirements:
|
266
260
|
- - '='
|
267
261
|
- !ruby/object:Gem::Version
|
268
|
-
version: 0.4.
|
262
|
+
version: 0.4.7
|
269
263
|
- !ruby/object:Gem::Dependency
|
270
264
|
requirement: !ruby/object:Gem::Requirement
|
271
265
|
requirements:
|
272
266
|
- - "~>"
|
273
267
|
- !ruby/object:Gem::Version
|
274
|
-
version: '5
|
275
|
-
- - ">="
|
276
|
-
- !ruby/object:Gem::Version
|
277
|
-
version: 5.0.4
|
268
|
+
version: '5'
|
278
269
|
name: elasticsearch
|
279
|
-
prerelease: false
|
280
270
|
type: :runtime
|
271
|
+
prerelease: false
|
281
272
|
version_requirements: !ruby/object:Gem::Requirement
|
282
273
|
requirements:
|
283
274
|
- - "~>"
|
284
275
|
- !ruby/object:Gem::Version
|
285
|
-
version: '5
|
286
|
-
- - ">="
|
287
|
-
- !ruby/object:Gem::Version
|
288
|
-
version: 5.0.4
|
276
|
+
version: '5'
|
289
277
|
- !ruby/object:Gem::Dependency
|
290
278
|
requirement: !ruby/object:Gem::Requirement
|
291
279
|
requirements:
|
292
|
-
- - "
|
293
|
-
- !ruby/object:Gem::Version
|
294
|
-
version: 0.5.4
|
295
|
-
- - "<"
|
280
|
+
- - "~>"
|
296
281
|
- !ruby/object:Gem::Version
|
297
|
-
version:
|
282
|
+
version: '0.6'
|
298
283
|
name: manticore
|
299
|
-
prerelease: false
|
300
284
|
type: :runtime
|
285
|
+
prerelease: false
|
301
286
|
version_requirements: !ruby/object:Gem::Requirement
|
302
287
|
requirements:
|
303
|
-
- - "
|
304
|
-
- !ruby/object:Gem::Version
|
305
|
-
version: 0.5.4
|
306
|
-
- - "<"
|
288
|
+
- - "~>"
|
307
289
|
- !ruby/object:Gem::Version
|
308
|
-
version:
|
290
|
+
version: '0.6'
|
309
291
|
description: The core components of logstash, the scalable log and event management
|
310
292
|
tool
|
311
293
|
email:
|
@@ -429,6 +411,7 @@ files:
|
|
429
411
|
- lib/logstash/pipeline_action/stop.rb
|
430
412
|
- lib/logstash/pipeline_reporter.rb
|
431
413
|
- lib/logstash/pipeline_settings.rb
|
414
|
+
- lib/logstash/pipelines_registry.rb
|
432
415
|
- lib/logstash/plugin.rb
|
433
416
|
- lib/logstash/plugins.rb
|
434
417
|
- lib/logstash/plugins/builtin.rb
|
@@ -542,6 +525,7 @@ files:
|
|
542
525
|
- spec/logstash/pipeline_pq_file_spec.rb
|
543
526
|
- spec/logstash/pipeline_reporter_spec.rb
|
544
527
|
- spec/logstash/pipeline_spec.rb
|
528
|
+
- spec/logstash/pipelines_registry_spec.rb
|
545
529
|
- spec/logstash/plugin_spec.rb
|
546
530
|
- spec/logstash/plugins/builtin/pipeline_input_output_spec.rb
|
547
531
|
- spec/logstash/plugins/hooks_registry_spec.rb
|
@@ -606,7 +590,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
606
590
|
version: 1.3.1
|
607
591
|
requirements: []
|
608
592
|
rubyforge_project:
|
609
|
-
rubygems_version: 2.6
|
593
|
+
rubygems_version: 2.7.6
|
610
594
|
signing_key:
|
611
595
|
specification_version: 4
|
612
596
|
summary: logstash-core - The core components of logstash
|
@@ -681,6 +665,7 @@ test_files:
|
|
681
665
|
- spec/logstash/pipeline_pq_file_spec.rb
|
682
666
|
- spec/logstash/pipeline_reporter_spec.rb
|
683
667
|
- spec/logstash/pipeline_spec.rb
|
668
|
+
- spec/logstash/pipelines_registry_spec.rb
|
684
669
|
- spec/logstash/plugin_spec.rb
|
685
670
|
- spec/logstash/plugins/builtin/pipeline_input_output_spec.rb
|
686
671
|
- spec/logstash/plugins/hooks_registry_spec.rb
|