Descriptionstate/apiserver: StringsWatcher common impl.
Replaced srvLifecycleWatcher with srvStringsWatcher.
This will be the server-side implementation for any
watcher that returns a list of strings, like the
LifecycleWatcher, MinUnitsWatcher, UnitsWatcher, or
MachineUnitsWatcher.
At client side of the API there will be a single
StringsWatcher implementation of all these watchers,
thus greatly reducing code duplication (as in state).
Also, CleanupWatcher was made conformant with NotifyWatcher,
since it's the same interface. Workers were updated to
reflect the changes to the interface and a new api/interface.go
was introduced to keep the watcher's interfaces there.
https://code.launchpad.net/~dimitern/juju-core/066-apiserver-stringswatcher/+merge/173896
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 2
Patch Set 2 : state/apiserver: StringsWatcher common impl. #
Total comments: 2
Patch Set 3 : state/apiserver: StringsWatcher common impl. #
MessagesTotal messages: 8
|