From 794473ca1924ddbc0a1e8bebe6f0724bf7d2e04b Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Tue, 5 Jan 2010 10:54:48 +0000 Subject: Integrated python support with HTTPD server module. Changed test case to use a python component implementation. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895982 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/server/mod-eval.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sca-cpp/trunk/modules/server/mod-eval.cpp') diff --git a/sca-cpp/trunk/modules/server/mod-eval.cpp b/sca-cpp/trunk/modules/server/mod-eval.cpp index dbfe8b6221..34c1f00cba 100644 --- a/sca-cpp/trunk/modules/server/mod-eval.cpp +++ b/sca-cpp/trunk/modules/server/mod-eval.cpp @@ -38,6 +38,7 @@ #include "../http/httpd.hpp" #include "mod-scheme.hpp" #include "mod-cpp.hpp" +#include "mod-python.hpp" extern "C" { extern module AP_MODULE_DECLARE_DATA mod_tuscany_eval; @@ -288,6 +289,8 @@ const list proxies(const list& refs, const string& base) { const failable&)> > readImplementation(const string& itype, const string& path, const list& px) { if (contains(itype, ".scheme")) return modscheme::readImplementation(path, px); + if (contains(itype, ".python")) + return modpython::readImplementation(path, px); if (contains(itype, ".cpp")) return modcpp::readImplementation(path, px); return mkfailure&)> >(string("Unsupported implementation type: ") + itype); -- cgit v1.2.3