oslo.messaging/oslo_messaging/rpc
ChangBo Guo(gcb) 8cbca30afd Move decorator updated_kwarg_default_value to right place
debtcollector's decorator updated_kwarg_default_value is used to indicate
default value will be changed in future version. We introduced parameter
access_policy and add itfor constructor method of RPCDispatcher in
d3a8f280eb. Other services usually call
get_rpc_server method instead of calling constructor method of
RPCDispatcher. get_rpc_server method constructs RPCDispatcher instance
in [1], then FutureWarning will be generated even we set parameter
access_policy explicitly. Need move the decorator updated_kwarg_default_value
to method get_rec_server to avoid the case.

Closes-Bug: #1661572

[1] f1efaf1b6e/oslo_messaging/rpc/server.py (L200).

Change-Id: I3214045856d0bbd05a0000eeafb769e4697cd34c
2017-03-07 03:39:30 +00:00
..
__init__.py Allow dispatcher to restrict endpoint methods. 2016-08-30 20:32:35 -04:00
client.py Replace six.iteritems() with .items() 2016-11-23 09:02:14 +00:00
dispatcher.py Move decorator updated_kwarg_default_value to right place 2017-03-07 03:39:30 +00:00
server.py Move decorator updated_kwarg_default_value to right place 2017-03-07 03:39:30 +00:00