aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/keystone/contrib/moon/wsgi.py
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2015-12-16 16:13:33 +0100
committerasteroide <thomas.duval@orange.com>2015-12-16 16:13:33 +0100
commite62d94f2b714b5bd9ffa2cdf65635d3848ebccc0 (patch)
tree590a25b5f6e3c33a417e0109b5f9afd815b0fecb /keystone-moon/keystone/contrib/moon/wsgi.py
parent305397bf05d18e654e5c6c6bfe76d79478883fb4 (diff)
Send Moon from a Keystone filter to a Keystone application.
Change-Id: Ib74edc222e6d0705c7f7c6c602401fca75626c23
Diffstat (limited to 'keystone-moon/keystone/contrib/moon/wsgi.py')
-rw-r--r--keystone-moon/keystone/contrib/moon/wsgi.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/keystone-moon/keystone/contrib/moon/wsgi.py b/keystone-moon/keystone/contrib/moon/wsgi.py
new file mode 100644
index 00000000..f2a99633
--- /dev/null
+++ b/keystone-moon/keystone/contrib/moon/wsgi.py
@@ -0,0 +1,8 @@
+from keystone.server import wsgi
+from oslo_log import log
+
+LOG = log.getLogger(__name__)
+
+
+def initialize_moon_application():
+ return wsgi.initialize_application('moon_service')