The wikistats2 endpoints, planned to be implemented in T288301: AQS 2.0:Wikistats 2 service, use Druid data in production. We'll need a way to provide testing data. Options include:
- a Druid-based Docker Compose environment, maybe based on https://druid.apache.org/docs/latest/tutorials/docker.html
- a "fake druid" similar to the current aqs implementation that just returns hard-coded data for specific hard-coded requests
- 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