Merge lp://staging/~cmars/juju-core/cs-httpauth-feedback into lp://staging/~go-bot/juju-core/trunk
Proposed by
Casey Marshall
Status: | Work in progress |
---|---|
Proposed branch: | lp://staging/~cmars/juju-core/cs-httpauth-feedback |
Merge into: | lp://staging/~go-bot/juju-core/trunk |
Diff against target: |
649 lines (+151/-145) 11 files modified
charm/repo.go (+5/-16) charm/repo_test.go (+18/-16) charm/testing/mockstore.go (+6/-0) environs/config/config.go (+1/-26) environs/config/config_test.go (+0/-38) state/api/client.go (+13/-1) state/api/params/internal.go (+13/-0) state/apiserver/client/client.go (+34/-21) state/apiserver/client/client_test.go (+20/-24) testing/charm.go (+13/-3) utils/http.go (+28/-0) |
To merge this branch: | bzr merge lp://staging/~cmars/juju-core/cs-httpauth-feedback |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+210524@code.staging.launchpad.net |
Description of the change
Feedback HTTP service errors to AddCharm RPC call.
Remove environment config 'charm-store-auth', to be replaced by per-user
credentials. Helpers to classify and handle HTTP service error conditions.
Enables client to respond to a '401 Unauthorized' by obtaining & adding
credentials, retrying.
To post a comment you must log in.
Unmerged revisions
- 2380. By Casey Marshall
-
Merged: Ian Booth 2014-03-12 [merge] [r=dimitern],[bug=1290684] Ensure agentconfig datadir is not empty
- 2379. By Casey Marshall
-
../commitmsg
Reviewers: mp+210524_ code.launchpad. net,
Message:
Please take a look.
Description:
Feedback HTTP service errors to AddCharm RPC call.
Remove environment config 'charm-store-auth', to be replaced by per-user
credentials. Helpers to classify and handle HTTP service error
conditions.
Enables client to respond to a '401 Unauthorized' by obtaining & adding
credentials, retrying.
https:/ /code.launchpad .net/~cmars/ juju-core/ cs-httpauth- feedback/ +merge/ 210524
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/74350043/
Affected files (+160, -176 lines): mockstore. go upgradecharm. go config/ config. go config/ config_ test.go params/ internal. go /client/ client. go /client/ client_ test.go
A [revision details]
M charm/repo.go
M charm/repo_test.go
M charm/testing/
M cmd/juju/deploy.go
M cmd/juju/
M environs/
M environs/
M state/api/client.go
M state/api/
M state/apiserver
M state/apiserver
M testing/charm.go
M utils/http.go