~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
..
maas 1 12 years ago Raphael Badin Initial commit. Diff
maasserver 1 12 years ago Raphael Badin Initial commit. Diff
maastesting 33.2.3 12 years ago Gavin Panella Move maas.testing to maastesting and make it a Dja Diff
metadataserver 87.3.1 12 years ago Jeroen Vermeulen Basic setup for a metadata server. Diff
provisioningserver 35.2.1 12 years ago Jeroen Vermeulen Cobbler XMLRPC API and beginning of test fake. Diff