Do not validate if Event.instanceId is populated

EventDeserialiser during the event message parsing validates if
instanceId field is populated. Some plugins (e.g websession-broker)
do not require Event.instanceId to be present. Remove validation for
instanceId field to give more flexibility to plugins.

Bug: Issue 14696
Change-Id: I82570b1ed6ecab15da185147ec3dc776317a69cd
2 files changed
tree: ef8942ffe6b59ff55b159fb31455ad40f97464b7
  1. src/
  2. .gitignore
  3. BUILD
  4. Jenkinsfile
  5. LICENSE
  6. pom.xml
  7. README.md
README.md

Events Broker API for Gerrit Code Review

API of a generic events broker for use with Gerrit Code Review.

Enables the de-coupling between Gerrit, plugins and the different implementations of a generic events broker.