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

Issue 7610046: Add destroy-relation to API.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by bac
Modified:
11 years, 1 month ago
Reviewers:
dimitern, dave, mp+153548
Visibility:
Public.

Description

Add destroy-relation to API. https://code.launchpad.net/~bac/juju-core/remove-relation/+merge/153548 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Add destroy-relation to API. #

Total comments: 28

Patch Set 3 : Add destroy-relation to API. #

Total comments: 4

Patch Set 4 : Add destroy-relation to API. #

Total comments: 7

Patch Set 5 : Add destroy-relation to API. #

Patch Set 6 : Add destroy-relation to API. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -22 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/destroyrelation.go View 1 2 3 4 3 chunks +7 lines, -13 lines 0 comments Download
M state/api/apiclient.go View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M state/api/params/params.go View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M state/apiserver/api_test.go View 1 2 3 11 chunks +40 lines, -9 lines 0 comments Download
M state/apiserver/apiserver.go View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
A state/statecmd/destroyrelation.go View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
A state/statecmd/destroyrelation_test.go View 1 2 3 4 1 chunk +116 lines, -0 lines 0 comments Download

Messages

Total messages: 16
bac
Please take a look.
11 years, 1 month ago (2013-03-15 17:42:36 UTC) #1
dimitern
I like it in general, but I think in can be improved a bit more: ...
11 years, 1 month ago (2013-03-15 18:02:32 UTC) #2
bac
Thanks for the review Dimiter. I have addressed your concerns but argue against changing the ...
11 years, 1 month ago (2013-03-15 19:58:54 UTC) #3
bac
Please take a look.
11 years, 1 month ago (2013-03-15 20:19:42 UTC) #4
fwereade
On 2013/03/15 20:19:42, bac wrote: > Please take a look. I think we need a ...
11 years, 1 month ago (2013-03-15 23:40:49 UTC) #5
fwereade
Blast, thought I pressed "m" above. Sorry. https://codereview.appspot.com/7610046/diff/1001/state/api/params/params.go File state/api/params/params.go (right): https://codereview.appspot.com/7610046/diff/1001/state/api/params/params.go#newcode12 state/api/params/params.go:12: Endpoint0 string ...
11 years, 1 month ago (2013-03-15 23:41:15 UTC) #6
dave_cheney.net
https://codereview.appspot.com/7610046/diff/12001/state/api/apiserver.go.THIS File state/api/apiserver.go.THIS (left): https://codereview.appspot.com/7610046/diff/12001/state/api/apiserver.go.THIS#oldcode1 state/api/apiserver.go.THIS:1: package api Is this an accident, how did this ...
11 years, 1 month ago (2013-03-18 05:54:56 UTC) #7
bac
Thanks for the excellent suggestions. Will re-propose shortly. https://codereview.appspot.com/7610046/diff/1001/state/api/params/params.go File state/api/params/params.go (right): https://codereview.appspot.com/7610046/diff/1001/state/api/params/params.go#newcode12 state/api/params/params.go:12: Endpoint0 ...
11 years, 1 month ago (2013-03-18 15:25:17 UTC) #8
bac
Please take a look.
11 years, 1 month ago (2013-03-18 16:57:29 UTC) #9
dave_cheney.net
LGTM with one minor request. https://codereview.appspot.com/7610046/diff/20001/state/statecmd/destroyrelation_test.go File state/statecmd/destroyrelation_test.go (right): https://codereview.appspot.com/7610046/diff/20001/state/statecmd/destroyrelation_test.go#newcode35 state/statecmd/destroyrelation_test.go:35: Endpoints: []string{"riak", "wordpress"}, I ...
11 years, 1 month ago (2013-03-19 00:35:27 UTC) #10
dimitern
Thanks, this is better - LGTM. https://codereview.appspot.com/7610046/diff/20001/state/statecmd/destroyrelation_test.go File state/statecmd/destroyrelation_test.go (right): https://codereview.appspot.com/7610046/diff/20001/state/statecmd/destroyrelation_test.go#newcode17 state/statecmd/destroyrelation_test.go:17: func (s *DestroyRelationSuite) ...
11 years, 1 month ago (2013-03-19 09:44:24 UTC) #11
bac
Thanks for the reviews. Please have another look at what I've done wrt the number ...
11 years, 1 month ago (2013-03-19 13:31:21 UTC) #12
dimitern
Thanks! https://codereview.appspot.com/7610046/diff/20001/state/statecmd/destroyrelation_test.go File state/statecmd/destroyrelation_test.go (right): https://codereview.appspot.com/7610046/diff/20001/state/statecmd/destroyrelation_test.go#newcode17 state/statecmd/destroyrelation_test.go:17: func (s *DestroyRelationSuite) _setUpDestroyRelationScenario(c *C) { On 2013/03/19 ...
11 years, 1 month ago (2013-03-19 13:36:54 UTC) #13
bac
Please take a look.
11 years, 1 month ago (2013-03-19 13:52:04 UTC) #14
dimitern
LGTM
11 years, 1 month ago (2013-03-19 14:03:01 UTC) #15
bac
11 years, 1 month ago (2013-03-19 14:06:58 UTC) #16
*** Submitted:

Add destroy-relation to API.

R=dimitern, fwereade, dfc
CC=
https://codereview.appspot.com/7610046
Sign in to reply to this message.

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