Merge "Update default domain's description"

This commit is contained in:
Jenkins 2016-02-25 01:42:58 +00:00 committed by Gerrit Code Review
commit 2707f8ffb0
4 changed files with 4 additions and 8 deletions

View File

@ -131,8 +131,7 @@ class BootStrap(BaseApp):
'id': CONF.identity.default_domain_id,
'name': 'Default',
'enabled': True,
'description': 'Owns users and tenants (i.e. projects) available '
'on Identity API v2.'
'description': 'The default domain'
}
try:
self.resource_manager.create_domain(

View File

@ -38,8 +38,7 @@ MEMOIZE = cache.get_memoization_decorator(group='resource')
def calc_default_domain():
return {'description':
(u'Owns users and tenants (i.e. projects)'
' available on Identity API v2.'),
(u'The default domain'),
'enabled': True,
'id': CONF.identity.default_domain_id,
'name': u'Default'}

View File

@ -143,8 +143,7 @@ ROLE_ASSIGNMENTS = [
]
DOMAINS = [{'description':
(u'Owns users and tenants (i.e. projects)'
' available on Identity API v2.'),
(u'The default domain'),
'enabled': True,
'id': DEFAULT_DOMAIN_ID,
'name': u'Default'}]

View File

@ -301,8 +301,7 @@ class RestfulTestCase(unit.SQLDriverOverrides, rest.RestfulTestCase,
self.resource_api.get_domain(DEFAULT_DOMAIN_ID)
except exception.DomainNotFound:
domain = unit.new_domain_ref(
description=(u'Owns users and tenants (i.e. projects)'
u' available on Identity API v2.'),
description=(u'The default domain'),
id=DEFAULT_DOMAIN_ID,
name=u'Default')
self.resource_api.create_domain(DEFAULT_DOMAIN_ID, domain)