Use stream events to fetch refs and create repositories

Add stream events listener to trigger git fetch references and to create
repositories. This functionality in combination with events-broker and
multi-site provides a backfill mechanism for REST API calls missed when
node was unreachable.

NOTE: This change do not include removing refs, project deletion and
head update.

Bug: Issue 15636
Change-Id: I573d4b403878ad781eeabf2b88416f3b29c25787
8 files changed
tree: 9e78f2adbd337d58977adde46f1dc727793bcf49
  1. src/
  2. BUILD
  3. Jenkinsfile
  4. LICENSE