Jay Pipes | 8cafc80 | 2012-01-16 22:01:06 -0500 | [diff] [blame] | 1 | [pipeline:glance-registry] |
| 2 | #pipeline = context registryapp |
| 3 | # NOTE: use the following pipeline for keystone |
| 4 | pipeline = authtoken auth-context context registryapp |
| 5 | |
| 6 | [app:registryapp] |
| 7 | paste.app_factory = glance.common.wsgi:app_factory |
| 8 | glance.app_factory = glance.registry.api.v1:API |
| 9 | |
| 10 | [filter:context] |
| 11 | context_class = glance.registry.context.RequestContext |
| 12 | paste.filter_factory = glance.common.wsgi:filter_factory |
| 13 | glance.filter_factory = glance.common.context:ContextMiddleware |
| 14 | |
| 15 | [filter:authtoken] |
| 16 | paste.filter_factory = keystone.middleware.auth_token:filter_factory |
Dean Troyer | b328838 | 2012-02-28 16:41:10 -0600 | [diff] [blame^] | 17 | # FIXME(dtroyer): remove these service_* entries after auth_token is updated |
Jay Pipes | 8cafc80 | 2012-01-16 22:01:06 -0500 | [diff] [blame] | 18 | service_host = %KEYSTONE_SERVICE_HOST% |
| 19 | service_port = %KEYSTONE_SERVICE_PORT% |
| 20 | service_protocol = %KEYSTONE_SERVICE_PROTOCOL% |
| 21 | auth_host = %KEYSTONE_AUTH_HOST% |
| 22 | auth_port = %KEYSTONE_AUTH_PORT% |
| 23 | auth_protocol = %KEYSTONE_AUTH_PROTOCOL% |
| 24 | auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/ |
Dean Troyer | b328838 | 2012-02-28 16:41:10 -0600 | [diff] [blame^] | 25 | # FIXME(dtroyer): remove admin_token after auth_token is updated |
Jay Pipes | 8cafc80 | 2012-01-16 22:01:06 -0500 | [diff] [blame] | 26 | admin_token = %SERVICE_TOKEN% |
Dean Troyer | b328838 | 2012-02-28 16:41:10 -0600 | [diff] [blame^] | 27 | admin_tenant_name = %SERVICE_TENANT_NAME% |
| 28 | admin_user = %SERVICE_USERNAME% |
| 29 | admin_password = %SERVICE_PASSWORD% |
Jay Pipes | 8cafc80 | 2012-01-16 22:01:06 -0500 | [diff] [blame] | 30 | |
| 31 | [filter:auth-context] |
| 32 | context_class = glance.registry.context.RequestContext |
| 33 | paste.filter_factory = glance.common.wsgi:filter_factory |
| 34 | glance.filter_factory = keystone.middleware.glance_auth_token:KeystoneContextMiddleware |