|
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
https://code.launchpad.net/~teknico/charms/precise/juju-gui/integrate-builtin-server-2/+merge/179138
(do not edit description out of merge proposal)
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+268 lines, -89 lines) |
Patch |
|
M |
Makefile
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Operation.md
|
View
|
|
2 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
|
A |
[revision details]
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
config.yaml
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
config/apache-site.template
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
config/guiserver.conf.template
|
View
|
1
2
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
deps/tornado-3.1.tar.gz
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
M |
hooks/backend.py
|
View
|
1
|
2 chunks |
+28 lines, -1 line |
0 comments
|
Download
|
|
M |
hooks/utils.py
|
View
|
1
2
|
12 chunks |
+90 lines, -32 lines |
0 comments
|
Download
|
|
M |
revision
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
server/guiserver/apps.py
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
server/guiserver/manage.py
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
server/guiserver/tests/test_apps.py
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
server/runserver.py
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
server/setup.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tests/20-functional.test
|
View
|
1
|
4 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/test_backends.py
|
View
|
|
9 chunks |
+23 lines, -15 lines |
0 comments
|
Download
|
|
M |
tests/test_utils.py
|
View
|
1
2
|
7 chunks |
+63 lines, -25 lines |
0 comments
|
Download
|
Total messages: 9
|