lp://staging/~frankban/charms/precise/juju-gui/new-ws-client
- Get this branch:
- bzr branch lp://staging/~frankban/charms/precise/juju-gui/new-ws-client
Branch merges
- charmers: Pending requested
-
Diff: 809 lines (+420/-184)9 files modifiedrevision (+1/-1)
server/guiserver/clients.py (+65/-84)
server/guiserver/handlers.py (+89/-13)
server/guiserver/tests/helpers.py (+21/-29)
server/guiserver/tests/test_clients.py (+36/-28)
server/guiserver/tests/test_handlers.py (+98/-28)
server/guiserver/tests/test_utils.py (+66/-0)
server/guiserver/utils.py (+44/-0)
tests/requirements.pip (+0/-1)
Branch information
- Owner:
- Francesco Banconi
- Status:
- Development
Recent revisions
- 76. By Francesco Banconi
-
Initial implementation of the Juju GUI server.
This first cut of the server replaces the
functionality provided in the charm by
haproxy and apache.The server includes:
- static files serving;
- a WebSocket proxy handling the
connections between the browser and
the server and between the server and
the Juju API;
- HTTP to HTTPS redirecting.Further features like auth and deployer
management will be added in the future.ws4py is used to implement the WebSocket
client: there is something to fix there and
it will be done in a future branch.At this time there is no easy way to QA the
server, but tests can be run using
`make unittest`: the test/lint suite is already
integrated with the one used by the charm.Unfortunately the diff is quite long, sorry!
R=gary.poster, bac
CC=
https://codereview. appspot. com/11530043 - 75. By Madison Scott-Clary
-
Charm dir perms in core #1202772
Apache was giving a 403 when charm was deployed using core due to perms on the charm dir.
R=benjamin.saller, gary.poster
CC=
https://codereview. appspot. com/11540043
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/charms/juju-gui