lp:~jameinel/juju-core/login-returns-env-tag
- Get this branch:
- bzr branch lp:~jameinel/juju-core/login-returns-env-tag
Branch merges
- Juju Engineering: Pending requested
-
Diff: 851 lines (+402/-41)14 files modifiedenvirons/configstore/disk.go (+5/-2)
environs/configstore/interface.go (+4/-0)
environs/configstore/interface_test.go (+6/-4)
juju/api.go (+42/-14)
juju/apiconn_test.go (+139/-3)
juju/mock_test.go (+5/-0)
state/api/apiclient.go (+14/-1)
state/api/apiclient_test.go (+22/-0)
state/api/params/params.go (+6/-4)
state/api/state.go (+6/-4)
state/api/state_test.go (+48/-0)
state/apiserver/admin.go (+21/-1)
state/apiserver/common/errors.go (+2/-0)
state/apiserver/login_test.go (+82/-8)
Branch information
Recent revisions
- 2802. By John A Meinel
-
clarify in the comments that we are explicitly testing the case where EnvironTag is empty.
- 2801. By John A Meinel
-
clean up the code so that we only store EnvironUUID and just talk about EnvironTag in the api calls
- 2800. By John A Meinel
-
Fix another edge case.
Our test suite doesn't always have APIHostPorts available, because we don't
always have a machine-0. In those cases, we can get an EnvironTag but not
have any addresses to connect to. We don't want to end up setting the
connection addresses to the empty list, and make it hard to actually
connect to the environment.
Add a test, move where we set addrs to only set it when they have changed. - 2796. By John A Meinel
-
Thread the EnvironTag code through the testing mocks at least.
The 'juju' test suite is happy. - 2795. By John A Meinel
-
Start working on threading EnvironTag through all the apis, not quite working yet.
- 2793. By John A Meinel
-
Admin.Login accepts environ tags, and will give you a valid error when it doesn't know about the UUID you are requesting.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~go-bot/juju-core/trunk