21257615e7
Made changes to use default policies in our unit and functional tests rather than referring it from glance/tests/etc/policy.yaml file. Existing function 'set_policy_rules' can be used to test custom policy rules in functional testing. Improvements needed in followup patch: 1. Property protection related unit tests still reads the special policy from the policy.yaml file, need to make provision to override it instead. 2. Need to remove 'set_policy' function which actually responsible for above behavior. Related to blueprint policy-refactor Change-Id: I0de9b9f9a7de499574101e3366ced730b0cb5fd1 |
||
---|---|---|
.. | ||
glance-swift.conf | ||
policy.yaml | ||
property-protections-policies.conf | ||
property-protections.conf | ||
schema-image.json |