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

Issue 6200044: Added relations to topology. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by TheMue
Modified:
11 years, 11 months ago
Reviewers:
mp+104765, fwereade, niemeyer
Visibility:
Public.

Description

Added relations to topology. The topology now supports relations. The methods handling endpoints are not yet implemented. https://code.launchpad.net/~themue/juju/go-state-topology-relations-without-endpoints/+merge/104765 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Added relations to topology. #

Total comments: 32

Patch Set 3 : Added relations to topology. #

Total comments: 15

Patch Set 4 : Added relations to topology. #

Patch Set 5 : Added relations to topology. #

Total comments: 2

Patch Set 6 : Added relations to topology. #

Total comments: 27

Patch Set 7 : Added relations to topology. #

Total comments: 4

Patch Set 8 : Added relations to topology. #

Total comments: 31

Patch Set 9 : Added relations to topology. #

Patch Set 10 : Added relations to topology. #

Total comments: 2

Patch Set 11 : Added relations to topology. #

Patch Set 12 : Added relations to topology. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+351 lines, -5 lines) Patch
A [revision details] View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M state/internal_test.go View 1 2 3 4 5 6 7 8 9 1 chunk +179 lines, -0 lines 0 comments Download
A state/relation.go View 1 2 3 4 5 6 7 8 9 10 1 chunk +43 lines, -0 lines 0 comments Download
M state/topology.go View 1 2 3 4 5 6 7 8 9 10 7 chunks +127 lines, -5 lines 0 comments Download

Messages

