41cf335127
Adjust monasca-api Python installation with changes: - start/stop of monasca-api proces handles through run_process and stop_process and no service files - setting up environment with devstack function - use USE_VENV for monasca-api - installing monasca-api dependencies from git - remove configuration file from devstack/files/monasca-api/python - setup up configuration files with iniset Change-Id: I2faf48d17fb5e958e1d7ad2383c125ade3faaaf0
28 lines
535 B
INI
28 lines
535 B
INI
[DEFAULT]
|
|
name = monasca_api
|
|
|
|
[pipeline:main]
|
|
pipeline = request_id auth api
|
|
|
|
[app:api]
|
|
paste.app_factory = monasca_api.api.server:launch
|
|
|
|
[filter:auth]
|
|
paste.filter_factory = monasca_api.healthcheck.keystone_protocol:filter_factory
|
|
|
|
[filter:request_id]
|
|
paste.filter_factory = oslo_middleware.request_id:RequestId.factory
|
|
|
|
[server:main]
|
|
use = egg:gunicorn#main
|
|
host = 127.0.0.1
|
|
port = 8070
|
|
workers = 9
|
|
worker-connections = 2000
|
|
worker-class = eventlet
|
|
timeout = 30
|
|
backlog = 2048
|
|
keepalive = 2
|
|
proc_name = monasca-api
|
|
loglevel = DEBUG
|