cinder/cinder
poojajadhav 665775f924 Extracted HTTP response codes to constants
There are several places in the source code where HTTP response
codes are used as numeric values.

Status codes 200, 202, 204, 300, 400, 403, 404, 405 , 406 and 413 under
tests/unit/api/v2 and tests/unit/api/v3 are replaced with symbolic
constants from six.moves.http_client thus improves code readability.
More patches will be submitted to address other status codes.

Partial-Bug: #1520159
Change-Id: Iaa337432f9a368c33be9a182d9074cc316241cb9
2017-03-22 12:02:03 +05:30
..
api Merge "Consistency groups API is not returning project_id filter groups." 2017-03-21 21:33:48 +00:00
backup Remove log translations 2017-03-19 14:59:57 +00:00
brick Remove log translations 2017-03-19 14:59:57 +00:00
cmd Remove log translations 2017-03-19 14:59:57 +00:00
common Remove log translations 2017-03-19 14:59:57 +00:00
compute Remove TODO related to Nova API version 2017-03-03 11:00:29 -08:00
config Nosec subprocess with shell equal True from Bandit 2017-01-17 08:38:50 -06:00
consistencygroup Merge "Add quota limit check and enhance roll back for cg create" 2017-03-20 13:13:08 +00:00
db Remove log translations 2017-03-19 14:59:57 +00:00
group Remove log translations 2017-03-19 14:59:57 +00:00
hacking Remove hacking check for log translation 2017-03-18 03:00:12 -05:00
image Remove log translations 2017-03-19 14:59:57 +00:00
interface Add the backup variable structure in backup_driver interface 2017-02-15 16:11:31 +08:00
keymgr Remove log translations 2017-03-19 14:59:57 +00:00
locale Imported Translations from Zanata 2016-10-15 07:34:30 +00:00
message Remove log translations 2017-03-19 14:59:57 +00:00
objects Remove log translations 2017-03-19 14:59:57 +00:00
scheduler Remove log translations 2017-03-19 14:59:57 +00:00
tests Extracted HTTP response codes to constants 2017-03-22 12:02:03 +05:30
transfer Remove log translations 2017-03-19 14:59:57 +00:00
volume Merge "Prevent duplicate entries in the image cache" 2017-03-21 23:28:01 +00:00
wsgi Remove unused logging import and LOG global var 2016-05-20 17:17:38 +08:00
zonemanager Remove log translations 2017-03-19 14:59:57 +00:00
__init__.py Set EVENTLET_NO_GREENDNS for IPv6 and dnspython compat 2016-11-11 13:19:07 -06:00
context.py Remove log translations 2017-03-19 14:59:57 +00:00
coordination.py Remove log translations 2017-03-19 14:59:57 +00:00
exception.py Remove log translations 2017-03-19 14:59:57 +00:00
flow_utils.py Fix logging traceback in service logs 2016-12-20 12:39:07 +05:30
i18n.py Remove log translations 2017-03-19 14:59:57 +00:00
manager.py Remove log translations 2017-03-19 14:59:57 +00:00
opts.py Merge "Remove Linux SMBFS driver" 2017-03-11 20:16:28 +00:00
policy.py Use to_policy_values for enforcing policy 2016-09-13 01:13:15 +00:00
quota.py Remove log translations 2017-03-19 14:59:57 +00:00
quota_utils.py Remove log translations 2017-03-19 14:59:57 +00:00
rpc.py Remove log translations 2017-03-19 14:59:57 +00:00
service.py Remove log translations 2017-03-19 14:59:57 +00:00
ssh_utils.py Remove log translations 2017-03-19 14:59:57 +00:00
test.py Switch and/or to ternary operator 2017-02-10 10:16:43 -06:00
utils.py Remove log translations 2017-03-19 14:59:57 +00:00
version.py