heat/etc/heat-engine-paste.ini
Angus Salkeld 6161c7aa85 Start separating the api and the implementation.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-20 12:58:54 +11:00

37 lines
1.0 KiB
INI

# Default minimal pipeline
[pipeline:heat-engine]
pipeline = context engineapp
# Use the following pipeline for keystone auth
# i.e. in heat-engine.conf:
# [paste_deploy]
# flavor = keystone
#
[pipeline:heat-engine-keystone]
pipeline = authtoken auth-context engineapp
[app:engineapp]
paste.app_factory = heat.common.wsgi:app_factory
heat.app_factory = heat.engine.api.v1:API
[filter:context]
paste.filter_factory = heat.common.wsgi:filter_factory
heat.filter_factory = heat.common.context:ContextMiddleware
[filter:authtoken]
paste.filter_factory = keystone.middleware.auth_token:filter_factory
service_protocol = http
service_host = 127.0.0.1
service_port = 5000
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
auth_uri = http://127.0.0.1:5000/
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%
[filter:auth-context]
paste.filter_factory = heat.common.wsgi:filter_factory
heat.filter_factory = keystone.middleware.heat_auth_token:KeystoneContextMiddleware