charm-ceilometer-agent/unit_tests
Aurelien Lourot 3956370e96 Publish releases packages map to principal charm
For principal - subordinate plugin type relations where the
principal Python payload imports code from packages managed by a
subordinate, upgrades can be problematic.

This change will allow a subordinate charm that have opted into the
feature to inform its principal about all implemented release -
packages combinations ahead of time. With this information in place
the principal can do the upgrade in one operation without risk of
charm relation RPC type processing at a critical moment.

This is similar to
https://review.opendev.org/c/openstack/charm-interface-keystone-domain-backend/+/781658
https://review.opendev.org/c/openstack/charm-layer-openstack/+/781624

The openstacksdk version is pinned in test-requirements.txt to enabled
py36 unit tests to run successfully.

Depends-On: https://review.opendev.org/c/openstack/charm-ceilometer-agent/+/870227
Change-Id: Ibd5bdcb141fc3103ee97123ff284fb2957802eba
Closes-Bug: #1927277
(cherry picked from commit be45f77945)
2023-10-27 14:41:54 +00:00
..
__init__.py Sync libraries & common files prior to freeze 2020-09-27 15:31:34 +01:00
test_actions.py Use unittest.mock instead of mock 2020-06-09 15:12:56 +02:00
test_ceilometer_contexts.py Add configurability to polling.yaml. 2021-05-12 17:30:00 +03:00
test_ceilometer_hooks.py Publish releases packages map to principal charm 2023-10-27 14:41:54 +00:00
test_ceilometer_utils.py Publish releases packages map to principal charm 2023-10-27 14:41:54 +00:00
test_utils.py Sync libraries & common files prior to freeze 2020-09-27 15:31:34 +01:00