8ca13afc49
This will now require a separate section "Use Cases". This was originally within "Problem description", but use cases seems to be missed when it was filled out. This will hopefully improve spec submission. Change-Id: I3615ca5ff5c46851e682739a8343242e2f1b0a8d
120 lines
1.6 KiB
ReStructuredText
120 lines
1.6 KiB
ReStructuredText
..
|
|
This work is licensed under a Creative Commons Attribution 3.0 Unported
|
|
License.
|
|
|
|
http://creativecommons.org/licenses/by/3.0/legalcode
|
|
|
|
============================
|
|
United Policy.json In Cinder
|
|
============================
|
|
|
|
https://blueprints.launchpad.net/cinder/+spec/united-policy-in-cinder
|
|
|
|
Currently, there is two policy.json files in cinder. One for cinder code,
|
|
one for unit test code. It's not convenient for the developer and easy to
|
|
miss one. This blueprint is aim to united them. Then unit test code will
|
|
use the policy.json in the code.
|
|
|
|
Problem description
|
|
===================
|
|
|
|
Currently, there is two policy.json files in cinder. One for cinder code,
|
|
one for unit test code. It's not convenient for the developer and easy to
|
|
miss one.
|
|
|
|
Use Cases
|
|
=========
|
|
|
|
Proposed change
|
|
===============
|
|
|
|
* Delete the policy.json under the test
|
|
|
|
* Modify the unittest to use the file /etc/cinder/policy.json
|
|
|
|
Alternatives
|
|
------------
|
|
|
|
None
|
|
|
|
Data model impact
|
|
-----------------
|
|
|
|
None
|
|
|
|
REST API impact
|
|
---------------
|
|
|
|
None
|
|
|
|
Security impact
|
|
---------------
|
|
|
|
None
|
|
|
|
Notifications impact
|
|
--------------------
|
|
|
|
None
|
|
|
|
Other end user impact
|
|
---------------------
|
|
|
|
None
|
|
|
|
Performance Impact
|
|
------------------
|
|
|
|
None
|
|
|
|
Other deployer impact
|
|
---------------------
|
|
|
|
None
|
|
|
|
Developer impact
|
|
----------------
|
|
|
|
None
|
|
|
|
|
|
Implementation
|
|
==============
|
|
|
|
Assignee(s)
|
|
-----------
|
|
|
|
Primary assignee:
|
|
xiaoding <xiaoding1@huawei.com>
|
|
|
|
Work Items
|
|
----------
|
|
|
|
* Delete policy.json in the test
|
|
|
|
* Modify the unittest to use /etc/cinder/policy.json
|
|
|
|
|
|
Dependencies
|
|
============
|
|
|
|
None
|
|
|
|
|
|
Testing
|
|
=======
|
|
|
|
None
|
|
|
|
|
|
Documentation Impact
|
|
====================
|
|
|
|
None
|
|
|
|
|
|
References
|
|
==========
|
|
|
|
None
|