Ignore remote ref-updated stream events for replication

The ref-updated happened on foreign Gerrit servers, which means
that the instance-id of the event is different than the local one,
should not be considered as a ref-update to action.

The pull-replication has a specific separate listener to
react on remote events and the ReplicationQueue should only
be used for triggering replication actions due to local ref-updates
only.

Add gerrit.instanceId to all integration tests, which was needed
even before this change but, somehow, still working before without
it.

Bug: Issue 16924
Change-Id: I8cd27f756becf4c4c990641d31639f30918f4da9
11 files changed
tree: 82cc5f7146a35ccdcdfa006c9aecda46d67719a4
  1. example-setup/
  2. src/
  3. .gitignore
  4. BUILD
  5. external_plugin_deps.bzl
  6. Jenkinsfile
  7. LICENSE