Merge lp:~rvb/maas/maas-longpoll-fix into lp:~maas-committers/maas/trunk
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Approved by: | Raphaël Badin |
Approved revision: | no longer in the source branch. |
Merged at revision: | 289 |
Proposed branch: | lp:~rvb/maas/maas-longpoll-fix |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
169 lines (+44/-18) 6 files modified
src/maas/demo.py (+1/-1) src/maas/settings.py (+2/-2) src/maasserver/templates/maasserver/index.html (+2/-2) src/maasserver/tests/test_views.py (+23/-9) src/maasserver/urls.py (+14/-2) src/maasserver/views.py (+2/-2) |
To merge this branch: | bzr merge lp:~rvb/maas/maas-longpoll-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | Approve | ||
Review via email: mp+97582@code.launchpad.net |
Commit message
Fix proxy to txlongpoll.
Description of the change
This branch fixes the dynamic inclusion of the view that acts as a proxy to a txongpoll server. This view should only be served by MaaS if both settings.
To post a comment you must log in.
Hi Raphaël,
Thank you very much for this fix, and the clarification of LONGPOLL_PATH, and the additional tests.
But unless I'm reading things incorrectly, we still don't have any tests that ensure that the view is setup correctly, right? We have tests get get_proxy_ longpoll_ enabled( ) is implemented correctly, but no tests that ensure that the proxy view is set up correctly? I assume we have unit tests that the view itself work properly.