Ensure SSL gets setup

As a part of the dualstack work it was discovered SSL was not getting
setup for aodh. Ensure that it does.

Change-Id: Ia4051b11dbf9cc09c730cc0c3b9dcc4867df8a7a
This commit is contained in:
David Ames 2017-08-18 16:31:24 -07:00
parent 1f585cb7a5
commit a091a5abd7
2 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,7 @@ def setup_database(database):
@reactive.when('identity-service.connected')
def setup_endpoint(keystone):
aodh.setup_endpoint(keystone)
aodh.configure_ssl()
aodh.assess_status()

View File

@ -160,6 +160,7 @@ class TestAodhHandlers(unittest.TestCase):
def test_setup_endpoint(self):
self.patch(handlers.aodh, 'setup_endpoint')
self.patch(handlers.aodh, 'assess_status')
self.patch(handlers.aodh, 'configure_ssl')
handlers.setup_endpoint('endpoint_object')
self.setup_endpoint.assert_called_once_with('endpoint_object')