Adding additional details to notification logs

Improves tracking independent workflows.  A log adapter
was added to provide an easy means of prepending publisher
ID and event type information.

Change-Id: I5d2d8a369f99497b05c2a683989e656554d01b4f
Closes-Bug: 1642623
This commit is contained in:
Chris Spencer
2017-01-13 14:36:34 -07:00
parent 547bf0529f
commit f80c0c732a
3 changed files with 17 additions and 4 deletions

View File

@@ -199,7 +199,6 @@ class TestNovaNotifications(NotificationTestCase):
m_nova_helper_cls.return_value = mock.Mock(
get_compute_node_by_hostname=m_get_compute_node_by_hostname,
name='m_nova_helper')
compute_model = self.fake_cdmc.generate_scenario_3_with_2_nodes()
self.fake_cdmc.cluster_data_model = compute_model
handler = novanotification.InstanceUpdated(self.fake_cdmc)