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

Issue 5554047: Complete Service without watches and Charm. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 4 months ago by TheMue
Modified:
14 years, 4 months ago
Reviewers:
mp+89012
Visibility:
Public.

Description

Complete the Service state without watches and Charm (only a mock as a first step). State also can add and remove services. Migration of YAMLState to new type ConfigNode for key/value data in ZooKeeper nodes. https://code.launchpad.net/~themue/juju/go-state-service-wo-watches/+merge/89012 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 93

Patch Set 2 : Complete Service without watches and Charm. #

Total comments: 18

Patch Set 3 : Complete Service without watches and Charm. #

Patch Set 4 : Complete Service without watches and Charm. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1146 lines, -223 lines) Patch
A state/charm.go View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A state/internal_test.go View 1 2 1 chunk +488 lines, -0 lines 0 comments Download
M state/service.go View 1 2 7 chunks +88 lines, -22 lines 0 comments Download
M state/state.go View 1 2 2 chunks +107 lines, -8 lines 0 comments Download
M state/state_test.go View 1 2 4 chunks +162 lines, -134 lines 0 comments Download
M state/topology.go View 1 2 10 chunks +72 lines, -27 lines 0 comments Download
M state/unit.go View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M state/util.go View 1 2 2 chunks +190 lines, -28 lines 0 comments Download

Messages

Total messages: 13
TheMue
Please take a look.
14 years, 4 months ago (2012-01-18 11:30:55 UTC) #1
niemeyer
Looking good. Besides the comments that follow, there are two top level problems we have ...
14 years, 4 months ago (2012-01-18 13:29:18 UTC) #2
rog
a few minor extra comments https://codereview.appspot.com/5554047/diff/1/state/service.go File state/service.go (right): https://codereview.appspot.com/5554047/diff/1/state/service.go#newcode198 state/service.go:198: func (s *Service) IsExposed() ...
14 years, 4 months ago (2012-01-18 14:44:07 UTC) #3
niemeyer
https://codereview.appspot.com/5554047/diff/1/state/service.go File state/service.go (right): https://codereview.appspot.com/5554047/diff/1/state/service.go#newcode198 state/service.go:198: func (s *Service) IsExposed() (bool, error) { On 2012/01/18 ...
14 years, 4 months ago (2012-01-18 15:47:02 UTC) #4
rog
On 18 January 2012 15:47, <n13m3y3r@gmail.com> wrote: > > https://codereview.appspot.com/5554047/diff/1/state/service.go > File state/service.go (right): > ...
14 years, 4 months ago (2012-01-18 16:14:13 UTC) #5
TheMue
Please take a look.
14 years, 4 months ago (2012-01-28 19:53:02 UTC) #6
TheMue
Please take a look. https://codereview.appspot.com/5554047/diff/1/state/charm.go File state/charm.go (right): https://codereview.appspot.com/5554047/diff/1/state/charm.go#newcode20 state/charm.go:20: return c.url.String() On 2012/01/18 13:29:18, ...
14 years, 4 months ago (2012-01-30 14:02:16 UTC) #7
niemeyer
LGTM, assuming the following minor details are fixed. Thanks for the great work, Frank. https://codereview.appspot.com/5554047/diff/6001/state/internal_test.go ...
14 years, 4 months ago (2012-01-30 14:39:53 UTC) #8
fwereade
Can't see any actual problems, so I made some nitpicky spelling/grammar comments ;). https://codereview.appspot.com/5554047/diff/6001/state/internal_test.go File ...
14 years, 4 months ago (2012-01-30 15:55:55 UTC) #9
TheMue
Please take a look.
14 years, 4 months ago (2012-01-30 19:34:41 UTC) #10
TheMue
https://codereview.appspot.com/5554047/diff/6001/state/internal_test.go File state/internal_test.go (right): https://codereview.appspot.com/5554047/diff/6001/state/internal_test.go#newcode74 state/internal_test.go:74: // Check that adding services works correctly. On 2012/01/30 ...
14 years, 4 months ago (2012-01-30 19:34:59 UTC) #11
niemeyer
LGTM
14 years, 4 months ago (2012-01-30 19:47:31 UTC) #12
TheMue
14 years, 4 months ago (2012-01-30 19:50:35 UTC) #13
*** Submitted:

Complete Service without watches and Charm.

Complete the Service state without watches and Charm (only
a mock as a first step). State also can add and remove
services. Migration of YAMLState to new type ConfigNode
for key/value data in ZooKeeper nodes.

R=niemeyer, rog, fwereade
CC=
https://codereview.appspot.com/5554047
Sign in to reply to this message.

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