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
This commit is contained in:
Brad Topol 2016-07-09 08:20:32 -07:00
parent 5b48ac129b
commit 28688d1ed6

View File

@ -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(