DescriptionPrefer socket_port and socket_protocol
In order to allow the charm to be backwards compatible, change the websocket url code to prefer socket_port and/or socket_protocol if they are also provided with socket_url in the configuration. Added tests. Moved pertinent code from index.html to app because it was easier to test there.
https://code.launchpad.net/~gary/juju-gui/socket_url_revisited/+merge/153202
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 7
Patch Set 2 : Prefer socket_port and socket_protocol #
MessagesTotal messages: 5
|