monasca-log-api/monasca_log_api
Tomasz Trębski 138ac174c4 Allow to specify CLI arguments
Passing any CLI arguments to log-api is not possible
for the case where it runs under gunicorn server.
Gunicorn's argument parsing processes clashes with oslo's.
Effectivelly that means that either of them cannot understand
the arguments of another. However log-api is capable of being launched
under, for example, apache_mod-wsgi.
That permits passing oslo CLI arguments.

Added simple method that detect the executable that was used to run
log-api. If that is not gunicorn, CLI opts will be enabled.
Otherwise log-api will print out warning and proceed as it was.

Extra:
* reworked to use fixtures

Change-Id: I6b2fc386aeb823ab735270ffc1d3f7e15985830f
2017-07-27 07:34:02 +02:00
..
api Fix cross-tenant logs submission 2017-06-03 14:19:52 +02:00
app Allow to specify CLI arguments 2017-07-27 07:34:02 +02:00
conf Use oslo-config-generator 2017-07-05 09:44:35 +00:00
db Internal interfaces for log listing API implementation 2017-03-24 11:19:01 +00:00
healthcheck Use oslo-config-generator 2017-07-05 09:44:35 +00:00
middleware Use oslo-config-generator 2017-07-05 09:44:35 +00:00
monitoring Use oslo-config-generator 2017-07-05 09:44:35 +00:00
reference Use oslo-config-generator 2017-07-05 09:44:35 +00:00
tests Allow to specify CLI arguments 2017-07-27 07:34:02 +02:00
__init__.py monasca-log-api python 2015-10-08 10:38:12 +02:00
config.py Allow to specify CLI arguments 2017-07-27 07:34:02 +02:00
version.py Composite paste for monasca-log-api 2017-06-02 14:20:43 +00:00