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
* 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
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 #5414Fixes#5460
* 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.
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
return current time usec, not epoch usec, with millisec precision, because you know, Joda
correctly support BuigDecimal in Timestamp#at
specs for Timestamp#usec and Timestamp#at with all supported type
typo
more specs
Need to revert bump to 5.0.0.dev because individual plugins
will not install on top of this version.
In plugins' gemspec, the constraint is
`s.add_runtime_dependency "logstash-core", ">= 2.0.0", "< 3.0.0"`
This needs to be mass updated, and then bumped to 5.0.0
Fixes#4828
from_json POC
add Event#from_json with corresponding specs
pre-inititalize error class constants
tests for Event#from_json
support array of events in from_json, upgrade to latest jackson
add test for partially invalid json array
cleaned dependencies, removed Guava code
default to java event
also compile java event
use json-unit for json result assertions
remove Java 8 specific constructs to be able to compile on Java 7
use jar-dependencies
better jar file loading
copy jar into lib after build
add post-build copy and clean of gem jar and re-indented file
fix jar destination
include generated jar in gem
remove useless ArrayList constructions
add tests for KeyNode.join method
remove useless shadow and disable unchecked warnings
update gradle dependency to 2.8
fix deprecated asserEquals usage
simplify convoluted list contruction
fix array fields nil values handling
moar nil value tests
simplify for loop