Parse "dispatcher" options correctly from InfluxDB client 03/56403/6
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Tue, 24 Apr 2018 15:53:11 +0000 (16:53 +0100)
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Fri, 4 May 2018 06:59:26 +0000 (06:59 +0000)
commita833a12d6fea8bc02f01f6ed8f0f84670e924b77
treec3cb41b3ca234adc9999ec4d71b8dfe9e10cc4fd
parente985b356b75c9f4169ab8f1cd761cc3cfd13f6d1
Parse "dispatcher" options correctly from InfluxDB client

The InfluxDB client needs first to retrieve which dispatchers
are available from "DEFAULT:dispatcher". This parameter accepts
comma separated values. "get_data_db_client" method needs to search
for "influxdb" in this string parameter.

JIRA: YARDSTICK-1136

Change-Id: I5efafcffbd3dbf906ca9bebd75b3717df8bbb75d
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
api/utils/influx.py
yardstick/common/exceptions.py
yardstick/dispatcher/__init__.py
yardstick/tests/unit/apiserver/utils/__init__.py [new file with mode: 0644]
yardstick/tests/unit/apiserver/utils/test_influx.py