Process receive events as InternalUser, set request context

Same as in the events-kafka plugin we must set proper thread local
context for the events subscriber thread(s). If this is not done then
the current user is the anonymous user and, as an example for the
pull-replication plugin, project creation doesn't work (unless project
creation would be enabled for anonymous users).

Change-Id: I3ecb379d327b62a7964706a12c0c158a7d0a13d6
2 files changed
tree: bfdcf97708089af59fb7d50f505529805c0348bf
  1. src/
  2. BUILD
  3. external_plugin_deps.bzl
  4. Jenkinsfile
  5. LICENSE
  6. README.md
README.md

events-gcloud-pubsub

Gerrit event producer and consumer for GCloud PubSub

Build

Information on how to build this plugin can be found here

Configuration

Information on how to configure this plugin can be found here