masakari-monitors/masakarimonitors/tests/unit/ha
shilpa.devharakar 3ffd576b79 Fix masakari-monitor connection issue
From openstacksdk version 0.11.1 onwards, there is no way
you can add service to the connection. Hence we need to monkey
_find_service_filter_class method from sdk to allow
to point to thee correct service filter class from masakariclient.

Solution provided here is not going to work in sdk 0.9.19 and
0.10.0 versions. Because service descriptor is not supported
in 0.9.19 and 0.10.0 sdk versions and profile parameter doesn't
work correctly during connection initialization.

Also solution provided here is not going to work in sdk 0.13.0
and above, it will still fails with below error
"'Connection' object has no attribute 'ha'"
this is because 'Connection' object expecting instance_ha not ha

Co-Author: tpatil <tushar.vitthal.patil@gmail.com>
Change-Id: Ic10d1b380abc8b3b6cc38015c9c3bf4ab7705a0c
Depends-On: I24ec493f3333a5b3f6bfed9395c921fb28500065
Closes-Bug: #1779752
2018-09-04 18:12:28 +05:30
..
__init__.py Add testcases of ha and processmonitor 2017-03-29 18:33:32 +09:00
test_masakari.py Fix masakari-monitor connection issue 2018-09-04 18:12:28 +05:30