Commit graph

30 commits

Author SHA1 Message Date
Pier-Hugues Pellerin
b0bea8b0ba Gemfile for 2.2.4
Fixes #5058
2016-04-07 15:33:18 +00:00
Pier-Hugues Pellerin
ed71af979d 2.2.4.snapshot2
Fixes #5045
2016-04-06 20:46:42 +00:00
Pier-Hugues Pellerin
6c7735fb30 Preparations 2.2.4.snapshot1
Fixes #5042
2016-04-06 19:59:44 +00:00
Colin Surprenant
3fff3e87ef fix jruby bigdecimal handling in Time.at 2016-04-06 11:52:29 -04:00
Suyog Rao
7e69c1ef94 Release 2.2.3 2016-03-29 12:08:52 -07:00
Suyog Rao
35753a1272 Bump version to 2.2.3.snapshot2
Had to yank snapshot1 because of a typo in dependency
2016-03-25 14:11:28 -07:00
Suyog Rao
29038fbb2f Revert #4425
#4425 introduced protection against removing `@timestamp` but there
 are a lot of tests that fail now. Reverting until we fix this properly

Fixes #4756
2016-03-03 22:53:37 +00:00
Lucas Bremgartner
4313920d79 Ensure that field "timestamp" is removable
Fixes #4425
2016-03-02 16:53:02 +00:00
Lucas Bremgartner
bfbf004c58 Introduced InvalidOperationException
Fixes #4425
2016-03-02 16:53:02 +00:00
Lucas Bremgartner
1cd5b6e200 Prevent field @timestamp from being removed
Fixes #4425
2016-03-02 16:53:02 +00:00
Suyog Rao
630dd012ba Bump version to 2.2.2 2016-02-17 16:34:16 -08:00
Suyog Rao
a0a4c72c8f Bump to 2.2.1 version 2016-02-11 17:55:47 -08:00
Suyog Rao
42b9a1dfdb Release a 2.2.1.snapshot1 version
Bump versions, update lock file
2016-02-08 12:37:40 -08:00
Suyog Rao
2adde524e6 Bump to 2.2.0 and update lock file
Fixes #4597
2016-02-01 15:53:47 +00:00
Suyog Rao
4ebdfabbe9 Bump to snapshot3, update lock files 2016-01-14 10:13:39 -08:00
Suyog Rao
a1c7bbf06b Bump version to 2.2.0.snapshot2
Bump version, update gem and lock file to point to RubyGems.org
in preperation for 2.2.0 release
2016-01-08 18:13:22 -08:00
Suyog Rao
642b87bc37 First pass at creating 2.2 branch 2015-12-23 22:13:37 +05:30
Colin Surprenant
56bb12d85c using symbols in Event data does not make sense 2015-12-15 17:41:40 -05:00
Colin Surprenant
a30b5a6943 fix missing methods in Java Timestamp
add utc and gmtime, force UTC in setTime

add missing specs for utc and gmtime

add missing to_f

add missing specs for to_f and to_i
2015-12-10 17:29:05 -05:00
Colin Surprenant
2c61e310e3 fix nil value field reference assignment in Java Event
fix fieldref nil value assignment

add fieldref nil value assignment spec

better spec description and better expectation
2015-12-10 17:08:39 -05:00
Colin Surprenant
0882b3060d cleanup logger reset in after(:each) 2015-12-10 16:44:32 -05:00
Colin Surprenant
c5a70b4572 expose DEFAULT_LOGGER and remove nil/null support 2015-12-10 16:44:17 -05:00
Colin Surprenant
0fdb68c002 DRY and added comments 2015-12-10 16:44:02 -05:00
Colin Surprenant
94d5049388 replace LOGGER constant with injectable logger object 2015-12-10 16:43:24 -05:00
Colin Surprenant
9bd488f387 support clear_cache and cache_size methods in StringInterpolation, adjust specs
Fixes #4325
2015-12-10 16:43:17 -05:00
Colin Surprenant
6a4963a214 cleanup Event class
Fixes #4261
2015-11-30 22:51:51 +00:00
Colin Surprenant
64ae981306 clean cache to empty previous entries 2015-11-18 14:56:41 -05:00
Pier-Hugues Pellerin
21c8d4eb30 Test for Event#to_s format
Fixes #4222
2015-11-18 07:44:13 -08:00
Pier-Hugues Pellerin
c89e4abc99 Fix a string interpolation memory leak
When the event was serialized to string using a `to_s` call, mostly
happenning when doing logging. Each calls would generate a new template
each template was unique because it was containing the date.

The accumulation of templates was making logstash goes OOM.

We aren't cleaning the templates because they should stabilize to a
finite number.
2015-11-18 07:44:08 -08:00
Colin Surprenant
12a5982da2 logstash-core & logstash-core-event extraction to support logstash-core-event-java impl, relates to #4191
fixed timezone issue

extracted logstash-core and reorganized specs

extracted logstash-core-event

extract java Event into logstash-core-event-java in a proper gem

remove obsolete jruby_event bootstrapping

fix require path

add java code bootstrap

use logstash-core-event/logstash-core-event.rb

remove obsolete files

basic instructions

LogStash::Json need to be initialized from event

update jruby and gradle versions

update compile:logstash-core-event-java rake task

WIP tasks refactor

fix gem.files

skip test if class is not defined

fix gem related tasks for new structure

add gem spec dirs in core tests

bootstrap java implementation when requiring timestamp

new Cloner class and Event clone impl

fix array fields assignments, see #4140

don't rely on json implementation ordering

fix skipped last iterpolation char

remove implementation specific unnecessary check

also require ruby classes

define error class in ruby

raise exception on invalid format

remove implementation specific tests and extract and put logger related test in pending

missing bits for having all core timestamp specs pass

run all core specs

remove leftover

comment regex

missing encoding header

revert to logstash-core-event by default

finished proper gemification

useless require

dynamically pick specs depending on logstash-core-event-* implementation

logstash root package version

missing file for proper gemification

do not build java event by default

always check for root logstash lib dir

fix concurrent-ruby version confict

fix rebase conflict

re-enable specs

user vars instead of constants

move non core code in bootstrap

document version files

move version file

remove useless code

use version in logstash-core

fix gem files list

put back concurrent-ruby version constrain as in master

add dependency on logstash-core-event

remove dependency on logstash-core to avoid circular dependency

fix rebase conflict

remove circular dependency

fix specs

update README
2015-11-16 17:16:10 -05:00