Merge lp://staging/~dimitern/juju-core/050-api-bulk-ops-units-2 into lp://staging/~juju/juju-core/trunk
Proposed by
Dimiter Naydenov
Status: | Rejected |
---|---|
Rejected by: | Dimiter Naydenov |
Proposed branch: | lp://staging/~dimitern/juju-core/050-api-bulk-ops-units-2 |
Merge into: | lp://staging/~juju/juju-core/trunk |
Diff against target: |
700 lines (+408/-61) 14 files modified
state/api/params/params.go (+56/-0) state/api/unit.go (+33/-4) state/apiserver/api_test.go (+2/-3) state/apiserver/apierror.go (+12/-0) state/apiserver/apiserver.go (+3/-1) state/apiserver/export_test.go (+16/-0) state/apiserver/internal_test.go (+160/-0) state/apiserver/login_test.go (+22/-1) state/apiserver/perm_test.go (+2/-1) state/apiserver/root.go (+25/-10) state/apiserver/unit.go (+0/-41) state/apiserver/unit_test.go (+13/-0) state/apiserver/units.go (+53/-0) state/apiserver/utils.go (+11/-0) |
To merge this branch: | bzr merge lp://staging/~dimitern/juju-core/050-api-bulk-ops-units-2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+166766@code.staging.launchpad.net |
Description of the change
state/api: Bulk unit operations; internal tests
This introduces srvUnits as an entry point for
bulk API operations on units, as agreed.
srvUnit is removed and the client-side API was
refactored to use the bulk operations instead.
Also added much needed internal API server tests.
To post a comment you must log in.
Reviewers: mp+166766_ code.launchpad. net,
Message:
Please take a look.
Description:
state/api: Bulk unit operations; internal tests
This introduces srvUnits as an entry point for
bulk API operations on units, as agreed.
srvUnit is removed and the client-side API was
refactored to use the bulk operations instead.
Also added much needed internal API server tests.
https:/ /code.launchpad .net/~dimitern/ juju-core/ 050-api- bulk-ops- units-2/ +merge/ 166766
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/9797046/
Affected files: params/ params. go /api_test. go /apierror. go /apiserver. go /export_ test.go /internal_ test.go /login_ test.go /perm_test. go /root.go /unit.go /unit_test. go /units. go /utils. go
A [revision details]
M state/api/
M state/api/unit.go
M state/apiserver
M state/apiserver
M state/apiserver
M state/apiserver
A state/apiserver
M state/apiserver
M state/apiserver
M state/apiserver
D state/apiserver
M state/apiserver
A state/apiserver
M state/apiserver