Merge branch 'stable-2.11'

* stable-2.11:
  Remove VERSION file
  Solver V1: Check for file/directory existence before operations
  AMQProperties: Fix IllegalArgumentException when setting properties
  Catch explicit exceptions instead of Exception
  Use AtomicInteger instead of volatile int
  Prevent potential null-pointer access
  Remove unnecessary constructor invocations
  Remove unnecessary casts
  Add missing @Override annotations
  Change logging message and level for closed connection.
  Create new AMQP properties for each publication
  Bump AMQP client to 3.5.2
  Fall back to loading only base config if no site configs are found
  Change logging message and level for failed connection.
  Add timestamp on messages
  Use API version 2.10.4
  Implement standalone Buck build
  Remove Gradle build
  Implement Buck build
  Better usage of builder patten in AMQProperties.getBasicProperties
  Build with API version 2.11

Change-Id: Ia9235595fd810e01e7749a31265ab1233f7d7206
tree: 08c56cfe784664366b1f30fb57cb2dc9fa9a1a7a
  1. lib/
  2. src/
  3. .buckconfig
  4. .gitignore
  5. BUCK
  6. LICENSE
  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 - 2.10.

Environments

  • linux
  • java-1.7
  • Buck

Build

Clone or link this plugin to the plugins directory of Gerrit's source tree, and issue the command:

buck build plugins/rabbitmq

The output is created in

buck-out/gen/plugins/rabbitmq/rabbitmq.jar

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

  • 3.14 (Freezed)

    • New branch: stable-2.10
    • HEAD in master is permanently latest but would not be updated by author anymore.
  • 3.1

    • Fix README
  • 3.0

    • New feature: multi url support
    • Bump amqp-client to 3.5.0
    • Bump Gradle shadow plugin to 1.2.1
    • Add Gradle release plugin 2.0.2
    • Fix & improve connection handling
  • 2.0

    • The feature that configure queue/exchange/bind has been removed. Means messages are published to existing exhange only.
    • Allow event filter based on an existing user (Thanks @GLundh!)
    • Fix singletonize Properties class and fix typo (Thanks @hugares!)
    • Add API support: 2.9-2.10
    • Bumped default Gerrit API to 2.10
    • Bumped amqp-client to 3.4.4
    • Bumped Gradle to 2.3
    • Remove Buck support
  • 1.4

    • Binary release
    • Add gradle support
    • Remove maven support
  • 1.3

    • Build with Buck
    • Bumped api version to 2.8.3
  • 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