lp:~gz/goose/flavor-count
- Get this branch:
- bzr branch lp:~gz/goose/flavor-count
Branch merges
Branch information
Recent revisions
- 107. By John A Meinel
-
[r=jameinel] client.
NewNonValidatin gPublicClient: new API While working on the juju-core side of the code, I discovered another path
where we try to connect to the HTTPS server (reading public buckets). So we
need a way to disable ssl validation there as well. - 106. By John A Meinel
-
[r=jameinel] test.py: don't update dependencies
There is no reason to update dependencies if we aren't running the
juju-core test suite anymore. This is what caused the juju-core test
suite to start failing because of the change in mgo that broke socket
timeouts. (We landed a goose branch which updated dependencies, which
brought in the 'broken' mgo, which then caused juju-core to stop
landing code.) - 105. By Ian Booth
-
[r=wallyworld] The previous url tweak caused issues with juju-core because we overload the service type attribute. So revert till the main issue can be addressed.
- 104. By Ian Booth
-
[r=wallyworld] A small tweak to the juju-tools url in the test double to ensure it ends with "/tools"
- 103. By John A Meinel
-
[r=jameinel],[bug=1202163] client/Client: Add API for non-validating SSL
This is the final goose step for supporting self-signed certificates
for the Openstack Provider (bug #1202163). It adds an API (like was
done for the http.Client object) named
goose/client.NewNonValidatin gClient. It then changes around the code a
bit so that we grab the HTTP connection early, and then use it in
sendRequest.We also had to change the Authenticators so that we can pass in the
http.Client object. Legacy was the only one that used a raw
net/http.Client and it should be pretty straightforward how it was
changed. Also, to pass in the Client object, I added a new function
identity.NewAuthenticato r(AuthMode, http.Client). This lets us set
private attributes, and allows us to not have external switch
statements about how to treat the various auth modes. - 102. By John A Meinel
-
[r=jameinel] http.Client: support InsecureSkipVerify
This adds a new API http.NewNonSSVa
lidating which ends up passing
InsecureSkipVerify: true all the way down the http stack. Because we
were using the global stdlib net/http.DefaultClient to enable
connection sharing, etc, we continue to cache the http.Client object.
I only create the object once we actually need it, and we only use it
for requests that also want to be "insecure".I'm open to suggestions if we want to name the API differently. We
could also do it as a flag to New() but that is an API break (meaning
juju-core stops building until we patch juju-core). So I felt this was
a reasonable method.This is step 2 in my work to support ssl-hostname-
verify: false for the
Openstack provider. (bug #1202163) - 101. By John A Meinel
-
[r=jameinel] testing/
testingservice: support https I'm splitting up the work for handling bug #1202163
This updates the goose testing/httpsuite and the testservice
infrastructure to allow an HTTPS endpoint.
The direct differences are that you can instantiate the test suite
with httpsuite.HTTPSuite{ UseTLS: true}. That triggers the underlying
standard library to use StartTLS instead of Start.The testservices were always reporting "http://" URLs, so this changes
them to notice the Scheme of their base URL and continue using it.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:goose