oslo.messaging/oslo_messaging
Tobias Urdin 4ead7cb2dc Implement get_rpc_client function
We already expose functions to handle the instantiation
of classes such as RPCServer and RPCTransport but the
same was never done for RPCClient so the API is
inconsistent in its enforcement.

This adds a get_rpc_client function that should be used
instead of instatiating the RPCClient class directly to
be more consistent.

This also allows to handle more logic inside the function
in the future such as if implementations for an async client
is implemented, as investigation in [1] has shown.

[1] https://review.opendev.org/c/openstack/oslo.messaging/+/858936

Change-Id: Ia4d1f0497b9e2728bde02f4ff05fdc175ddffe66
2022-10-25 11:42:40 +00:00
..
_drivers Change default value of "heartbeat_in_pthread" to False 2022-08-16 14:14:29 +00:00
_metrics Add Support For oslo.metrics 2021-06-08 22:22:37 +08:00
hacking Remove six usage 2020-05-11 10:21:58 +02:00
notify [rabbit] use retry parameters during notification sending 2022-01-12 12:22:55 +01:00
rpc Implement get_rpc_client function 2022-10-25 11:42:40 +00:00
tests Implement get_rpc_client function 2022-10-25 11:42:40 +00:00
__init__.py Remove deprecated localcontext 2016-05-18 09:28:15 +02:00
_utils.py rabbit: move stdlib_threading bits into _utils 2021-09-22 14:45:39 -04:00
conffixture.py Add Support For oslo.metrics 2021-06-08 22:22:37 +08:00
dispatcher.py Remove six usage 2020-05-11 10:21:58 +02:00
exceptions.py Add a new option to enforce the OpenSSL FIPS mode 2021-11-08 15:05:30 +01:00
opts.py Add a ping endpoint to RPC dispatcher 2020-08-18 15:09:29 +02:00
serializer.py Remove six usage 2020-05-11 10:21:58 +02:00
server.py Remove six usage 2020-05-11 10:21:58 +02:00
target.py Fixups to the inline documentation 2016-09-12 09:49:00 -04:00
transport.py Remove six usage 2020-05-11 10:21:58 +02:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:23 -05:00