|
reworked ClientContext to HookContext
HookContext now offers facilities sufficient to implement relation-get,
relation-set, relation-ids, and relation-list. Expect followups
implementing those shortly; for now, sigh, and observe the annoyingly
large amount of test changes that support what STM to be a worthwhile
simplification of the hook context as a whole.
https://code.launchpad.net/~fwereade/juju-core/jujuc-server-unit-context/+merge/117253
Requires: https://code.launchpad.net/~fwereade/juju-core/jujuc-server-relation-context/+merge/117202
(do not edit description out of merge proposal)
Total comments: 8
Total comments: 15
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+340 lines, -220 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cmd/jujuc/server/config-get.go
|
View
|
1
2
|
2 chunks |
+4 lines, -15 lines |
0 comments
|
Download
|
 |
M |
cmd/jujuc/server/config-get_test.go
|
View
|
1
2
|
5 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cmd/jujuc/server/context.go
|
View
|
1
2
|
5 chunks |
+69 lines, -39 lines |
0 comments
|
Download
|
 |
M |
cmd/jujuc/server/context_test.go
|
View
|
1
2
|
5 chunks |
+150 lines, -55 lines |
0 comments
|
Download
|
 |
M |
cmd/jujuc/server/juju-log.go
|
View
|
1
|
2 chunks |
+9 lines, -14 lines |
0 comments
|
Download
|
 |
M |
cmd/jujuc/server/juju-log_test.go
|
View
|
1
|
3 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cmd/jujuc/server/ports.go
|
View
|
1
|
5 chunks |
+15 lines, -22 lines |
0 comments
|
Download
|
 |
M |
cmd/jujuc/server/ports_test.go
|
View
|
1
|
5 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cmd/jujuc/server/unit-get.go
|
View
|
1
2
|
2 chunks |
+5 lines, -14 lines |
0 comments
|
Download
|
 |
M |
cmd/jujuc/server/unit-get_test.go
|
View
|
1
2
|
5 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cmd/jujuc/server/util_test.go
|
View
|
1
2
|
2 chunks |
+47 lines, -23 lines |
0 comments
|
Download
|
Total messages: 5
|