Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2891)

Issue 12198044: worker: Introducing StringsWorker (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by dimitern
Modified:
10 years, 9 months ago
Reviewers:
mue, mp+178032, rog
Visibility:
Public.

Description

worker: Introducing StringsWorker Implemented StringsWorker after the model of NotifyWorker - waiting for changes from api.StringsWatcher and calling the handler. It was necessary to do some refactoring to NotifyWorker and tests to avoid duplication. Also improved tests. https://code.launchpad.net/~dimitern/juju-core/084-stringsworker/+merge/178032 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 41

Patch Set 2 : worker: Introducing StringsWorker #

Patch Set 3 : worker: Introducing StringsWorker #

Patch Set 4 : worker: Introducing StringsWorker #

Total comments: 2

Patch Set 5 : worker: Introducing StringsWorker #

Unified diffs Side-by-side diffs Delta from patch set Stats (+589 lines, -203 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M worker/cleaner/cleaner.go View 1 2 chunks +2 lines, -8 lines 0 comments Download
M worker/cleaner/cleaner_test.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M worker/export_test.go View 1 1 chunk +9 lines, -3 lines 0 comments Download
M worker/machiner/machiner.go View 1 2 3 4 2 chunks +2 lines, -8 lines 0 comments Download
M worker/machiner/machiner_test.go View 1 3 chunks +5 lines, -5 lines 0 comments Download
M worker/notifyworker.go View 1 2 3 4 3 chunks +34 lines, -64 lines 0 comments Download
M worker/notifyworker_test.go View 1 2 3 15 chunks +106 lines, -113 lines 0 comments Download
A worker/stringsworker.go View 1 2 1 chunk +93 lines, -0 lines 0 comments Download
A worker/stringsworker_test.go View 1 2 3 1 chunk +334 lines, -0 lines 0 comments Download

Messages

Total messages: 9
dimitern
Please take a look.
10 years, 9 months ago (2013-08-01 10:22:32 UTC) #1
mue
LGTM, nice, only minor comments. https://codereview.appspot.com/12198044/diff/1/worker/interface.go File worker/interface.go (right): https://codereview.appspot.com/12198044/diff/1/worker/interface.go#newcode11 worker/interface.go:11: // Wait for the ...
10 years, 9 months ago (2013-08-01 10:35:24 UTC) #2
rog
Looks good, but I think there are some further simplifications that can be made. See ...
10 years, 9 months ago (2013-08-01 11:18:47 UTC) #3
dimitern
Please take a look. https://codereview.appspot.com/12198044/diff/1/worker/interface.go File worker/interface.go (right): https://codereview.appspot.com/12198044/diff/1/worker/interface.go#newcode10 worker/interface.go:10: type CommonWorker interface { On ...
10 years, 9 months ago (2013-08-01 12:53:54 UTC) #4
dimitern
Please take a look.
10 years, 9 months ago (2013-08-01 12:57:34 UTC) #5
dimitern
Please take a look.
10 years, 9 months ago (2013-08-01 13:04:33 UTC) #6
rog
On 2013/08/01 13:04:33, dimitern wrote: > Please take a look. LGTM, thanks!
10 years, 9 months ago (2013-08-01 13:31:29 UTC) #7
rog
https://codereview.appspot.com/12198044/diff/24001/worker/notifyworker.go File worker/notifyworker.go (right): https://codereview.appspot.com/12198044/diff/24001/worker/notifyworker.go#newcode72 worker/notifyworker.go:72: // propagated tears down the handler, but ensures any ...
10 years, 9 months ago (2013-08-01 13:31:36 UTC) #8
dimitern
10 years, 9 months ago (2013-08-01 14:09:03 UTC) #9
Please take a look.

https://codereview.appspot.com/12198044/diff/24001/worker/notifyworker.go
File worker/notifyworker.go (right):

https://codereview.appspot.com/12198044/diff/24001/worker/notifyworker.go#new...
worker/notifyworker.go:72: // propagated tears down the handler, but ensures any
error is
On 2013/08/01 13:31:36, rog wrote:
> s/propagated/propagateTearDown/

Oops. Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b