From 10cf8cfd427b0703cb32e6dddc290e33b7119224 Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Thu, 19 Nov 2015 00:43:00 -0500 Subject: [PATCH] deprecate `enabled` option for endpoint-policy extension the endpoint-policy extension, like the other recently moved extensions, should be always enabled. Since this option made its way into the liberty release we need to mark the option as deprecated in M and remove it in O implements bp: move-extensions Change-Id: I5c01da0663c636bc6e2d9f12ac02b53edb9a277f --- keystone/common/config.py | 1 + ...deprecate-endpoint-policy-cfg-option-d018acab72a398a0.yaml | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 releasenotes/notes/deprecate-endpoint-policy-cfg-option-d018acab72a398a0.yaml diff --git a/keystone/common/config.py b/keystone/common/config.py index 6c2445a1a8..13b20fdfc0 100644 --- a/keystone/common/config.py +++ b/keystone/common/config.py @@ -486,6 +486,7 @@ FILE_OPTIONS = { 'endpoint_policy': [ cfg.BoolOpt('enabled', default=True, + deprecated_for_removal=True, help='Enable endpoint_policy functionality.'), cfg.StrOpt('driver', default='sql', diff --git a/releasenotes/notes/deprecate-endpoint-policy-cfg-option-d018acab72a398a0.yaml b/releasenotes/notes/deprecate-endpoint-policy-cfg-option-d018acab72a398a0.yaml new file mode 100644 index 0000000000..f36945365a --- /dev/null +++ b/releasenotes/notes/deprecate-endpoint-policy-cfg-option-d018acab72a398a0.yaml @@ -0,0 +1,4 @@ +--- +other: + - Deprecate the ``enabled`` option from ``[endpoint_policy]``, it will be + removed in the 'O' release, and the extension will always be enabled.