Page MenuHomePhabricator

Establish testing procedure for Druid-based endpoints
Open, MediumPublic5 Estimated Story Points

Description

The wikistats2 endpoints, planned to be implemented in T288301: AQS 2.0: Implement wikistats 2 endpoints, use Druid data in production. We'll need a way to provide testing data. Options include:

  1. a Druid-based Docker Compose environment, maybe based on https://druid.apache.org/docs/latest/tutorials/docker.html
  2. a "fake druid" similar to the current aqs implementation that just returns hard-coded data for specific hard-coded requests
  3. SSH tunnel to production data. I mention this because the existing system uses this, but we should find a different way. I personally consider this a non-option.

Relevant comments form @JAllemandou here: https://phabricator.wikimedia.org/T288301#7997714