SADI Python Apache mod_wsgi

4 views
Skip to first unread message

Nicholas Del Rio

unread,
Mar 5, 2014, 1:56:56 PM3/5/14
to sadi...@googlegroups.com
Hello team,

I am having issues deploying my sadi python service in apache WSGI.  My problem is understanding how to call the sadi service from within the wsgi application endpoint...or does the sadi service already implement the application method?  I thought that might be the case, so I dumped in the sadi service in my wsgi-scripts dir but wsgi complained about the missing "application." Perhaps I missed something in the documentation. The instructions pointed me to https://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide which only seems to describes generic deployments.

Thanks in advance,
Nick

Jim McCusker

unread,
Mar 5, 2014, 2:05:07 PM3/5/14
to sadi...@googlegroups.com
The service itself is a WSGI application, so it can be deployed as one. An instance of a SADI service can therefore be referenced in the WSGI configuration. Another alternative would be to incorporate one or more services into a flask app, which is also WSGI-compatible. 

Jim
--
You received this message because you are subscribed to the Google Groups "sadi-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sadi-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


--
Jim McCusker

Data Scientist
5AM Solutions

PhD Student
Tetherless World Constellation
Rensselaer Polytechnic Institute
mcc...@cs.rpi.edu
http://tw.rpi.edu

Nicholas Del Rio

unread,
Mar 5, 2014, 2:57:58 PM3/5/14
to sadi...@googlegroups.com
Thanks for your help.

One additional mod_wsgi directive did the trick: WSGICallableObject.


On Wednesday, March 5, 2014 12:05:07 PM UTC-7, Jim McCusker wrote:
The service itself is a WSGI application, so it can be deployed as one. An instance of a SADI service can therefore be referenced in the WSGI configuration. Another alternative would be to incorporate one or more services into a flask app, which is also WSGI-compatible. 

Jim

On Wednesday, March 5, 2014, Nicholas Del Rio <nichola...@gmail.com> wrote:
Hello team,

I am having issues deploying my sadi python service in apache WSGI.  My problem is understanding how to call the sadi service from within the wsgi application endpoint...or does the sadi service already implement the application method?  I thought that might be the case, so I dumped in the sadi service in my wsgi-scripts dir but wsgi complained about the missing "application." Perhaps I missed something in the documentation. The instructions pointed me to https://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide which only seems to describes generic deployments.

Thanks in advance,
Nick

--
You received this message because you are subscribed to the Google Groups "sadi-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sadi-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages