~jtv/maas/bug-991553

  • Committer: Tarmac
  • Author(s): Raphael Badin
  • Date: 2012-03-14 15:20:46 UTC
  • mfrom: (236.6.15 maas-longpoll-js)
  • Revision ID: ed@carob-20120314152046-dkaa0kxxeti2hpor
[r=jtv][bug=][author=rvb] This branch adds the required view/utility to deal with longpoll on the server side.  It adds:
- the required configuration options
- a simple view which will act as a proxy to a txlongpoll server.  Note that this will be used in dev mode only.  In production, apache will do that.  Also, in the future, we might want, in dev mode, to setup a tiny and lightweight http server that will act as a frontend to django's dev server and txlongpoll.
- view.get_longpoll_context: a simply utility used to populate a context with the information required to connect longpoll on the js side.

Note that LONGPOLL is disabled on the dev instance (LONGPOLL_URL = None in demo.py) by default because having it on breaks Django's auto reload feature.
Filename Latest Rev Last Changed Committer Comment Size
..
specs 36.1.12 12 years ago Julian Edwards merge trunk Diff
testing 35.2.5 12 years ago Jeroen Vermeulen Review change: moving fakecobbler to new dir, test Diff
tests 35.2.1 12 years ago Jeroen Vermeulen Cobbler XMLRPC API and beginning of test fake. Diff
__init__.py 35.2.3 12 years ago Jeroen Vermeulen Split out tests. FakeCobbler still needs extendin Empty Diff Download File
amqpclient.py 66.1.5 12 years ago Gavin Panella Fix lint, format imports. 4 KB Diff Download File
api.py 272 12 years ago Tarmac [r=julian-edwards][bug=][author=allenap] Include p 11.1 KB Diff Download File
cobblerclient.py 246.5.12 12 years ago Gavin Panella Attempt edit before new when calling xapi_object_e 27.7 KB Diff Download File
enum.py 250.1.10 12 years ago Jeroen Vermeulen Review changes. Had to use empty strings because 973 bytes Diff Download File
interfaces.py 250.1.10 12 years ago Jeroen Vermeulen Review changes. Had to use empty strings because 5.1 KB Diff Download File
plugin.py 194.1.3 12 years ago Gavin Panella Some more nods to Python 3. 5.2 KB Diff Download File
remote.py 87.4.22 12 years ago Gavin Panella Move export_via_xmlrpc() to utils. 878 bytes Diff Download File
services.py 194.1.3 12 years ago Gavin Panella Some more nods to Python 3. 2.9 KB Diff Download File
utils.py 87.4.22 12 years ago Gavin Panella Move export_via_xmlrpc() to utils. 1.6 KB Diff Download File