Total messages: 21
TheMue
Please take a look.
12 years ago (2012-05-04 15:34:58 UTC) #1
TheMue
Please take a look.
11 years, 12 months ago (2012-05-08 19:24:29 UTC) #2
fwereade
These are just preliminary thoughts, really; let me know what you think. https://codereview.appspot.com/6200044/diff/3001/state/relation.go File state/relation.go ...
11 years, 12 months ago (2012-05-09 00:44:29 UTC) #3
fwereade
Just another note, sorry I missed it before. https://codereview.appspot.com/6200044/diff/3001/state/relation.go File state/relation.go (right): https://codereview.appspot.com/6200044/diff/3001/state/relation.go#newcode28 state/relation.go:28: RelationName ...
11 years, 12 months ago (2012-05-09 18:19:55 UTC) #4
TheMue
Please take a look. https://codereview.appspot.com/6200044/diff/3001/state/relation.go File state/relation.go (right): https://codereview.appspot.com/6200044/diff/3001/state/relation.go#newcode26 state/relation.go:26: ServiceName string `yaml:"service_name"` On 2012/05/09 ...
11 years, 12 months ago (2012-05-09 23:26:55 UTC) #5
fwereade
https://codereview.appspot.com/6200044/diff/10001/state/relation.go File state/relation.go (right): https://codereview.appspot.com/6200044/diff/10001/state/relation.go#newcode27 state/relation.go:27: RelationType string `yaml:"relation-type"` Given that endpointInfo uses Interface rather ...
11 years, 12 months ago (2012-05-10 00:19:30 UTC) #6
TheMue
Please take a look. https://codereview.appspot.com/6200044/diff/10001/state/relation.go File state/relation.go (right): https://codereview.appspot.com/6200044/diff/10001/state/relation.go#newcode27 state/relation.go:27: RelationType string `yaml:"relation-type"` On 2012/05/10 ...
11 years, 11 months ago (2012-05-11 17:15:21 UTC) #7
TheMue
Please take a look. https://codereview.appspot.com/6200044/diff/10001/state/topology.go File state/topology.go (right): https://codereview.appspot.com/6200044/diff/10001/state/topology.go#newcode350 state/topology.go:350: // the given type. On ...
11 years, 11 months ago (2012-05-11 19:02:53 UTC) #8
fwereade
LGTM https://codereview.appspot.com/6200044/diff/14001/state/topology.go File state/topology.go (right): https://codereview.appspot.com/6200044/diff/14001/state/topology.go#newcode350 state/topology.go:350: // the server. It will get the given ...
11 years, 11 months ago (2012-05-11 19:18:58 UTC) #9
TheMue
Please take a look. https://codereview.appspot.com/6200044/diff/14001/state/topology.go File state/topology.go (right): https://codereview.appspot.com/6200044/diff/14001/state/topology.go#newcode350 state/topology.go:350: // the server. It will ...
11 years, 11 months ago (2012-05-11 19:42:06 UTC) #10
niemeyer
https://codereview.appspot.com/6200044/diff/3003/state/relation.go File state/relation.go (right): https://codereview.appspot.com/6200044/diff/3003/state/relation.go#newcode10 state/relation.go:10: RoleServer RelationRole = "server" Maybe we should take the ...
11 years, 11 months ago (2012-05-21 19:21:50 UTC) #11
TheMue
Please take a look. https://codereview.appspot.com/6200044/diff/3003/state/relation.go File state/relation.go (right): https://codereview.appspot.com/6200044/diff/3003/state/relation.go#newcode10 state/relation.go:10: RoleServer RelationRole = "server" On ...
11 years, 11 months ago (2012-05-22 16:35:26 UTC) #12
fwereade
LGTM https://codereview.appspot.com/6200044/diff/3003/state/relation.go File state/relation.go (right): https://codereview.appspot.com/6200044/diff/3003/state/relation.go#newcode10 state/relation.go:10: RoleServer RelationRole = "server" On 2012/05/22 16:35:26, TheMue ...
11 years, 11 months ago (2012-05-23 10:28:02 UTC) #13
TheMue
Please take a look. https://codereview.appspot.com/6200044/diff/17002/state/relation.go File state/relation.go (right): https://codereview.appspot.com/6200044/diff/17002/state/relation.go#newcode10 state/relation.go:10: RoleConsumer RelationRole = "consumer" On ...
11 years, 11 months ago (2012-05-23 10:43:03 UTC) #14
niemeyer
Looks close. https://codereview.appspot.com/6200044/diff/21001/state/relation.go File state/relation.go (right): https://codereview.appspot.com/6200044/diff/21001/state/relation.go#newcode31 state/relation.go:31: // CanRelateTo tests whether the "other"`" endpoint ...
11 years, 11 months ago (2012-05-23 22:56:06 UTC) #15
TheMue
Please take a look. https://codereview.appspot.com/6200044/diff/21001/state/relation.go File state/relation.go (right): https://codereview.appspot.com/6200044/diff/21001/state/relation.go#newcode31 state/relation.go:31: // CanRelateTo tests whether the ...
11 years, 11 months ago (2012-05-24 15:17:16 UTC) #16
TheMue
Please take a look.
11 years, 11 months ago (2012-05-24 16:49:31 UTC) #17
niemeyer
LGTM with the following two details sorted. Thanks! https://codereview.appspot.com/6200044/diff/21001/state/relation.go File state/relation.go (right): https://codereview.appspot.com/6200044/diff/21001/state/relation.go#newcode47 state/relation.go:47: return ...
11 years, 11 months ago (2012-05-24 17:47:16 UTC) #18
TheMue
Please take a look. https://codereview.appspot.com/6200044/diff/26002/state/topology.go File state/topology.go (right): https://codereview.appspot.com/6200044/diff/26002/state/topology.go#newcode46 state/topology.go:46: // /topology node in ZooKeeper.s ...
11 years, 11 months ago (2012-05-24 18:57:38 UTC) #19
niemeyer
LGTM
11 years, 11 months ago (2012-05-24 19:09:06 UTC) #20
TheMue
11 years, 11 months ago (2012-05-24 19:16:16 UTC) #21
*** Submitted:

Added relations to topology.

The topology now supports relations. The methods
handling endpoints are not yet implemented.

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

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