~frankban/charms/precise/juju-gui/invalid-pyjuju-ws

Viewing all changes in revision 89.

Integrate the built-in server into the charm.

Add a "builtin-server" option to config.yaml, defaulting to false, to enable
a new Tornado-based built-in web server, in place of haproxy and Apache (still
the default).

Add a "guiserver.conf" Upstart config file, generated via a template.

Add a BuiltinServerMixin to hooks/backend.py .

Add tests for the new functions in hooks/utils.py .

Clean up all paths and constants in hooks/utils.py .

Miscellaneuos cleanup.

QA1 (quick):

$ make unittest

QA2 (long, 40 minutes):

$ make ftest

QA3 (long but shorter than the former):

$ juju bootstrap
$ make deploy
  (check web access)
$ juju set juju-gui builtin-server=true
  (check web access)
$ juju set juju-gui builtin-server=false
  (check web access)
$ juju destroy-environment

R=frankban, matthew.scott
CC=
https://codereview.appspot.com/12650044

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: