Merge lp://staging/~aramh/juju-core/121-state-machiner-watchers-machine-principals7 into lp://staging/~juju/juju-core/trunk
Status: | Work in progress |
---|---|
Proposed branch: | lp://staging/~aramh/juju-core/121-state-machiner-watchers-machine-principals7 |
Merge into: | lp://staging/~juju/juju-core/trunk |
Prerequisite: | lp://staging/~aramh/juju-core/120-firewaller-new-watcher-units7 |
Diff against target: |
764 lines (+278/-256) 7 files modified
cmd/jujud/machine.go (+1/-1) state/machine_test.go (+92/-100) state/unit.go (+1/-1) state/watcher.go (+132/-140) worker/machiner/export_test.go (+2/-2) worker/machiner/machiner.go (+31/-10) worker/machiner/machiner_test.go (+19/-2) |
To merge this branch: | bzr merge lp://staging/~aramh/juju-core/121-state-machiner-watchers-machine-principals7 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
The Go Language Gophers | Pending | ||
Review via email: mp+133504@code.staging.launchpad.net |
Description of the change
state, machiner: new style principal units watcher
Convert the machine principal units watcher to the new, id only model
and refactor the machiner to make use of it.
Unmerged revisions
- 727. By Aram Hăvărneanu
-
machiner: add lifecycle tests to machiner
- 726. By Aram Hăvărneanu
-
machiner: make sure we don't redeploy units when they change lifecycle
- 725. By Aram Hăvărneanu
-
state: more principal units watcher tests to original position
- 724. By Aram Hăvărneanu
-
machiner: use new style Unit.AssignedMa
chineId instead of Unit.IsAssigned To(*state. Machine) - 723. By Aram Hăvărneanu
-
firewaller: change NewMachiner signature so that state.State is the first argument
- 722. By Aram Hăvărneanu
-
all: merge lp:~aramh/juju-core/120-firewaller-new-watcher-units7
- 721. By Aram Hăvărneanu
-
machiner: convert to new style principal units watcher
- 720. By Aram Hăvărneanu
-
machiner: change NewMachiner signature to take a *state.State
- 719. By Aram Hăvărneanu
-
state: convert MachinePrincipa
lUnitsWatcher to a new style watcher - 718. By Aram Hăvărneanu
-
state: update machine principal units watcher table driven tests to new watcher model
Reviewers: mp+133504_ code.launchpad. net,
Message:
Please take a look.
Description:
state, machiner: new style principal units watcher
Convert the machine principal units watcher to the new, id only model
and refactor the machiner to make use of it.
https:/ /code.launchpad .net/~aramh/ juju-core/ 121-state- machiner- watchers- machine- principals7/ +merge/ 133504
Requires: /code.launchpad .net/~aramh/ juju-core/ 120-firewaller- new-watcher- units7/ +merge/ 133269
https:/
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/6814108/
Affected files: machine. go test.go machiner/ export_ test.go machiner/ machiner. go machiner/ machiner_ test.go
A [revision details]
M cmd/jujud/
M state/machine_
M state/unit.go
M state/watcher.go
M worker/
M worker/
M worker/