Update git submodules
* Update oslo.upgradecheck from branch 'master' to c70506727800d99fbbe8133f0bf0ccb1e70d690a - Add common checks for json to yaml policy file migration As part of community goal[1] for migrating the policy file from JSON format to YAML we need to add upgrade check to detect any JSON formatted file. That check needs to be done in each service side which are deprecating the JSON format. So to avoid duplicate code, this commit add that check in oslo_upgradechecks and that can be enabled from service side during they migrate to YAML format. Service will enable it like below: _upgrade_checks = ( (_('Policy File JSON to YAML Migration'), (common_checks.check_policy_json, {'conf': CONF})), ) Also modify the check() method to accept the **kwargs for checks. [1] https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html Change-Id: Ifa71c20879c964f794a40b981744d95db4ab1602
This commit is contained in:
parent
3b7126ea30
commit
be698e7f10
|
@ -1 +1 @@
|
|||
Subproject commit ff5ad7b821c58ed552171c67ecee23d5b3e9fe95
|
||||
Subproject commit c70506727800d99fbbe8133f0bf0ccb1e70d690a
|
Loading…
Reference in New Issue