From bfb557117da1342bde887cb2036a3a2f4c621a59 Mon Sep 17 00:00:00 2001 From: Sergey Reshetnyak Date: Wed, 30 Dec 2015 16:23:56 +0300 Subject: [PATCH] Add support running Sahara as wsgi app This patch adds support of running sahara-api as wsgi application. Tested with apache + mod_wsgi web server. Change-Id: I7355b09ebedd44e51242a252e96ac3a51073b2e6 --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index bf26c56..0c973dc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,6 +36,9 @@ console_scripts = _sahara-subprocess = sahara.cli.sahara_subprocess:main sahara-templates = sahara.db.templates.cli:main +wsgi_scripts = + sahara-wsgi-api = sahara.cli.sahara_api:setup_api + sahara.cluster.plugins = vanilla = sahara.plugins.vanilla.plugin:VanillaProvider hdp = sahara.plugins.hdp.ambariplugin:AmbariPlugin