commit 6b97cd8780a2728bb59f665f3e48005dd5dea473
Author: Ryan Rossiter <email address hidden>
Date: Wed Aug 26 18:38:23 2015 +0000
Add version hashes to enforce version updates
Nova uses a map of hashes for important parts of versioned objects. It
keeps a static mapping of previous objects, and generates a map of the
current objects. If these differ, a test fails, enforcing that the hash
of the object needs to be updated. Along with this, it usually means
that the version of the object itself needs to be updated because the
RPC contract of that object is now broken.
oslo_versionedobjects contains a fixture for helping generate and test
these hashes, so this fixture is used to test Magnum's object hashes.
Reviewed: https:/ /review. openstack. org/217342 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=6b97cd8780a 2728bb59f665f3e 48005dd5dea473
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6b97cd8780a2728 bb59f665f3e4800 5dd5dea473
Author: Ryan Rossiter <email address hidden>
Date: Wed Aug 26 18:38:23 2015 +0000
Add version hashes to enforce version updates
Nova uses a map of hashes for important parts of versioned objects. It
keeps a static mapping of previous objects, and generates a map of the
current objects. If these differ, a test fails, enforcing that the hash
of the object needs to be updated. Along with this, it usually means
that the version of the object itself needs to be updated because the
RPC contract of that object is now broken.
oslo_ versionedobject s contains a fixture for helping generate and test
these hashes, so this fixture is used to test Magnum's object hashes.
Change-Id: I586f73570dc7b6 5c83b216d09d11e 8dba3c63b2c
Closes-Bug: #1491855