Fix README
1 file changed
tree: e9bf391d9ec86499e2364236a2c3e6fdc34b0df4
  1. src/
  2. .gitignore
  3. .travis.yml
  4. BUCK
  5. LICENSE
  6. pom.xml
  7. README.md
README.md

gerrit-rabbitmq-plugin: Gerrit event publish plugin via RabbitMQ

Build Status

Synopsis

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.

About Buck

Buck is a build system now gerrit adopt. If you want to use Buck, you need to setup it referring Building with Buck in gerrit documentation.

Environments

  • linux
    • java-1.7
      • maven-3.0.4
      • buck

Build

  • Using maven

    mvn package
    
  • Using buck

    git clone git clone https://gerrit.googlesource.com/gerrit
    ln -s $(pwd) gerrit/plugins/rabbitmq
    cd gerrit
    buck build plugins/rabbitmq:rabbitmq
    

Using another version API

  • For maven

Now avaliable for Gerrit 2.8.1 only. If you want to use it on another version of Gerrit, please try the below.

mvn package -DGerrit-ApiVersion=2.8
  • for buck

After clone gerrit, you can checkout specified version.

git checkout -b v2.8 refs/tags/v2.8

Reference

Minimum Configuration

  [amqp]
    uri = amqp://localhost
  [exchange]
    name = exchange-for-gerrit-queue
  [message]
    routingKey = com.foobar.www.gerrit
  [gerrit]
    name = foobar-gerrit
    hostname = www.foobar.com

History

  • 1.3

    • Build with Buck
  • 1.2

    • Fix repository location for gerrit-api
    • Update README
  • 1.1

    • Fix channel handling
    • Add property: monitor.failureCount
    • Update README and documents
  • 1.0

    • First release

License

The Apache Software License, Version 2.0

Copyright

Copyright (c) 2013 rinrinne a.k.a. rin_ne