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

Issue 7600044: Add SetServiceConstraints to API

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

Description

Add SetServiceConstraints to API This also involved moving the Constraints struct into its own package in order to break an import cycle. https://code.launchpad.net/~benji/juju-core/1130172/+merge/153931 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 15

Patch Set 2 : Add SetConstraints to API #

Patch Set 3 : Add SetConstraints to API #

Total comments: 12

Patch Set 4 : Add SetServiceConstraints to API #

Patch Set 5 : Add SetServiceConstraints to API #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -242 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/bootstrap.go View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M cmd/juju/bootstrap_test.go View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M cmd/juju/constraints.go View 1 2 3 6 chunks +11 lines, -8 lines 0 comments Download
M cmd/juju/constraints_test.go View 7 chunks +8 lines, -8 lines 0 comments Download
M cmd/juju/ssh_test.go View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M cmd/juju/status_test.go View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M cmd/jujud/bootstrap.go View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M cmd/jujud/bootstrap_test.go View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M constraints/constraints.go View 1 2 3 11 chunks +49 lines, -105 lines 0 comments Download
M constraints/constraints_test.go View 1 2 3 7 chunks +10 lines, -10 lines 0 comments Download
M environs/bootstrap.go View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M environs/bootstrap_test.go View 1 2 3 5 chunks +8 lines, -8 lines 0 comments Download
M environs/cloudinit/cloudinit.go View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M environs/cloudinit/cloudinit_test.go View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M environs/dummy/environs.go View 1 2 3 5 chunks +5 lines, -4 lines 0 comments Download
M environs/ec2/ec2.go View 1 2 3 4 chunks +4 lines, -3 lines 0 comments Download
M environs/ec2/image.go View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M environs/ec2/image_test.go View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M environs/ec2/instancetype.go View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M environs/ec2/instancetype_test.go View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download
M environs/ec2/live_test.go View 1 2 3 6 chunks +7 lines, -6 lines 0 comments Download
M environs/ec2/local_test.go View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M environs/interface.go View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M environs/jujutest/livetests.go View 1 2 3 9 chunks +10 lines, -9 lines 0 comments Download
M environs/jujutest/tests.go View 1 2 3 5 chunks +9 lines, -8 lines 0 comments Download
M environs/open_test.go View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M environs/openstack/local_test.go View 1 2 3 6 chunks +8 lines, -7 lines 0 comments Download
M environs/openstack/provider.go View 1 2 3 4 chunks +4 lines, -3 lines 0 comments Download
M juju/apiconn_test.go View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M juju/conn_test.go View 1 2 3 7 chunks +7 lines, -6 lines 0 comments Download
M juju/testing/conn.go View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M state/api/apiclient.go View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M state/api/params/params.go View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M state/apiserver/api_test.go View 1 2 3 3 chunks +17 lines, -0 lines 0 comments Download
M state/apiserver/apiserver.go View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A state/constraints.go View 1 chunk +62 lines, -0 lines 0 comments Download
M state/open.go View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M state/service.go View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M state/service_test.go View 1 2 3 2 chunks +8 lines, -3 lines 0 comments Download
M state/state.go View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M state/state_test.go View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
A state/statecmd/setconstraints.go View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M worker/firewaller/firewaller_test.go View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M worker/provisioner/provisioner.go View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 10
benji
Please take a look.
11 years, 1 month ago (2013-03-18 20:50:20 UTC) #1
dave_cheney.net
Please make sure you sync up with fwereade, otherwise you'll have massive merge conflicts. https://codereview.appspot.com/7600044/diff/1/constraints/constraints.go ...
11 years, 1 month ago (2013-03-18 23:54:42 UTC) #2
bac
A few minor things to fix. It looks ok to me but I'm not going ...
11 years, 1 month ago (2013-03-19 00:20:11 UTC) #3
dimitern
LGTM, minus some trivials,. https://codereview.appspot.com/7600044/diff/1/state/api/params/params.go File state/api/params/params.go (right): https://codereview.appspot.com/7600044/diff/1/state/api/params/params.go#newcode139 state/api/params/params.go:139: // SetConstraints stores parameters for ...
11 years, 1 month ago (2013-03-19 09:34:53 UTC) #4
benji
I have fixed the issues pointed out in reviews and will re-propose. https://codereview.appspot.com/7600044/diff/1/constraints/constraints.go File constraints/constraints.go ...
11 years, 1 month ago (2013-03-19 18:55:56 UTC) #5
benji
Please take a look.
11 years, 1 month ago (2013-03-19 18:56:19 UTC) #6
dimitern
LGTM https://codereview.appspot.com/7600044/diff/15001/constraints/constraints.go File constraints/constraints.go (right): https://codereview.appspot.com/7600044/diff/15001/constraints/constraints.go#newcode34 constraints/constraints.go:34: // String expresses a constraints.Value in the language ...
11 years, 1 month ago (2013-03-20 08:39:49 UTC) #7
fwereade
Not clear on the plan for handling environment constraints; couple of other comments below. https://codereview.appspot.com/7600044/diff/15001/cmd/juju/constraints.go ...
11 years, 1 month ago (2013-03-20 13:19:05 UTC) #8
benji
All of the latest round of review changes have been made. I will be submitting ...
11 years, 1 month ago (2013-03-20 16:44:59 UTC) #9
benji
11 years, 1 month ago (2013-03-20 20:06:00 UTC) #10
*** Submitted:

Add SetServiceConstraints to API

This also involved moving the Constraints struct into its own package in order
to break an import cycle.

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

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