commit | 18f2cb74ce6fa96ea0e56bd5c73fa38ab8086f8f | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Wed Feb 25 10:06:54 2015 +0900 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Wed Feb 25 10:09:14 2015 +0900 |
tree | d3cb81208d231be856ee2400bee5df78eca72a9f | |
parent | eb0824c17c1aef98f3231831b6b4ddb869a163d2 [diff] |
Build with API version 2.11-SNAPSHOT and fix build errors The events API is changed in gerrit version 2.11: - ChangeListener was replaced by EventListener - ChangeHooks was replaced by EventSource Update the code to use the new interfaces. Change-Id: I8c30a90743dc62146586f81ced51b7de4741b6db
This is Gerrit plugin.
This can publish gerrit events to message queue provided by RabbitMQ. Published events are the same as Gerrit stream evnets.
This plugin works on Gerrit 2.8 or later.
linux
java-1.7
gradle
To build plugin with gradle.
./gradlew build
Now avaliable for Gerrit 2.8.5 only. If you want to use it on another version of Gerrit, please try the below.
./gradlew build -PapiVersion=2.8
[amqp] uri = amqp://localhost [exchange] name = exchange-for-gerrit-queue [message] routingKey = com.foobar.www.gerrit [gerrit] name = foobar-gerrit hostname = www.foobar.com
1.4
1.3
1.2
1.1
monitor.failureCount
1.0
The Apache Software License, Version 2.0
Copyright (c) 2013 rinrinne a.k.a. rin_ne