"Fossies" - the Fresh Open Source Software Archive

Member "monasca-log-api-2.9.0/docker/log-api-paste.ini.j2" (1 Apr 2019, 1275 Bytes) of package /linux/misc/openstack/monasca-log-api-2.9.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 [DEFAULT]
    2 name = monasca_log_api
    3 
    4 [composite:main]
    5 use = egg:Paste#urlmap
    6 /: la_version
    7 /healthcheck: la_healthcheck
    8 /v2.0: la_api_v2
    9 /v3.0: la_api_v3
   10 
   11 [pipeline:la_version]
   12 pipeline = error_trap versionapp
   13 
   14 [pipeline:la_healthcheck]
   15 pipeline = error_trap healthcheckapp
   16 
   17 [pipeline:la_api_v2]
   18 pipeline = error_trap request_id auth roles api_v2_app
   19 
   20 [pipeline:la_api_v3]
   21 pipeline = error_trap request_id auth roles api_v3_app
   22 
   23 [app:versionapp]
   24 paste.app_factory = monasca_log_api.app.api:create_version_app
   25 
   26 [app:healthcheckapp]
   27 paste.app_factory = monasca_log_api.app.api:create_healthcheck_app
   28 
   29 [app:api_v2_app]
   30 paste.app_factory = monasca_log_api.app.api:create_api_app
   31 set api_version=v2.0
   32 
   33 [app:api_v3_app]
   34 paste.app_factory = monasca_log_api.app.api:create_api_app
   35 set api_version=v3.0
   36 
   37 [filter:auth]
   38 paste.filter_factory = keystonemiddleware.auth_token:filter_factory
   39 
   40 [filter:roles]
   41 paste.filter_factory = monasca_log_api.middleware.role_middleware:RoleMiddleware.factory
   42 
   43 [filter:request_id]
   44 paste.filter_factory = oslo_middleware.request_id:RequestId.factory
   45 
   46 [filter:debug]
   47 paste.filter_factory = oslo_middleware.debug:Debug.factory
   48 
   49 [filter:error_trap]
   50 paste.filter_factory = oslo_middleware.catch_errors:CatchErrors.factory
   51 
   52 [server:main]
   53 use = egg:gunicorn#main