logstash/logstash-core-event-java
Joao Duarte a859bd4a3f 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-20 04:23:48 -04:00
..
gradle/wrapper code cleanups and integration work for defaulting to Java Event implementation 2016-01-26 12:39:35 -05:00
lib add single command release task and other release support tooling 2016-06-20 04:23:48 -04:00
spec Fix Javafier for MapJavaProxy, ArrayJavaProxy, ConcreteJavaProxy. (#5474) 2016-06-17 12:26:17 -07:00
src Fix Javafier for MapJavaProxy, ArrayJavaProxy, ConcreteJavaProxy. (#5474) 2016-06-17 12:26:17 -07:00
.gitignore logstash-core & logstash-core-event extraction to support logstash-core-event-java impl, relates to #4191 2015-11-16 16:40:19 -05:00
build.gradle new Event#from_json method 2016-02-09 11:46:44 -05:00
gradle.properties logstash-core & logstash-core-event extraction to support logstash-core-event-java impl, relates to #4191 2015-11-16 16:40:19 -05:00
gradlew code cleanups and integration work for defaulting to Java Event implementation 2016-01-26 12:39:35 -05:00
gradlew.bat logstash-core & logstash-core-event extraction to support logstash-core-event-java impl, relates to #4191 2015-11-16 16:40:19 -05:00
logstash-core-event-java.gemspec Update the gem.authors and gem.email with the Elastic information 2016-03-23 17:36:10 -07:00
README.md logstash-core & logstash-core-event extraction to support logstash-core-event-java impl, relates to #4191 2015-11-16 16:40:19 -05:00
settings.gradle logstash-core & logstash-core-event extraction to support logstash-core-event-java impl, relates to #4191 2015-11-16 16:40:19 -05:00

logstash-core-event-java

dev install

1- build code with

$ cd logstash-core-event-java
$ gradle build

A bunch of warning are expected, it should end with:

BUILD SUCCESSFUL

2- update root logstash Gemfile to use this gem with:

# gem "logstash-core-event", "x.y.z", :path => "./logstash-core-event"
gem "logstash-core-event-java", "x.y.z", :path => "./logstash-core-event-java"

3- update logstash-core/logstash-core.gemspec with:

# gem.add_runtime_dependency "logstash-core-event", "x.y.z"
gem.add_runtime_dependency "logstash-core-event-java", "x.y.z"

4- and install:

$ bin/bundle
  • install core plugins for tests
$ rake test:install-core

specs

$ bin/rspec spec
$ bin/rspec logstash-core/spec
$ bin/rspec logstash-core-event/spec
$ bin/rspec logstash-core-event-java/spec

or

$ rake test:core

also

$ rake test:plugins