nova/nova/notifications/objects
Matt Riedemann afe5f0d4de Remove CellMappingPayload database_connection and transport_url fields
Change I019e88fabd1d386c0d6395a7b1969315873485fd in Stein, which
is not yet officially released, exposes the unencrypted
database_connection URL and MQ transport_url to a CellMapping in
the select_destinations versioned notification CellMappingPayload.

While notifications are not meant to be consumed by end users of
the cloud but only internal services of the deployment, it still
seems like a bad idea to give the keys to the nova cell DB and MQ
to an external-to-nova service like ceilometer.

This change removes the fields from the CellMappingPayload and
bumps the major version to 2.0 to signal the change to consumers,
although I don't expect anything is consuming this yet but we should
follow standard versioning procedure anyway.

Note that notification consumers do not request a specific payload
version nor do they get a schema to perform their own backporting,
they just get what they get, so after this there should be no worry
about needing to support the 1.0 format for this payload.

Change-Id: Ib5edea32d15db01000e6730aebceaf119daf8c5c
Closes-Bug: #1823104
(cherry picked from commit  3301449e73)
2019-04-04 21:25:52 +00:00
..
__init__.py Move notification related code to separate package 2016-06-08 11:32:53 +02:00
aggregate.py Transform aggregate.update_prop notification 2018-07-15 23:36:31 +09:00
base.py Transform scheduler.select_destinations notification 2018-11-30 13:20:35 +01:00
compute_task.py Transform compute_task notifications 2018-11-21 16:23:28 +09:00
exception.py Add full traceback to ExceptionPayload in versioned notifications 2018-06-19 16:46:46 +08:00
flavor.py Add FlavorPayload.description for versioned notifications 2017-11-14 09:14:12 -05:00
image.py Transform compute_task notifications 2018-11-21 16:23:28 +09:00
instance.py The field instance_name was added to InstanceCreatePayload 2019-01-15 15:27:07 +00:00
keypair.py Transform keypair.import notification 2017-10-30 16:44:29 -04:00
libvirt.py Transform libvirt.error notification 2018-09-18 07:06:09 +00:00
metrics.py Transform metrics.update notification 2018-07-18 09:13:27 +09:00
request_spec.py Remove CellMappingPayload database_connection and transport_url fields 2019-04-04 21:25:52 +00:00
scheduler.py Transform scheduler.select_destinations notification 2018-11-30 13:20:35 +01:00
server_group.py Add policy field to ServerGroup notification object 2018-07-12 10:00:05 +08:00
service.py Versioned notifications for service create and delete 2017-11-27 11:11:44 -05:00
volume.py Transform volume.usage notification 2018-10-09 06:28:11 +00:00