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:
parent
5b48ac129b
commit
28688d1ed6
@ -53,7 +53,6 @@ class Routers(wsgi.RoutersBase):
|
|||||||
patch_action='update_domain_config_only',
|
patch_action='update_domain_config_only',
|
||||||
delete_action='delete_domain_config',
|
delete_action='delete_domain_config',
|
||||||
rel=json_home.build_v3_resource_relation('domain_config'),
|
rel=json_home.build_v3_resource_relation('domain_config'),
|
||||||
status=json_home.Status.STABLE,
|
|
||||||
path_vars={
|
path_vars={
|
||||||
'domain_id': json_home.Parameters.DOMAIN_ID
|
'domain_id': json_home.Parameters.DOMAIN_ID
|
||||||
})
|
})
|
||||||
@ -67,7 +66,6 @@ class Routers(wsgi.RoutersBase):
|
|||||||
patch_action='update_domain_config_group',
|
patch_action='update_domain_config_group',
|
||||||
delete_action='delete_domain_config',
|
delete_action='delete_domain_config',
|
||||||
rel=json_home.build_v3_resource_relation('domain_config_group'),
|
rel=json_home.build_v3_resource_relation('domain_config_group'),
|
||||||
status=json_home.Status.STABLE,
|
|
||||||
path_vars={
|
path_vars={
|
||||||
'domain_id': json_home.Parameters.DOMAIN_ID,
|
'domain_id': json_home.Parameters.DOMAIN_ID,
|
||||||
'group': config_group_param
|
'group': config_group_param
|
||||||
@ -80,7 +78,6 @@ class Routers(wsgi.RoutersBase):
|
|||||||
patch_action='update_domain_config',
|
patch_action='update_domain_config',
|
||||||
delete_action='delete_domain_config',
|
delete_action='delete_domain_config',
|
||||||
rel=json_home.build_v3_resource_relation('domain_config_option'),
|
rel=json_home.build_v3_resource_relation('domain_config_option'),
|
||||||
status=json_home.Status.STABLE,
|
|
||||||
path_vars={
|
path_vars={
|
||||||
'domain_id': json_home.Parameters.DOMAIN_ID,
|
'domain_id': json_home.Parameters.DOMAIN_ID,
|
||||||
'group': config_group_param,
|
'group': config_group_param,
|
||||||
@ -92,8 +89,7 @@ class Routers(wsgi.RoutersBase):
|
|||||||
mapper, config_controller,
|
mapper, config_controller,
|
||||||
path='/domains/config/default',
|
path='/domains/config/default',
|
||||||
get_action='get_domain_config_default',
|
get_action='get_domain_config_default',
|
||||||
rel=json_home.build_v3_resource_relation('domain_config_default'),
|
rel=json_home.build_v3_resource_relation('domain_config_default'))
|
||||||
status=json_home.Status.STABLE)
|
|
||||||
|
|
||||||
self._add_resource(
|
self._add_resource(
|
||||||
mapper, config_controller,
|
mapper, config_controller,
|
||||||
@ -101,7 +97,6 @@ class Routers(wsgi.RoutersBase):
|
|||||||
get_action='get_domain_config_default',
|
get_action='get_domain_config_default',
|
||||||
rel=json_home.build_v3_resource_relation(
|
rel=json_home.build_v3_resource_relation(
|
||||||
'domain_config_default_group'),
|
'domain_config_default_group'),
|
||||||
status=json_home.Status.STABLE,
|
|
||||||
path_vars={
|
path_vars={
|
||||||
'group': config_group_param
|
'group': config_group_param
|
||||||
})
|
})
|
||||||
@ -112,7 +107,6 @@ class Routers(wsgi.RoutersBase):
|
|||||||
get_action='get_domain_config_default',
|
get_action='get_domain_config_default',
|
||||||
rel=json_home.build_v3_resource_relation(
|
rel=json_home.build_v3_resource_relation(
|
||||||
'domain_config_default_option'),
|
'domain_config_default_option'),
|
||||||
status=json_home.Status.STABLE,
|
|
||||||
path_vars={
|
path_vars={
|
||||||
'group': config_group_param,
|
'group': config_group_param,
|
||||||
'option': json_home.build_v3_parameter_relation(
|
'option': json_home.build_v3_parameter_relation(
|
||||||
|
Loading…
Reference in New Issue
Block a user