cinder/cinder/tests/unit
Alex Meade 53cfde43b8 User messages API for error cases
This patch implements basic user messages with the following APIs.
GET /messages
GET /messages/<message_id>
DELETE /messages/<message_id>

Implements : blueprint summarymessage

Co-Authored-By: Alex Meade <mr.alex.meade@gmail.com>
Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>

Change-Id: Id8a4a700c1159be24b15056f401a2ea77804d0a0
2016-04-29 18:41:10 +00:00
..
api User messages API for error cases 2016-04-29 18:41:10 +00:00
backup Merge "Add backup RPC API v2.0" 2016-03-16 21:26:13 +00:00
brick Cleanup orphaned code from brick LVM 2015-11-26 23:40:25 -06:00
compute Fix usage of novaclient 2015-09-14 20:03:35 +03:00
db Provide user friendly message for FK failure 2016-03-23 06:03:48 +00:00
glance Added more options while uploading volume as image 2016-03-23 18:55:53 +00:00
image User messages API for error cases 2016-04-29 18:41:10 +00:00
keymgr Fix call to Barbican Secrets create() 2016-03-03 14:15:08 +00:00
message User messages API for error cases 2016-04-29 18:41:10 +00:00
monkey_patch_example
objects Merge "fix ConsistencyGroup volume_type_id field" 2016-04-11 15:01:35 +00:00
scheduler User messages API for error cases 2016-04-29 18:41:10 +00:00
targets Remove deprecated ISERTgtAdm 2016-04-11 12:46:44 -05:00
volume Fix fake uuids in NetApp ESeries unit tests 2016-04-12 11:51:23 -04:00
windows Refactor Windows drivers using os-win 2016-01-14 19:27:05 +02:00
zonemanager Merge "Fix Brcd lookup service to use defined southbound protocol" 2016-04-14 18:17:24 +00:00
__init__.py Re-enabled hacking checks for H105 2016-01-05 11:22:40 +02:00
cast_as_call.py
conf_fixture.py Revert "Disable backup progress notifications for unit tests" 2015-06-19 14:27:40 -04:00
declare_conf.py
fake_backup.py Fix invalid uuid warnings in backup unit tests 2016-03-03 19:04:00 -05:00
fake_cgsnapshot.py Add fake_cgsnapshot for unittest use 2016-03-30 18:54:43 +08:00
fake_consistencygroup.py Fix invalid uuid warnings in scheduler unit tests 2016-02-29 11:12:24 -05:00
fake_constants.py Tests: Define fake_constants as constants 2016-04-12 16:56:19 -04:00
fake_driver.py Add get_volume_stats for LoggingVolumeDriver 2016-03-08 16:00:50 +00:00
fake_hpe_3par_client.py 3PAR fix create_cloned_volume for larger size 2016-03-16 03:39:12 -07:00
fake_hpe_client_exceptions.py Refactor HP 3PAR drivers to now be HPE 2015-11-12 12:46:35 -08:00
fake_hpe_lefthand_client.py LeftHand: Updating minimum client version 2016-02-24 21:31:54 +00:00
fake_notifier.py
fake_service.py Service object 2015-09-01 07:09:08 +00:00
fake_snapshot.py Fix invalid uuid warnings in object unit tests 2016-02-23 08:46:01 -05:00
fake_utils.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
fake_vmem_client.py Adds the Violin Memory V7000 series FC driver. 2015-06-19 13:38:32 -07:00
fake_volume.py Fix invalid uuid warnings in object unit tests 2016-02-23 08:46:01 -05:00
policy.json User messages API for error cases 2016-04-29 18:41:10 +00:00
runtime_conf.py
test_api.py
test_api_urlmap.py Remove XML API 2016-04-21 16:05:29 +00:00
test_backup.py init_host offload to default to true 2016-04-21 13:50:18 +00:00
test_backup_ceph.py Fix invalid uuid warnings in backup unit tests 2016-03-03 19:04:00 -05:00
test_backup_driver_base.py Conditionally restore display_name 2016-03-28 18:51:42 +00:00
test_backup_google.py Fix invalid uuid warnings in backup unit tests 2016-03-03 19:04:00 -05:00
test_backup_swift.py Fix invalid uuid warnings in backup unit tests 2016-03-03 19:04:00 -05:00
test_backup_tsm.py Fix invalid uuid warnings in backup unit tests 2016-03-03 19:04:00 -05:00
test_block_device.py Fix invalid uuid warnings in block device unit tests 2016-02-29 12:39:50 -05:00
test_blockbridge.py Pass new volume size when cloning (blockbridge) 2016-03-09 20:15:36 -05:00
test_cloudbyte.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_cmd.py Merge "Test: use assert_has_calls() instead" 2016-04-17 14:38:01 +00:00
test_coho.py Deprecate nas_ip and change this to nas_host 2016-04-18 15:08:11 +03:00
test_conf.py Fix order of arguments in assertEqual 2015-08-03 19:26:08 -07:00
test_context.py Use the catalog to retrieve glance_api_servers 2015-12-03 19:02:38 +00:00
test_coordination.py Fix torpid coordinator unit tests 2016-01-22 06:21:48 -05:00
test_db_api.py Fix backup import 2016-03-07 14:39:05 +00:00
test_dellfc.py Dell SC: Updated to utilize provider_id 2016-04-05 16:54:09 -05:00
test_dellsc.py Dell SC: Updated to utilize provider_id 2016-04-05 16:54:09 -05:00
test_dellscapi.py Dell SC: Updated to utilize provider_id 2016-04-05 16:54:09 -05:00
test_dothill.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_drbdmanagedrv.py DRBD driver: resize volume if cloned image is larger 2016-03-11 10:51:08 +01:00
test_emc_vmax.py EMC VMAX - Operations and timeout issues 2016-03-20 21:23:04 +00:00
test_emc_vnx.py Fix driver.failover_host call in manager.py 2016-04-06 22:25:40 -06:00
test_emc_xtremio.py XtremIO handle errors in terminate_connection: 2016-03-14 09:27:44 +02:00
test_eqlx.py Dell Eqlx: Cloning volume does not honor new size 2016-03-29 13:44:31 -05:00
test_evaluator.py
test_exception.py Change default Exception code to 500 2015-10-13 11:52:47 -04:00
test_fixtures.py Copy unit tests for StandardLogging fixture from Nova 2016-03-01 09:44:22 -05:00
test_glusterfs.py Deprecate nas_ip and change this to nas_host 2016-04-18 15:08:11 +03:00
test_gpfs.py Cleaned duplicate dictionary values 2016-03-16 13:56:19 +00:00
test_hacking.py Fix issue in hacking with underscore imports 2016-02-04 15:44:03 +01:00
test_hitachi_hbsd_horcm_fc.py Hitachi drivers: resize volume if cloned image is larger 2016-03-17 20:17:37 +01:00
test_hitachi_hbsd_snm2_fc.py Hitachi drivers: resize volume if cloned image is larger 2016-03-17 20:17:37 +01:00
test_hitachi_hbsd_snm2_iscsi.py Hitachi drivers: resize volume if cloned image is larger 2016-03-17 20:17:37 +01:00
test_hitachi_hnas_backend.py HNAS driver: Fix SSH and cluster_admin_ip0 bug 2016-02-12 11:26:17 -02:00
test_hitachi_hnas_iscsi.py Hitachi drivers: resize volume if cloned image is larger 2016-03-17 20:17:37 +01:00
test_hitachi_hnas_nfs.py Deprecate nas_ip and change this to nas_host 2016-04-18 15:08:11 +03:00
test_hpe3par.py 3PAR: Remove metadata that tracks the instance id 2016-04-20 11:21:31 -07:00
test_hpe_xp_fc.py Merge "Remove duplicated code in volume manager and base driver" 2016-03-03 02:24:24 +00:00
test_hpelefthand.py LeftHand: Add default SSH timeout and key values 2016-03-15 16:34:58 -07:00
test_huawei_drivers.py Huawei: Fix getting admin_metadata 2016-03-25 22:39:39 +08:00
test_huawei_drivers_compatibility.py Rename Huawei drivers 2015-12-24 09:20:24 +08:00
test_ibm_flashsystem.py FlashSystem reports error in _find_host_exhaustive() 2016-01-19 00:54:07 +00:00
test_ibm_flashsystem_iscsi.py Merge "Hacking Checks for assertTrue/IsNone()" 2015-11-26 15:54:58 +00:00
test_ibm_xiv_ds8k.py IBM XIV/DS8K: Implement Replication v2.1 2016-03-14 17:16:10 +02:00
test_image_utils.py Remove remaining oslo-incubator code from Cinder 2016-03-09 10:49:18 -06:00
test_infortrend_cli.py Remove access_mode 'rw' setting in drivers 2016-01-22 16:47:02 +00:00
test_infortrend_common.py Port infortrend driver to Python 3 2016-02-15 21:35:44 +01:00
test_migrations.py User messages API for error cases 2016-04-29 18:41:10 +00:00
test_misc.py Remove downgrade migrations 2015-12-18 14:04:16 +02:00
test_netapp.py NetApp: Fix SSH Client File Creation in Unit Test 2016-02-27 13:46:59 -05:00
test_netapp_nfs.py Merge "Filter & goodness functions in NetApp drivers" 2016-02-20 06:50:00 +00:00
test_netapp_ssc.py Revert use of netapp_lib from NetApp Drivers 2015-09-25 10:31:19 -04:00
test_nexenta.py NexentaStor drivers: resize volume if cloned image is larger 2016-03-28 11:46:32 -07:00
test_nexenta5_iscsi.py NexentaStor drivers: resize volume if cloned image is larger 2016-03-28 11:46:32 -07:00
test_nexenta5_nfs.py Deprecate nas_ip and change this to nas_host 2016-04-18 15:08:11 +03:00
test_nexenta_edge.py Merge "Fix for NexentaEdge jsonrpc url formatting" 2016-04-05 20:29:30 +00:00
test_nfs.py Deprecate nas_ip and change this to nas_host 2016-04-18 15:08:11 +03:00
test_nimble.py Using extra-specs in cloned vols for Nimble driver 2015-11-02 14:16:16 -08:00
test_prophetstor_dpl.py Correct iscsi lun type 2016-02-23 23:43:44 +08:00
test_pure.py Merge "Fixup for Pure drivers cheesecake replication setup" 2016-03-12 00:23:51 +00:00
test_qos_specs.py Correct assertDictMatch argument order 2015-11-13 16:57:01 +00:00
test_quobyte.py Remove remaining oslo-incubator code from Cinder 2016-03-09 10:49:18 -06:00
test_quota.py fix invalid uuid warnings from test_quota 2016-04-12 11:51:47 -04:00
test_quota_utils.py Update quotas to handle domain acting as project 2016-03-07 17:06:28 +00:00
test_rbd.py Merge "Tests: Define fake_constants as constants" 2016-04-15 17:38:20 +00:00
test_remotefs.py SMBFS: Fix initialize connection issues caused by in-use images 2016-03-08 16:06:16 +02:00
test_rpc.py Fix RPC and Object version pinning on API 2016-04-13 12:04:31 +02:00
test_san.py
test_scality.py Remove remaining oslo-incubator code from Cinder 2016-03-09 10:49:18 -06:00
test_service.py Fix service version pinning on start 2016-04-13 11:24:43 +02:00
test_sheepdog.py Fix invalid uuids in sheepdog unit tests 2016-04-12 11:51:13 -04:00
test_smbfs.py Merge "SMBFS: Fix initialize connection issues caused by in-use images" 2016-04-19 23:13:52 +00:00
test_solidfire.py Handle TFlow short comings in SF driver 2016-04-18 15:18:19 +00:00
test_ssh_utils.py Fix sshpool.remove code 2016-03-01 03:20:04 +00:00
test_storwize_svc.py Merge "Storwize: Multiple management IP not raising exceptions" 2016-04-21 16:40:10 +00:00
test_tegile.py Merge "Remove access_mode 'rw' setting in drivers" 2016-02-11 06:14:44 +00:00
test_test.py Remove "patch mock to raise for invalid assert calls" 2016-04-06 18:00:26 -04:00
test_test_utils.py
test_tintri.py Tintri image direct clone 2016-03-03 09:23:59 -08:00
test_utils.py Remove unused utils.find_config function 2016-03-25 15:42:22 +02:00
test_v7000_common.py Fix doc string definitions 2015-07-27 08:06:03 +03:00
test_v7000_fcp.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_vmware_datastore.py VMware: Skip unsupported datastore types 2015-11-24 16:59:13 +05:30
test_vmware_vmdk.py Merge "VMware: Unit test refactoring" 2016-04-21 16:23:04 +00:00
test_vmware_volumeops.py Merge "VMware: Fix volume copy across vCenter datacenters" 2016-03-03 20:55:17 +00:00
test_volume.py User messages API for error cases 2016-04-29 18:41:10 +00:00
test_volume_configuration.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_volume_glance_metadata.py Tests: Define fake_constants as constants 2016-04-12 16:56:19 -04:00
test_volume_rpcapi.py Fix volume RPC API methods related to backups 2016-03-18 09:13:28 +01:00
test_volume_throttling.py Cleanup unused conf variables 2016-02-16 11:26:06 +11:00
test_volume_transfer.py Fix invalid UUID warnings for test_volume_* 2016-03-09 09:41:50 -05:00
test_volume_types.py Permit volume type operations for policy authorized users 2016-03-10 11:55:14 -05:00
test_volume_types_extra_specs.py Fix order of arguments in assertEqual 2015-08-03 19:26:08 -07:00
test_volume_utils.py Update _usage_from_backup() method with versionedobjects 2016-04-06 14:29:56 +08:00
test_vzstorage.py Port vzstorage to Python 3 2015-11-08 22:07:57 +01:00
test_xio.py Force target_lun to be int type to make os-brick happy 2016-02-23 17:59:28 -07:00
test_zfssa.py Volume manage/unmanage support to ZFSSA drivers 2016-02-23 14:38:39 -05:00
utils.py Fix invalid uuid warnings in test_volume.py 2016-03-03 13:22:03 -05:00