Add spark ETL container to wizard docker-compose

When setting up the docker-compose used to start up the wizard stack
(elasticsearch, kibabna, dashboard-importer), now the spark ETL job
is also included in the mix:

A `docker-compose up` will now also trigger the ETL job.

The ETL job waits for elasticsearch to be available before attempting
to import data to it.

In order for gerrit analytics endpoint to be available to the
dockerized ETL job, the host ip address and gerrit port need
to be configured in the docker compose:

- The host ip address is read using InetAddress object
- The gerrit schema and port are read from configuration

Feature: Issue 9867
Change-Id: I3419a635d8d7333e4d2ea078daec3e19287cbac0
6 files changed
tree: 3866487b4bbde440483ed502bd9be8369c505c5e
  1. project/
  2. src/
  3. .gitignore
  4. build.sbt
  5. LICENSE
  6. README.md
README.md

analytics-wizard

Wizard to provision a new GerritAnalytics stack

Setup

this plugin is being developed against gerrit master (2.16), thus it relies on gerrit-plugin-api-2.16-SNAPSHOT

In order to make gerrit-plugin-api-2.16-SNAPSHOT available locally you can run the following from a gerrit checkout dir:

./tools/maven/api.sh install