From 28688d1ed661ec9789d63120e91e58a3af754327 Mon Sep 17 00:00:00 2001 From: Brad Topol Date: Sat, 9 Jul 2016 08:20:32 -0700 Subject: [PATCH] Remove unnecessary stable attribute value for status Most routers do not explicitly set the status attribute to stable since this is the default. To maintain code consistency with the other routers the setting of the status attribute to a value of stable has been removed. Change-Id: I5dd8827b95f1d73b3c6b6b489ec6cdb947e67bca --- keystone/resource/routers.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/keystone/resource/routers.py b/keystone/resource/routers.py index 7de3d3d2c2..e985632a9e 100644 --- a/keystone/resource/routers.py +++ b/keystone/resource/routers.py @@ -53,7 +53,6 @@ class Routers(wsgi.RoutersBase): patch_action='update_domain_config_only', delete_action='delete_domain_config', rel=json_home.build_v3_resource_relation('domain_config'), - status=json_home.Status.STABLE, path_vars={ 'domain_id': json_home.Parameters.DOMAIN_ID }) @@ -67,7 +66,6 @@ class Routers(wsgi.RoutersBase): patch_action='update_domain_config_group', delete_action='delete_domain_config', rel=json_home.build_v3_resource_relation('domain_config_group'), - status=json_home.Status.STABLE, path_vars={ 'domain_id': json_home.Parameters.DOMAIN_ID, 'group': config_group_param @@ -80,7 +78,6 @@ class Routers(wsgi.RoutersBase): patch_action='update_domain_config', delete_action='delete_domain_config', rel=json_home.build_v3_resource_relation('domain_config_option'), - status=json_home.Status.STABLE, path_vars={ 'domain_id': json_home.Parameters.DOMAIN_ID, 'group': config_group_param, @@ -92,8 +89,7 @@ class Routers(wsgi.RoutersBase): mapper, config_controller, path='/domains/config/default', get_action='get_domain_config_default', - rel=json_home.build_v3_resource_relation('domain_config_default'), - status=json_home.Status.STABLE) + rel=json_home.build_v3_resource_relation('domain_config_default')) self._add_resource( mapper, config_controller, @@ -101,7 +97,6 @@ class Routers(wsgi.RoutersBase): get_action='get_domain_config_default', rel=json_home.build_v3_resource_relation( 'domain_config_default_group'), - status=json_home.Status.STABLE, path_vars={ 'group': config_group_param }) @@ -112,7 +107,6 @@ class Routers(wsgi.RoutersBase): get_action='get_domain_config_default', rel=json_home.build_v3_resource_relation( 'domain_config_default_option'), - status=json_home.Status.STABLE, path_vars={ 'group': config_group_param, 'option': json_home.build_v3_parameter_relation(