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:
parent
1f585cb7a5
commit
a091a5abd7
@ -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()
|
||||
|
||||
|
||||
|
@ -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')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user