Merge lp:~wallyworld/juju-core/machiner-access-for-uniter into lp:~go-bot/juju-core/trunk
Proposed by
Ian Booth
Status: | Rejected |
---|---|
Rejected by: | William Reade |
Proposed branch: | lp:~wallyworld/juju-core/machiner-access-for-uniter |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
345 lines (+245/-21) 5 files modified
state/apiserver/common/auth.go (+38/-0) state/apiserver/machine/common_test.go (+7/-7) state/apiserver/machine/machiner.go (+2/-4) state/apiserver/machine/machiner_test.go (+10/-10) state/apiserver/machine/uniter_test.go (+188/-0) |
To merge this branch: | bzr merge lp:~wallyworld/juju-core/machiner-access-for-uniter |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+205290@code.launchpad.net |
Description of the change
Allow assigned units read access to machines
This branch allows unit agents to use the machiner
API to get a machine object for their assigned
machine. The server side api looks up the machine
life and the necessary auth function is modified
to allow assigned units as well as the machine
owner.
The implementation is done as a helper function
because a downstream branch also uses it. This
work will be used by the unit agent upgrade worker.
To post a comment you must log in.
Reviewers: mp+205290_ code.launchpad. net,
Message:
Please take a look.
Description:
Allow assigned units read access to machines
This branch allows unit agents to use the machiner
API to get a machine object for their assigned
machine. The server side api looks up the machine
life and the necessary auth function is modified
to allow assigned units as well as the machine
owner.
The implementation is done as a helper function
because a downstream branch also uses it. This
work will be used by the unit agent upgrade worker.
https:/ /code.launchpad .net/~wallyworl d/juju- core/machiner- access- for-uniter/ +merge/ 205290
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/60920043/
Affected files (+224, -21 lines): /common/ auth.go /machine/ common_ test.go /machine/ machiner. go /machine/ machiner_ test.go
A [revision details]
A state/apiserver
M state/apiserver
M state/apiserver
M state/apiserver