Merge "Use new get_rpc_client API from oslo.messaging"
This commit is contained in:
commit
ccac6df9a4
@ -96,10 +96,9 @@ class RequestContextSerializer(messaging.Serializer):
|
||||
def get_client(target, version_cap=None, serializer=None):
|
||||
assert TRANSPORT is not None
|
||||
serializer = RequestContextSerializer(serializer)
|
||||
return messaging.RPCClient(TRANSPORT,
|
||||
target,
|
||||
version_cap=version_cap,
|
||||
serializer=serializer)
|
||||
return messaging.get_rpc_client(
|
||||
TRANSPORT, target, version_cap=version_cap,
|
||||
serializer=serializer)
|
||||
|
||||
|
||||
def get_server(target, endpoints, serializer=None):
|
||||
|
@ -10,7 +10,7 @@ oslo.i18n>=1.5.0 # Apache-2.0
|
||||
oslo.config>=1.1.0,!=4.3.0,!=4.4.0 # Apache-2.0
|
||||
oslo.log>=5.0.0 # Apache-2.0
|
||||
oslo.context>=2.9.0 # Apache-2.0
|
||||
oslo.messaging>=10.3.0 # Apache-2.0
|
||||
oslo.messaging>=14.1.0 # Apache-2.0
|
||||
oslo.concurrency>=3.26.0 # Apache-2.0
|
||||
oslo.service>=1.0.0,!=1.28.1 # Apache-2.0
|
||||
oslo.db>=10.0.0 # Apache-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user