diff options
author | Thomas Duval <thomas.duval@orange.com> | 2016-08-08 13:53:55 +0200 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2016-08-08 13:53:55 +0200 |
commit | 7b46b233d9d6a8c48d52bff2cc6e77869d44d698 (patch) | |
tree | 2599aad49ff4bc95debfc20b726ef22e47c74ab7 /keystone-moon/doc/source | |
parent | e24eec03210b9efc996840fb2e269abe570b46e3 (diff) |
Update configurations
Change-Id: I8d65b73e1bfed94241a558660ae99fa22e0c22b4
Diffstat (limited to 'keystone-moon/doc/source')
-rw-r--r-- | keystone-moon/doc/source/extensions/moon/moon.rst | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/keystone-moon/doc/source/extensions/moon/moon.rst b/keystone-moon/doc/source/extensions/moon/moon.rst index fc862675..f2b3b0bc 100644 --- a/keystone-moon/doc/source/extensions/moon/moon.rst +++ b/keystone-moon/doc/source/extensions/moon/moon.rst @@ -28,25 +28,27 @@ Moon is a contribute backend so you have to enable it by modifying /etc/keystone .. code-block:: ini - [filter:moon] - paste.filter_factory = keystone.contrib.moon.routers:Admin.factory - - ... + [pipeline:moon_pipeline] + pipeline = sizelimit url_normalize request_id build_auth_context token_auth admin_token_auth json_body ec2_extension_v3 s3_extension moon_service - [pipeline:public_api] - # The last item in this pipeline must be public_service or an equivalent - # application. It cannot be a filter. - pipeline = sizelimit url_normalize build_auth_context token_auth admin_token_auth json_body ec2_extension user_crud_extension moon public_service + [app:moon_service] + use = egg:keystone#moon_service - [pipeline:admin_api] - # The last item in this pipeline must be admin_service or an equivalent - # application. It cannot be a filter. - pipeline = sizelimit url_normalize build_auth_context token_auth admin_token_auth json_body ec2_extension s3_extension crud_extension moon admin_service + ... - [pipeline:api_v3] - # The last item in this pipeline must be service_v3 or an equivalent - # application. It cannot be a filter. - pipeline = sizelimit url_normalize build_auth_context token_auth admin_token_auth json_body ec2_extension_v3 s3_extension simple_cert_extension revoke_extension moon service_v3 + [composite:main] + use = egg:Paste#urlmap + /moon = moon_pipeline + /v2.0 = public_api + /v3 = api_v3 + / = public_version_api + + [composite:admin] + use = egg:Paste#urlmap + /moon = moon_pipeline + /v2.0 = admin_api + /v3 = api_v3 + / = admin_version_api ... |