nova/nova/tests/unit/notifications
Balazs Gibizer 59075b8243 Call generate_image_url only for legacy notification
The legacy instance.exists notification includes the full url of the glance
image of the given instance. But the versioned notification only includes
the image uuid. Generating the full url can be a costly operation as it
needs to talk to Keystone.

So this patch makes sure that generate_image_url only called when the
generated information will be used.

 Conflicts:
	nova/compute/utils.py
	nova/notifications/base.py
	nova/tests/unit/notifications/test_base.py

NOTE(elod.illes): conflict caused by parameter system_metadata which is not
there on master anymore.

Change-Id: I78c2a34b3d03438457cc968cd0a38b8131e4f6e6
Closes-Bug: #1757407
(cherry picked from commit 93b897348b)
2018-07-23 18:30:33 +02:00
..
objects Transform instance.resize_prep notification 2018-01-25 09:30:50 +09:00
__init__.py Move notification related code to separate package 2016-06-08 11:32:53 +02:00
test_base.py Call generate_image_url only for legacy notification 2018-07-23 18:30:33 +02:00