|
|
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)
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+153 lines, -145 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
charm/repo.go
|
View
|
1
|
3 chunks |
+5 lines, -16 lines |
2 comments
|
Download
|
 |
M |
charm/repo_test.go
|
View
|
1
|
3 chunks |
+18 lines, -16 lines |
0 comments
|
Download
|
 |
M |
charm/testing/mockstore.go
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
environs/config/config.go
|
View
|
1
|
7 chunks |
+1 line, -26 lines |
0 comments
|
Download
|
 |
M |
environs/config/config_test.go
|
View
|
1
|
4 chunks |
+0 lines, -38 lines |
0 comments
|
Download
|
 |
M |
state/api/client.go
|
View
|
1
|
1 chunk |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
state/api/params/internal.go
|
View
|
1
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/client/client.go
|
View
|
1
|
5 chunks |
+34 lines, -21 lines |
2 comments
|
Download
|
 |
M |
state/apiserver/client/client_test.go
|
View
|
1
|
4 chunks |
+20 lines, -24 lines |
2 comments
|
Download
|
 |
M |
testing/charm.go
|
View
|
1
|
3 chunks |
+13 lines, -3 lines |
1 comment
|
Download
|
 |
M |
utils/http.go
|
View
|
1
|
1 chunk |
+28 lines, -0 lines |
1 comment
|
Download
|
Total messages: 6
|