Commit graph

71 commits

Author SHA1 Message Date
Suyog Rao
e583cffed9 bump version to 5.3.3 (#7171) 2017-05-19 14:23:36 -07:00
Suyog Rao
242159a5ee bump tp 5.3.2 (#6942) 2017-04-20 08:35:54 -07:00
Suyog Rao
3788ef9c87 Bump version to 5.3.1 (#6849) 2017-03-28 10:26:32 -07:00
Suyog Rao
5434d2b798 Revert to 5.3.0 version instead of 5.4.0 (#6673) 2017-02-08 21:05:09 -08:00
Suyog Rao
cb9e8cf7c9 Revert to 5.4.0 version instead of 5.5.0 (#6672) 2017-02-08 20:33:32 -08:00
Suyog Rao
530c5fc43d Bump to v5.5 (#6670)
* Bump to v5.5
2017-02-08 19:38:07 -08:00
Suyog Rao
9fc093e484 Bump version to 5.3.0 for 5.x branch (#6483) 2017-01-04 08:54:42 -08:00
Jordan Sissel
28116ee80f Add test coverage for listIndex
Fixes #6226
2016-12-06 18:33:45 -05:00
Jordan Sissel
01f7ab708d have listIndex take a size instead of the List.
Fixes #6226
2016-12-06 18:33:45 -05:00
Jordan Sissel
2a51fde41a Move list offset calculation (for negative index values, etc) to a static method.
Fixes #6226
2016-12-06 18:33:45 -05:00
Jordan Sissel
32585eac8c Allow negative array indexes to mean an offset from the end of the array, where -1 means the last element.
Fixes #6226
2016-12-06 18:33:45 -05:00
Jordan Sissel
c720d26bcf Add test to cover negative array offsets in field references. It currently fails.
Fixes #6226
2016-12-06 18:33:45 -05:00
Joao Duarte
3b82211e0c update version to 5.2.0
Fixes #6294
2016-11-24 06:01:29 -05:00
Pier-Hugues Pellerin
f86f1377cc Chagne PluginRegistry -> PLUGIN_REGISTRY
Fixes #6109
2016-11-11 09:43:44 -05:00
Colin Surprenant
e0ea02b045 fix tagging edge cases
add comment and use Arrays.asList()

brain fart between camelCase and snake_case
2016-11-04 14:13:13 -04:00
Colin Surprenant
ab05082a89 merge feature/java_persistence into 5.x 2016-10-31 17:03:40 -04:00
Guy Boertje
8cec4fa514 add Event method_missing to give better error messages for #[] and #[]=
Change strings and regexs to CONSTANTS.

move method missing code to event.rb

doh - put Event class in already defined Logstash module

Fixes #6045
2016-10-13 10:43:34 -04:00
Colin Surprenant
5824080871 renamed namespace com.logstash to org.logstash
few auto-rename glitches fixes

few auto-rename glitches fixes

few auto-rename glitches fixes

few auto-rename glitches fixes

few auto-rename glitches fixes
2016-09-12 15:05:59 -04:00
Suyog Rao
254297eec7 [5.x] Bump version to 5.1.0 (#5881)
* [5.x] Bump version to 5.1.0
2016-09-08 08:35:53 -07:00
Tal Levy
b545b83390 Migrate Logstash to Log4j2 Logging (#5651)
Migrate to use Log4j2 for Logstash logging
2016-08-26 18:11:22 +00:00
Colin Surprenant
2002bace3c base SignalEvent class and cleanup LogStash namespace 2016-08-24 14:35:28 -04:00
Suyog Rao
16aefd8ecb Mirror 5.0 to master's version (#5803) 2016-08-22 19:22:07 +00:00
Suyog Rao
01d3ced998 Fix the require_jar warning about jackson jars
jrjackson was using 2.7.3 whereas core was using 2.7.0. Upgraded jrjackson
to 0.4.0 and core libs to match jars in jrjackson

Fixes #5159

Fixes #5750
2016-08-09 21:00:22 -04:00
Suyog Rao
244e88ae25 Bump version to 5.0.0-alpha5 (#5698) 2016-07-27 11:32:01 -07:00
Guy Boertje
9020acedf0 Implementation - Java Event type casting conversion optimization (#4999)
* add RubyJavaObject and Valuefier classes and use, junit and rspec pass

* add benchmark

* update benchmark
Deep fetch      6.015M (± 4.4%) i/s -     60.086M

* change warmup to 30 seconds

* support for rubyValue = RubyNil, shortcut null when asking for javaValue

* prevent Lists and Maps from being converted to RubyJavaValue too

* camel case: is_ruby_nil

* rename method, use renamed method, make serializable and add junit test

* encapsulate refs to RubyJavaObject to setableValue, use StringBuilder

* remove unused newObj

* some fixes after PR review

* wip

* ruby and java tests pass with BiValues.

* Benchmarks are still good

* Fixes for spec failures in normal event specs

* integrate JavaProxy support into BiValues

* edit a TODO

* rebase master and updates from PR review.

* revert the use of JavaUtil.convertJavaToUsableRubyObject

* allow initTimestamp to handle NullBiValue

* remove TimeBiValue, convert Joda DateTime and Ruby Time to Timestamp beforehand
2016-07-21 09:13:01 +01:00
Joao Duarte
a6db0c9d54 update version to 5.0.0-alpha4 2016-06-21 12:29:23 +01:00
Joao Duarte
fa0eeb579f add single command release task and other release support tooling
Purpose:

* manage releases through a minimum number of rake tasks
* simplify building of snapshot builds
* create staged artifacts, candidates for releases, that required no changes to become releases
* this means the snapshot release process will not involve publishing gems, therefore:
* the gem artifacts should only be published to rubygems as a final artifact, at the time of GA

Changes:

* release artifacts no longer depend on gems of core components
* all core components are used locally AS-IS to minimize code changes between snapshot, RC and GA
* `versions.yml` describes the versions of all logstash parts and package
  * `rake version:set[version]` manage the yaml file and push the changes to the gemspecs/version.rb files
  * `rake version:set_plugin_api[version]` manage the yaml file and push the changes to the gemspecs/version.rb files
  * `rake artifact:all` generates SNAPSHOT artifacts: tar.gz, zip, rpm, deb
  * `RELEASE=1 rake artifact:all` creates release candidate artifacts + 4 gems: logstash-core, logstash-core-event, logstash-core-event-java and logstash-core-plugin-api

implements #5416 and #5414

Fixes #5460
2016-06-21 12:29:18 +01:00
Suyog Rao
6f64b7031d Release 5.0.0-alpha3.snapshot3 (#5519) 2016-06-17 12:57:52 -07:00
Guy Boertje
c937160364 Fix Javafier for MapJavaProxy, ArrayJavaProxy, ConcreteJavaProxy. (#5474)
* Fix Javafier for MapJavaProxy, ArrayJavaProxy, ConcreteJavaProxy.
+ JUnit tests + Rspec test

* fix splat imports
* use a method instead of switch case code and throw an error if we don't
know how to handle the wrapped type.
* Add hand crafted map to use in rspec from Java directly and rspec test
* changes for review comments.
2016-06-17 12:27:52 -07:00
Suyog Rao
f5d6942daa Release 5.0.0-alpha4.snapshot2 (#5505) 2016-06-15 13:47:32 -07:00
Suyog Rao
45ee712ac3 Release 5.0.0-alpha4.snapshot1 (#5441) 2016-06-03 10:47:10 +02:00
Suyog Rao
68bf39e659 Release 5.0.0-alpha3 gems and lock file (#5394) 2016-05-31 12:05:53 +02:00
Suyog Rao
9764584698 Release 5.0.0.alpha3 RC8 (#5386) 2016-05-29 21:15:41 +02:00
Suyog Rao
4bd26f2c53 Release 5.0.0-alpha3.snpashot5 (#5368) 2016-05-26 15:02:51 -07:00
Suyog Rao
03ece707c7 Release 5.0.0-alpha3 snapshot4 (#5360) 2016-05-26 07:56:11 -07:00
Colin Surprenant
5cdd434612 optimize Java Map initialization 2016-05-25 15:06:36 -04:00
Tal Levy
7a1851ddc7 have Event#toMap return copy
Fixes #5296
2016-05-16 19:40:57 +00:00
Pier-Hugues Pellerin
f883d90622 Release a new beta1.snapshot2 gem
Releated to #5273

Fixes #5275
2016-05-11 16:02:49 +00:00
Colin Surprenant
c375ec1e48 remove unnecessary jar file introduced for the plugin-api-v2 transition 2016-05-06 15:01:28 -04:00
Colin Surprenant
537d6a2780 refactor Ruby Event getter and setter
refactor wip gemfiles

refactor Java Event getter and setter

bump plugin-api to 2.0

use plugin-api 2.0

switch to core-event-java

include logstash-core-event-java.jar jar file so that gem dependency using the source tree work

updated core plugins to core-api 2.0

added grok for refactor branch

fix rebased specs

remove temp plugins github paths

remove commented out tmp alias_method
2016-05-06 13:47:03 -04:00
Suyog Rao
59e113c852 Release 5.0 alpha2 (#5233)
* Release 5.0.0-alpha2
2016-05-02 11:15:16 -07:00
Suyog Rao
a8380099e4 Release 5.0.0-alpha2 snapshot2 (#5225)
* Release 5.0.0-alpha2 snapshot2 release
2016-04-29 10:21:09 -07:00
Suyog Rao
0fbded8e43 Release alpha2 snapshot1 2016-04-26 13:04:41 -07:00
Colin Surprenant
4850895930 Ruby and Java Event Accessors lut invalidation
lut invalidation spec

fix lut invalidation

extra comment

fix lut invalidation, invalid target path, with tests

post review fixes
2016-04-25 11:04:13 -04:00
Pier-Hugues Pellerin
0f5089d1f0 Logstash 5.0.0 alpha1
Fixes #5011
2016-04-05 14:08:06 +00:00
Pier-Hugues Pellerin
ea7ec090c8 preps for 5.0.0-alpha1.snapshot2
Fixes #5006
2016-04-04 21:45:38 +00:00
Suyog Rao
318f07e5fc Bump version to 5.0.0-alpha1.snapshot1 2016-03-29 18:21:51 -07:00
Colin Surprenant
6769dc4853 support RubyBignum in Javafier
cosmetics

Fixes #4900
2016-03-29 20:05:11 +00:00
Pier-Hugues Pellerin
15aed859de Update the gem.authors and gem.email with the Elastic information
Fix #4880
2016-03-23 17:36:10 -07:00
Colin Surprenant
f3c29faeaf correctly handle BigDecimal Rubyfying
BigDecimal fix spec
2016-03-18 09:54:29 -04:00