"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/identity/schema.py" between
keystone-16.0.1.tar.gz and keystone-17.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Ussuri" series (latest release).

schema.py  (keystone-16.0.1):schema.py  (keystone-17.0.0)
skipping to change at line 34 skipping to change at line 34
'pattern': '[\S]+' 'pattern': '[\S]+'
} }
# Schema for Identity v3 API # Schema for Identity v3 API
_user_properties = { _user_properties = {
'default_project_id': validation.nullable(parameter_types.id_string), 'default_project_id': validation.nullable(parameter_types.id_string),
'description': validation.nullable(parameter_types.description), 'description': validation.nullable(parameter_types.description),
'domain_id': parameter_types.id_string, 'domain_id': parameter_types.id_string,
'enabled': parameter_types.boolean, 'enabled': parameter_types.boolean,
'federated': {
'type': 'array',
'items':
{
'type': 'object',
'properties': {
'idp_id': {'type': 'string'},
'protocols': {
'type': 'array',
'items':
{
'type': 'object',
'properties': {
'protocol_id': {'type': 'string'},
'unique_id': {'type': 'string'}
},
'required': ['protocol_id', 'unique_id']
},
'minItems': 1
}
},
'required': ['idp_id', 'protocols']
},
},
'name': _identity_name, 'name': _identity_name,
'password': { 'password': {
'type': ['string', 'null'] 'type': ['string', 'null']
}, },
'options': ro.USER_OPTIONS_REGISTRY.json_schema 'options': ro.USER_OPTIONS_REGISTRY.json_schema
} }
# TODO(notmorgan): Provide a mechanism for options to supply real jsonschema # TODO(notmorgan): Provide a mechanism for options to supply real jsonschema
# validation based upon the option object and the option validator(s) # validation based upon the option object and the option validator(s)
user_create = { user_create = {
 End of changes. 1 change blocks. 
0 lines changed or deleted 24 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)