summaryrefslogtreecommitdiffstats
path: root/conductor/docker/app.wsgi
diff options
context:
space:
mode:
authorShankaranarayanan Puzhavakath Narayanan <snarayanan@research.att.com>2019-04-25 01:55:19 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-25 01:55:19 +0000
commitd6be402c0765aee388bc5dc64882696a0a23be22 (patch)
treeb04ac8cc8f18f405987ec0ee856e1d1ad3f802f1 /conductor/docker/app.wsgi
parent199e4080955b66a4543effa7193e36fa995b072b (diff)
parent49c1587a0900eba172e14adc0c93bb73d0fac9f8 (diff)
Merge "Changes related to running oof on TLS/HTTPS"
Diffstat (limited to 'conductor/docker/app.wsgi')
-rw-r--r--conductor/docker/app.wsgi14
1 files changed, 14 insertions, 0 deletions
diff --git a/conductor/docker/app.wsgi b/conductor/docker/app.wsgi
new file mode 100644
index 0000000..91cd980
--- /dev/null
+++ b/conductor/docker/app.wsgi
@@ -0,0 +1,14 @@
+"""Use this file for deploying the API under mod_wsgi.
+See http://pecan.readthedocs.org/en/latest/deployment.html for details.
+"""
+from conductor import service
+from conductor.api import app
+
+# Initialize the oslo configuration library and logging
+
+# Prepare service-wide components (e.g., config)
+conf = service.prepare_service(
+ [], config_files=['/usr/local/etc/conductor/conductor.conf'])
+
+#conf = service.prepare_service([])
+application = app.load_app(conf)