"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zaqar/api/v1_1/response.py" between
zaqar-5.0.0.tar.gz and zaqar-7.0.0.tar.gz

About: OpenStack Zaqar is a multi-tenant cloud messaging and notification service for web and mobile developers.
The "Rocky" series (latest release).

response.py  (zaqar-5.0.0):response.py  (zaqar-7.0.0)
skipping to change at line 51 skipping to change at line 51
}, },
"age": age, "age": age,
"ttl": { "ttl": {
"type": "number", "type": "number",
"minimum": 1, "minimum": 1,
"maximum": self.limits.max_message_ttl "maximum": self.limits.max_message_ttl
}, },
"body": { "body": {
"type": "object" "type": "object"
} },
"checksum": {
"type": "string",
},
}, },
"required": ["href", "ttl", "age", "body", "id"], "required": ["href", "ttl", "age", "body", "id"],
"additionalProperties": False, "additionalProperties": False,
} }
claim_href = { claim_href = {
"type": "string", "type": "string",
"pattern": "^(/v1\.1/queues/[a-zA-Z0-9_-]{1,64}" "pattern": "^(/v1\.1/queues/[a-zA-Z0-9_-]{1,64}"
"/messages/[a-zA-Z0-9_-]+)" "/messages/[a-zA-Z0-9_-]+)"
"\?claim_id=[a-zA-Z0-9_-]+$" "\?claim_id=[a-zA-Z0-9_-]+$"
skipping to change at line 231 skipping to change at line 234
}, },
'name': { 'name': {
'type': 'string' 'type': 'string'
}, },
'uri': { 'uri': {
'type': 'string' 'type': 'string'
}, },
'group': { 'group': {
'type': ['string', 'null'] 'type': ['string', 'null']
}, },
'flavor': {
'type': ['string', 'null']
},
'options': { 'options': {
'type': 'object', 'type': 'object',
'additionalProperties': True 'additionalProperties': True
} }
}, },
'required': ['href', 'weight', 'uri', 'group'], 'required': ['href', 'weight', 'uri', 'group'],
'additionalProperties': False, 'additionalProperties': False,
}, },
} }
}, },
skipping to change at line 286 skipping to change at line 292
'properties': { 'properties': {
'name': { 'name': {
'type': 'string' 'type': 'string'
}, },
'uri': { 'uri': {
'type': 'string' 'type': 'string'
}, },
'group': { 'group': {
'type': ['string', 'null'] 'type': ['string', 'null']
}, },
'flavor': {
'type': ['string', 'null']
},
'weight': { 'weight': {
'type': 'number', 'type': 'number',
'minimum': -1 'minimum': -1
}, },
'href': { 'href': {
'type': 'string', 'type': 'string',
'pattern': '^/v1\.1/pools/' 'pattern': '^/v1\.1/pools/'
'[a-zA-Z0-9_\-]+$' '[a-zA-Z0-9_\-]+$'
}, },
'options': { 'options': {
skipping to change at line 324 skipping to change at line 333
}, },
"href": claim_href, "href": claim_href,
"ttl": { "ttl": {
"type": "number", "type": "number",
"minimum": 1, "minimum": 1,
"maximum": self.limits.max_message_ttl "maximum": self.limits.max_message_ttl
}, },
"age": age, "age": age,
"body": { "body": {
"type": "object" "type": "object"
} },
"checksum": {
"type": "string",
},
}, },
"required": ["href", "ttl", "age", "body", "id"], "required": ["href", "ttl", "age", "body", "id"],
"additionalProperties": False, "additionalProperties": False,
}, },
"minItems": 1, "minItems": 1,
"maxItems": self.limits.max_messages_per_page "maxItems": self.limits.max_messages_per_page
} }
}, },
'required': ['messages'], 'required': ['messages'],
'additionalProperties': False 'additionalProperties': False
 End of changes. 4 change blocks. 
2 lines changed or deleted 14 lines changed or added

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