Reviewed: https://review.openstack.org/358359 Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=d3a8f280ebd6fd12865fd20c4d772774e39aefa2 Submitter: Jenkins Branch: master
commit d3a8f280ebd6fd12865fd20c4d772774e39aefa2 Author: Paul Vinciguerra <email address hidden> Date: Sun Aug 21 19:46:28 2016 -0400
Allow dispatcher to restrict endpoint methods.
Implements access_policy for dispatcher to restrict endpoint methods.
Implements the following access policies: * LegacyRPCAccessPolicy * DefaultRPCAccessPolicy * ExplicitRPCAccessPolicy
* Implement decorator @rpc.expose for use with the ExplicitRPCAccessPolicy
* Modify get_rpc_server to allow optional access_policy argument * Set default access_policy to LegacyRPCAccessPolicy (Nova exposes _associate_floating_ip in tempest tests). Added debtcollector notification. * Add test cases for access_policy=None * Clarify documentation
Change-Id: I42239e6c8a8be158ddf5c3b1773463b7dc93e881 Closes-Bug: 1194279 Closes-Bug: 1555845
Reviewed: https:/ /review. openstack. org/358359 /git.openstack. org/cgit/ openstack/ oslo.messaging/ commit/ ?id=d3a8f280ebd 6fd12865fd20c4d 772774e39aefa2
Committed: https:/
Submitter: Jenkins
Branch: master
commit d3a8f280ebd6fd1 2865fd20c4d7727 74e39aefa2
Author: Paul Vinciguerra <email address hidden>
Date: Sun Aug 21 19:46:28 2016 -0400
Allow dispatcher to restrict endpoint methods.
Implements access_policy for dispatcher to restrict endpoint methods.
Implements the following access policies: Policy sPolicy ssPolicy
* LegacyRPCAccess
* DefaultRPCAcces
* ExplicitRPCAcce
* Implement decorator @rpc.expose for use with the CAccessPolicy
ExplicitRP
* Modify get_rpc_server to allow optional access_policy argument Policy (Nova exposes _floating_ ip in tempest tests). Added debtcollector
* Set default access_policy to LegacyRPCAccess
_associate
notification.
* Add test cases for access_policy=None
* Clarify documentation
Change-Id: I42239e6c8a8be1 58ddf5c3b177346 3b7dc93e881
Closes-Bug: 1194279
Closes-Bug: 1555845