Project

Profile

Help

Task #3132

Updated by bmbouter over 6 years ago

The "current WSGI application":https://github.com/pulp/pulp/blob/253ae59c9d80a4698c47a0608f96e5d81a62f0d7/platform/pulpcore/app/wsgi.py serves all URLs. This means we can't efficiently deploy/scale the API separately from the content serving webapplication. We should split up the current WSGI application into two smaller WSGI apps and document them. 

 Create an api.wsgi which will serve /status/ and /api/v3/ urls. Also create a content.wsgi which serves /content/. Both of these need to be documented on a new page in the docs. 

 There was a long related thread on pulp-dev called "Webserver owning the entire url namespace?":https://www.redhat.com/archives/pulp-dev/2017-November/thread.html#00074. The last note "here":https://www.redhat.com/archives/pulp-dev/2017-November/msg00074.html uses the same language as this ticket.

Back