Advertisement
vanduc95

/etc/gnocchi/api-paste.ini

Nov 29th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. [composite:gnocchi+noauth]
  2. use = egg:Paste#urlmap
  3. / = gnocchiversions_pipeline
  4. /v1 = gnocchiv1+noauth
  5. /healthcheck = healthcheck
  6.  
  7. [composite:gnocchi+basic]
  8. use = egg:Paste#urlmap
  9. / = gnocchiversions_pipeline
  10. /v1 = gnocchiv1+noauth
  11. /healthcheck = healthcheck
  12.  
  13. [composite:gnocchi+keystone]
  14. use = egg:Paste#urlmap
  15. / = gnocchiversions_pipeline
  16. /v1 = gnocchiv1+keystone
  17. /healthcheck = healthcheck
  18.  
  19. [pipeline:gnocchiv1+noauth]
  20. pipeline = http_proxy_to_wsgi gnocchiv1
  21.  
  22. [pipeline:gnocchiv1+keystone]
  23. pipeline = http_proxy_to_wsgi keystone_authtoken gnocchiv1
  24.  
  25. [pipeline:gnocchiversions_pipeline]
  26. pipeline = http_proxy_to_wsgi gnocchiversions
  27.  
  28. [app:gnocchiversions]
  29. paste.app_factory = gnocchi.rest.app:app_factory
  30. root = gnocchi.rest.VersionsController
  31.  
  32. [app:gnocchiv1]
  33. paste.app_factory = gnocchi.rest.app:app_factory
  34. root = gnocchi.rest.V1Controller
  35.  
  36. [filter:keystone_authtoken]
  37. use = egg:keystonemiddleware#auth_token
  38. oslo_config_project = gnocchi
  39.  
  40. [filter:http_proxy_to_wsgi]
  41. use = egg:oslo.middleware#http_proxy_to_wsgi
  42. oslo_config_project = gnocchi
  43.  
  44. [app:healthcheck]
  45. use = egg:oslo.middleware#healthcheck
  46. oslo_config_project = gnocchi
  47.  
  48.  
  49. [pipeline:main]
  50. pipeline = cors gnocchi+auth
  51.  
  52. [filter:cors]
  53. paste.filter_factory = oslo_middleware.cors:filter_factory
  54. oslo_config_project = gnocchi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement