"Fossies" - the Fresh Open Source Software Archive

Member "barbican-12.0.0/etc/barbican/barbican-api-paste.ini" (14 Apr 2021, 2224 Bytes) of package /linux/misc/openstack/barbican-12.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) INI source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "barbican-api-paste.ini": 11.0.0_vs_12.0.0.

    1 [composite:main]
    2 use = egg:Paste#urlmap
    3 /: barbican_version
    4 /healthcheck: healthcheck
    5 /v1: barbican-api-keystone
    6 
    7 # Use this pipeline for Barbican API - versions no authentication
    8 [pipeline:barbican_version]
    9 pipeline = cors http_proxy_to_wsgi versionapp
   10 
   11 # Use this pipeline for Barbican API - DEFAULT no authentication
   12 [pipeline:barbican_api]
   13 pipeline = cors http_proxy_to_wsgi unauthenticated-context apiapp
   14 
   15 #Use this pipeline to activate a repoze.profile middleware and HTTP port,
   16 #  to provide profiling information for the REST API processing.
   17 [pipeline:barbican-profile]
   18 pipeline = cors http_proxy_to_wsgi unauthenticated-context egg:Paste#cgitb egg:Paste#httpexceptions profile apiapp
   19 
   20 #Use this pipeline for keystone auth
   21 [pipeline:barbican-api-keystone]
   22 pipeline = cors http_proxy_to_wsgi authtoken context apiapp
   23 
   24 #Use this pipeline for keystone auth with audit feature
   25 [pipeline:barbican-api-keystone-audit]
   26 pipeline = http_proxy_to_wsgi authtoken context audit apiapp
   27 
   28 [app:apiapp]
   29 paste.app_factory = barbican.api.app:create_main_app
   30 
   31 [app:versionapp]
   32 paste.app_factory = barbican.api.app:create_version_app
   33 
   34 [filter:simple]
   35 paste.filter_factory = barbican.api.middleware.simple:SimpleFilter.factory
   36 
   37 [filter:unauthenticated-context]
   38 paste.filter_factory = barbican.api.middleware.context:UnauthenticatedContextMiddleware.factory
   39 
   40 [filter:context]
   41 paste.filter_factory = barbican.api.middleware.context:ContextMiddleware.factory
   42 
   43 [filter:audit]
   44 paste.filter_factory = keystonemiddleware.audit:filter_factory
   45 audit_map_file = /etc/barbican/api_audit_map.conf
   46 
   47 [filter:authtoken]
   48 paste.filter_factory = keystonemiddleware.auth_token:filter_factory
   49 
   50 [filter:profile]
   51 use = egg:repoze.profile
   52 log_filename = myapp.profile
   53 cachegrind_filename = cachegrind.out.myapp
   54 discard_first_request = true
   55 path = /__profile__
   56 flush_at_shutdown = true
   57 unwind = false
   58 
   59 [filter:cors]
   60 paste.filter_factory = oslo_middleware.cors:filter_factory
   61 oslo_config_project = barbican
   62 
   63 [filter:http_proxy_to_wsgi]
   64 paste.filter_factory = oslo_middleware:HTTPProxyToWSGI.factory
   65 
   66 [app:healthcheck]
   67 paste.app_factory = oslo_middleware:Healthcheck.app_factory
   68 backends = disable_by_file
   69 disable_by_file_path = /etc/barbican/healthcheck_disable