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

Issue 9847044: state/api: Introducing bulk operations on units (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by dimitern
Modified:
10 years, 11 months ago
Reviewers:
mp+166195, jameinel, fwereade
Visibility:
Public.

Description

state/api: Introducing bulk operations on units Proof-of-concept implementation of bulk server-side API operations for units. The idea is not to change the client-side interface, but replace the server-side implementation to assume bulk operations by default. Still WIP - for discussion. https://code.launchpad.net/~dimitern/juju-core/050-api-bulk-ops-units/+merge/166195 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -1 line) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M state/api/params/params.go View 1 chunk +10 lines, -0 lines 0 comments Download
M state/api/unit.go View 1 chunk +10 lines, -1 line 0 comments Download
M state/apiserver/root.go View 3 chunks +16 lines, -0 lines 0 comments Download
A state/apiserver/units.go View 1 chunk +26 lines, -0 lines 1 comment Download
M state/apiserver/utils.go View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 4
dimitern
Please take a look.
10 years, 11 months ago (2013-05-29 08:49:28 UTC) #1
fwereade
Looks ideal in general. Just a few thoughts: 1) we need direct tests for the ...
10 years, 11 months ago (2013-05-29 09:23:21 UTC) #2
jameinel
https://codereview.appspot.com/9847044/diff/1/state/apiserver/units.go File state/apiserver/units.go (right): https://codereview.appspot.com/9847044/diff/1/state/apiserver/units.go#newcode23 state/apiserver/units.go:23: result.Units[name] = stateUnitToParams(unit) I'm fine with William's comment that ...
10 years, 11 months ago (2013-05-29 10:27:46 UTC) #3
dimitern
10 years, 11 months ago (2013-05-31 06:55:47 UTC) #4
I'm closing this and will propose another branch with the agreed upon
implementation.
Sign in to reply to this message.

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