oslo.policy/oslo_policy
Ghanshyam Mann 0a228dea2e Fix oslopolicy-j2y-convertor tool for RuleDefault
Description and operators are mandatory parameter for
DocumentedRuleDefault but few services still using the
RuleDefault for exmaple glance
- 1344c45772/glance/policies/image.py (L16)

To make work on oslopolicy-j2y-convertor tool to covert
the JSON file for such services we need to pass description
in preparing DocumentedRuleDefault for this tool to generate
the yaml file with rule description. For such cases, it add
rule name as description.

Also for 'operations', do not write it in generate file
for RuleDefault as that end up with blank space.

Change-Id: I910291a152402051b1eac96c3ec16c3f0bb8bbb7
2020-11-24 13:27:25 -06:00
..
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2018-08-09 07:19:45 +00:00
tests Fix oslopolicy-j2y-convertor tool for RuleDefault 2020-11-24 13:27:25 -06:00
__init__.py exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
_cache_handler.py Add missing parameter description in module _cache_handler 2016-11-02 02:39:38 +00:00
_checks.py Remove all usage of six library 2020-10-06 15:56:50 +08:00
_external.py http/https check rules as stevedore extensions 2017-10-05 08:40:47 -04:00
_i18n.py Update URLs in documents according to document migration 2017-07-12 23:01:31 +08:00
_parser.py Remove all usage of six library 2020-10-06 15:56:50 +08:00
fixture.py Update hacking version 2019-02-13 14:33:45 +08:00
generator.py Fix oslopolicy-j2y-convertor tool for RuleDefault 2020-11-24 13:27:25 -06:00
opts.py Fix doc comments for new enforce default flag 2020-04-09 10:31:09 -05:00
policy.py Add policy file selection logic when default changing to yaml 2020-11-19 11:30:23 -06:00
shell.py Modernize policy checker 2019-10-10 08:38:14 -07:00
sphinxext.py Mark sphinx extensions thread safe 2020-04-13 08:58:54 -05:00
sphinxpolicygen.py Mark sphinx extensions thread safe 2020-04-13 08:58:54 -05:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:22 -05:00