|
worker/apiuniter: State to API migration
This replaces all state calls with API calls,
fixes all tests and prepares the uniter worker
to use the API.
This is done separately from worker/uniter, so
it can be reviewed first before merging.
https://code.launchpad.net/~dimitern/juju-core/133-apiuniter-uses-api/+merge/185091
Requires: https://code.launchpad.net/~dimitern/juju-core/132-api-uniter-last-fixes/+merge/185090
(do not edit description out of merge proposal)
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+612 lines, -297 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/api/params/apierror.go
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/common/errors.go
|
View
|
1
2
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/common/errors_test.go
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/uniter/uniter.go
|
View
|
1
2
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/uniter/uniter_test.go
|
View
|
1
2
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/charm/charm.go
|
View
|
|
5 chunks |
+16 lines, -8 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/charm/charm_test.go
|
View
|
|
6 chunks |
+31 lines, -8 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/context.go
|
View
|
1
2
|
8 chunks |
+33 lines, -13 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/context_test.go
|
View
|
1
2
|
18 chunks |
+130 lines, -47 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/filter.go
|
View
|
|
16 chunks |
+74 lines, -37 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/filter_test.go
|
View
|
1
2
|
21 chunks |
+62 lines, -30 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/jujuc/context.go
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/jujuc/relation-get.go
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
worker/apiuniter/jujuc/relation-get_test.go
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/jujuc/relation-set_test.go
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/jujuc/util_test.go
|
View
|
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/modes.go
|
View
|
|
7 chunks |
+23 lines, -26 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/relationer.go
|
View
|
|
6 chunks |
+14 lines, -11 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/relationer_test.go
|
View
|
|
10 chunks |
+63 lines, -19 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/uniter.go
|
View
|
1
2
|
14 chunks |
+48 lines, -47 lines |
0 comments
|
Download
|
 |
M |
worker/apiuniter/uniter_test.go
|
View
|
1
2
|
17 chunks |
+63 lines, -28 lines |
0 comments
|
Download
|
Total messages: 4
|