From 66ffdffb249aecb3f2316adf2cf7eedad768ded4 Mon Sep 17 00:00:00 2001 From: Travis Prescott Date: Thu, 21 Apr 2016 10:13:58 -0700 Subject: [PATCH] Progress on fixing automated tests. --- src/azure/cli/utils/command_test_script.py | 10 +- .../cli/command_modules/storage/__init__.py | 32 +- .../storage/tests/command_specs.py | 82 +++-- .../tests/recordings/expected_results.res | 7 +- .../recordings/test_storage_account.yaml | 78 ++--- .../tests/recordings/test_storage_blob.yaml | 210 ++++++------ .../tests/recordings/test_storage_file.yaml | 318 +++++++++++------- 7 files changed, 414 insertions(+), 323 deletions(-) diff --git a/src/azure/cli/utils/command_test_script.py b/src/azure/cli/utils/command_test_script.py index bb531e0f2..65868a7e4 100644 --- a/src/azure/cli/utils/command_test_script.py +++ b/src/azure/cli/utils/command_test_script.py @@ -85,8 +85,14 @@ class CommandTestScript(object): result = output.getvalue().strip() self._raw.write(result) if isinstance(checks, bool): - bool_val = result.lower() in ('yes', 'true', 't', '1') - assert bool_val == checks + result_val = str(result).lower().replace('"', '') + bool_val = result_val in ('yes', 'true', 't', '1') + try: + assert bool_val == checks + except AssertionError as ex: + print('COMMAND FAILED: {}'.format(command)) + print("EXPECTED: {} ACTUAL: {} RESULT: {}".format(checks, result_val, bool_val)) + raise ex elif isinstance(checks, dict): json_val = json.loads(result) _check_json(json_val, checks) diff --git a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/__init__.py b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/__init__.py index c78153f57..fb2a8ba14 100644 --- a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/__init__.py +++ b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/__init__.py @@ -198,10 +198,10 @@ build_operation( 'storage container', None, _blob_data_service_factory, [ AutoCommandDefinition(BlockBlobService.list_containers, '[Container]', 'list'), - AutoCommandDefinition(BlockBlobService.delete_container, None, 'delete'), + AutoCommandDefinition(BlockBlobService.delete_container, 'Bool', 'delete'), AutoCommandDefinition(BlockBlobService.get_container_properties, '[ContainerProperties]', 'show'), - AutoCommandDefinition(BlockBlobService.create_container, None, 'create'), + AutoCommandDefinition(BlockBlobService.create_container, 'Bool', 'create'), AutoCommandDefinition(BlockBlobService.generate_container_shared_access_signature, 'String', 'generate-sas') ], command_table, PARAMETER_ALIASES, STORAGE_DATA_CLIENT_ARGS) @@ -209,15 +209,15 @@ build_operation( build_operation( 'storage container acl', None, _blob_data_service_factory, [ - AutoCommandDefinition(BlockBlobService.set_container_acl, 'Something?', 'set'), - AutoCommandDefinition(BlockBlobService.get_container_acl, 'Something?', 'get'), + AutoCommandDefinition(BlockBlobService.set_container_acl, 'Result', 'set'), + AutoCommandDefinition(BlockBlobService.get_container_acl, 'Result', 'get'), ], command_table, PARAMETER_ALIASES, STORAGE_DATA_CLIENT_ARGS) build_operation( 'storage container metadata', None, _blob_data_service_factory, [ - AutoCommandDefinition(BlockBlobService.set_container_metadata, 'Something?', 'set'), - AutoCommandDefinition(BlockBlobService.get_container_metadata, 'Something?', 'get'), + AutoCommandDefinition(BlockBlobService.set_container_metadata, 'Result', 'set'), + AutoCommandDefinition(BlockBlobService.get_container_metadata, 'Metadata', 'get'), ], command_table, PARAMETER_ALIASES, STORAGE_DATA_CLIENT_ARGS) # TODO: update this once enums are supported in commands first-class (task #115175885) @@ -236,10 +236,10 @@ public_access_types = {'none': None, @command_table.option(**PARAMETER_ALIASES['timeout']) def exists_container(args): bbs = _blob_data_service_factory(args) - return str(bbs.exists( + return bbs.exists( container_name=args.get('container_name'), snapshot=args.get('snapshot'), - timeout=args.get('timeout'))) + timeout=args.get('timeout')) lease_duration_values = {'min':15, 'max':60, 'infinite':-1} lease_duration_values_string = 'Between {} and {} seconds. ({} for infinite)'.format( @@ -356,11 +356,11 @@ def download_blob(args): @command_table.option(**PARAMETER_ALIASES['timeout']) def exists_blob(args): bbs = _blob_data_service_factory(args) - return str(bbs.exists( + return bbs.exists( blob_name=args.get('blob_name'), container_name=args.get('container_name'), snapshot=args.get('snapshot'), - timeout=args.get('timeout'))) + timeout=args.get('timeout')) build_operation( 'storage blob lease', None, _blob_data_service_factory, @@ -425,7 +425,7 @@ build_operation( @command_table.option(**PARAMETER_ALIASES['connection_string']) def exist_share(args): fsc = _file_data_service_factory(args) - return str(fsc.exists(share_name=args.get('share_name'))) + return fsc.exists(share_name=args.get('share_name')) # DIRECTORY COMMANDS @@ -452,8 +452,8 @@ build_operation( @command_table.option(**PARAMETER_ALIASES['connection_string']) def exist_directory(args): fsc = _file_data_service_factory(args) - return str(fsc.exists(share_name=args.get('share_name'), - directory_name=args.get('directory_name'))) + return fsc.exists(share_name=args.get('share_name'), + directory_name=args.get('directory_name')) # FILE COMMANDS @@ -521,9 +521,9 @@ def storage_file_download(args): @command_table.option(**PARAMETER_ALIASES['connection_string']) def exist_file(args): fsc = _file_data_service_factory(args) - return str(fsc.exists(share_name=args.get('share_name'), - directory_name=args.get('directory_name'), - file_name=args.get('file_name'))) + return fsc.exists(share_name=args.get('share_name'), + directory_name=args.get('directory_name'), + file_name=args.get('file_name')) @command_table.command('storage file upload') @command_table.option(**PARAMETER_ALIASES['share_name']) diff --git a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/command_specs.py b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/command_specs.py index 10841fec0..2c8b9002b 100644 --- a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/command_specs.py +++ b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/command_specs.py @@ -26,6 +26,31 @@ def _get_connection_string(runner): connection_string = out.replace('Connection String : ', '') runner.set_env('AZURE_STORAGE_CONNECTION_STRING', connection_string) +#class TestScenarioTest(CommandTestScript): +# def __init__(self): +# super(TestScenarioTest, self).__init__() + +# def set_up(self): +# self.container = 'testcontainer02' +# self.rg = RESOURCE_GROUP_NAME +# _get_connection_string(self) +# self.run('storage container delete --container-name {}'.format(self.container)) +# if self.run('storage container exists --container-name {}'.format(self.container)) == 'True': +# raise RuntimeError('Failed to delete already pre-existing container {}. Unable to continue test.'.format(self.container)) + +# def test_body(self): +# s = self +# container = s.container +# rg = s.rg +# s.run('storage container create --container-name {} --fail-on-exist'.format(container)) +# s.test('storage container show --container-name {}'.format(container), {'name': container}) +# print(s.run('storage container exists --container-name {}'.format(container))) +# s.test('storage container exists --container-name {}'.format(container), True) + +# def tear_down(self): +# self.run('storage container delete --container-name {}'.format(self.container)) + + class StorageAccountScenarioTest(CommandTestScript): def __init__(self): @@ -81,29 +106,24 @@ class StorageBlobScenarioTest(CommandTestScript): self.pop_env('AZURE_STORAGE_CONNECTION_STRING') self.run('storage container delete --container-name {}'.format(self.container)) if self.run('storage container exists --container-name {}'.format(self.container)) == 'True': - raise RuntimeError('Failed to delete already pre-existing container {}. Unable to continue test.'.format(self.container)) + raise RuntimeError('Failed to delete pre-existing container {}. Unable to continue test.'.format(self.container)) def _storage_blob_scenario(self): s = self container = s.container blob = s.blob dest_file = s.dest_file - if s.run('storage blob exists -b {} -c {}'.format(blob, container)) == 'True': - s.run('storage blob delete --container-name {} --blob-name {}'.format(container, blob)) - if s.run('storage blob exists -b {} -c {}'.format(blob, container)) == 'False': - s.run('storage blob upload-block-blob -b {} -c {} --upload-from {}'.format(blob, container, os.path.join(TEST_DIR, 'testfile.rst'))) - s.run('storage blob download -b {} -c {} --download-to {}'.format(blob, container, dest_file)) - if os.path.isfile(dest_file): - os.remove(dest_file) - else: - raise RuntimeError('Download failed. Test failed!') - s.rec('storage blob exists -b {} -c {}'.format(blob, container)) - s.rec('storage blob list --container-name {}'.format(container)) - s.rec('storage blob properties get --container-name {} --blob-name {}'.format(container, blob)) - s.rec('storage blob delete --container-name {} --blob-name {}'.format(container, blob)) - s.test('storage blob exists -b {} -c {}'.format(blob, container), False) + s.run('storage blob upload-block-blob -b {} -c {} --upload-from {}'.format(blob, container, os.path.join(TEST_DIR, 'testfile.rst'))) + s.run('storage blob download -b {} -c {} --download-to {}'.format(blob, container, dest_file)) + if os.path.isfile(dest_file): + os.remove(dest_file) else: - s.print_('Failed to delete already existing blob {}. Unable to continue test.'.format(container)) + raise RuntimeError('Download failed. Test failed!') + s.test('storage blob exists -b {} -c {}'.format(blob, container), True) + s.rec('storage blob list --container-name {}'.format(container)) + s.rec('storage blob properties get --container-name {} --blob-name {}'.format(container, blob)) + s.run('storage blob delete --container-name {} --blob-name {}'.format(container, blob)) + s.test('storage blob exists -b {} -c {}'.format(blob, container), False) def test_body(self): s = self @@ -112,14 +132,15 @@ class StorageBlobScenarioTest(CommandTestScript): proposed_lease_id = s.proposed_lease_id new_lease_id = s.new_lease_id date = s.date - s.run('storage container create --container-name {} --fail-on-exist'.format(container)) + s.test('storage container create --container-name {} --fail-on-exist'.format(container), True) s.test('storage container show --container-name {}'.format(container), {'name': container}) + # TODO: This does not work in a script + #s.test('storage container exists --container-name {}'.format(container), True) s.rec('storage container list') s.run('storage container metadata set -c {} --metadata foo=bar;moo=bak;'.format(container)) s.test('storage container metadata get -c {}'.format(container), {'foo': 'bar', 'moo': 'bak'}) s.run('storage container metadata set -c {}'.format(container)) # reset metadata s.test('storage container metadata get -c {}'.format(container), None) - # TODO: Because 'exists' isn't working... blob scenarios are failing... #s._storage_blob_scenario() # test lease operations @@ -136,12 +157,9 @@ class StorageBlobScenarioTest(CommandTestScript): s.run('storage container lease release --container-name {} --lease-id {}'.format(container, new_lease_id)) s.test('storage container show --container-name {}'.format(container), {'properties': {'lease': {'duration': None, 'state': 'available', 'status': 'unlocked'}}}) - - # TODO: After a successful create--this command should not fail!!! - #s.test('storage container exists --container-name {}'.format(container), True) - + # verify delete operation - s.run('storage container delete --container-name {} --fail-not-exist'.format(container)) + s.test('storage container delete --container-name {} --fail-not-exist'.format(container), True) s.test('storage container exists --container-name {}'.format(container), False) def tear_down(self): @@ -163,7 +181,7 @@ class StorageFileScenarioTest(CommandTestScript): s = self dir = 'testdir01' s.test('storage directory create --share-name {} --directory-name {} --fail-on-exist'.format(share, dir), True) - s.rec('storage directory exists --share-name {} --directory-name {}'.format(share, dir)) + s.test('storage directory exists --share-name {} --directory-name {}'.format(share, dir), True) s.run('storage directory metadata set --share-name {} --directory-name {} --metadata a=b;c=d'.format(share, dir)) s.test('storage directory metadata get --share-name {} --directory-name {}'.format(share, dir), {'a': 'b', 'c': 'd'}) @@ -186,8 +204,7 @@ class StorageFileScenarioTest(CommandTestScript): filename = 'testfile.rst' s = self s.run('storage file upload --share-name {} --local-file-name {} --file-name {}'.format(share, source_file, filename)) - #TODO: Exists commands!!! - #s.test('storage file exists --share-name {} --file-name {}'.format(share, filename), True) + s.test('storage file exists --share-name {} --file-name {}'.format(share, filename), True) if os.path.isfile(dest_file): os.remove(dest_file) s.run('storage file download --share-name {} --file-name {} --local-file-name {}'.format(share, filename, dest_file)) @@ -205,8 +222,7 @@ class StorageFileScenarioTest(CommandTestScript): filename = 'testfile.rst' s = self s.run('storage file upload --share-name {} --directory-name {} --local-file-name {} --file-name {}'.format(share, dir, source_file, filename)) - #TODO: Storage file exists - #s.test('storage file exists --share-name {} --directory-name {} --file-name {}'.format(share, dir, filename), True) + s.test('storage file exists --share-name {} --directory-name {} --file-name {}'.format(share, dir, filename), True) if os.path.isfile(dest_file): os.remove(dest_file) s.run('storage file download --share-name {} --directory-name {} --file-name {} --local-file-name {}'.format(share, dir, filename, dest_file)) @@ -224,8 +240,7 @@ class StorageFileScenarioTest(CommandTestScript): share2 = s.share2 s.test('storage share create --share-name {} --fail-on-exist'.format(share1), True) s.test('storage share create --share-name {} --fail-on-exist --metadata foo=bar;cat=hat'.format(share2), True) - # TODO: exists command should not fail after share is created! - #s.test('storage share exists --share-name {}'.format(share1), True) + s.test('storage share exists --share-name {}'.format(share1), True) s.test('storage share metadata get --share-name {}'.format(share2), {'cat': 'hat', 'foo': 'bar'}) # TODO: Would need to enable behavior if a dictionary contains a list... s.rec('storage share list') @@ -267,5 +282,10 @@ TEST_DEF = [ { 'test_name': 'storage_file', 'script': StorageFileScenarioTest() - } + }, + # TEST SCENARIO TEST (REMOVE) + #{ + # 'test_name': 'mystical_test', + # 'script': TestScenarioTest() + #} ] diff --git a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/expected_results.res b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/expected_results.res index 1b4c7c264..0dbc44920 100644 --- a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/expected_results.res +++ b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/expected_results.res @@ -1,6 +1,7 @@ { - "test_storage_account": "{\n \"message\": null,\n \"nameAvailable\": true,\n \"reason\": null\n}{\n \"message\": \"The storage account named travistestresourcegr3014 is already taken.\",\n \"nameAvailable\": false,\n \"reason\": \"AlreadyExists\"\n}Account Type : Standard_LRS\nCreation Time : 2016-04-06T21:44:48.400791+00:00\nCustom Domain : None\nId : /subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/travistestresourcegroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount02\nLast Geo Failover Time : None\nLocation : westus\nName : teststorageaccount02\nPrimary Location : westus\nProvisioning State : Succeeded\nResource Group : travistestresourcegroup\nSecondary Endpoints : None\nSecondary Location : None\nStatus Of Primary : Available\nStatus Of Secondary : None\nType : Microsoft.Storage/storageAccounts\nPrimary Endpoints :\n Blob : https://teststorageaccount02.blob.core.windows.net/\n File : https://teststorageaccount02.file.core.windows.net/\n Queue : https://teststorageaccount02.queue.core.windows.net/\n Table : https://teststorageaccount02.table.core.windows.net/\nTags :\n Cat : \n Foo : bar\n\nAccount Type : Standard_LRS\nCreation Time : 2016-03-15T23:03:02.798406+00:00\nCustom Domain : None\nId : /subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/travistestresourcegroup/providers/Microsoft.Storage/storageAccounts/travistestresourcegr3014\nLast Geo Failover Time : None\nLocation : westus\nName : travistestresourcegr3014\nPrimary Location : westus\nProvisioning State : Succeeded\nResource Group : travistestresourcegroup\nSecondary Endpoints : None\nSecondary Location : None\nStatus Of Primary : Available\nStatus Of Secondary : None\nType : Microsoft.Storage/storageAccounts\nPrimary Endpoints :\n Blob : https://travistestresourcegr3014.blob.core.windows.net/\n File : https://travistestresourcegr3014.file.core.windows.net/\n Queue : https://travistestresourcegr3014.queue.core.windows.net/\n Table : https://travistestresourcegr3014.table.core.windows.net/\nTags :\n None :{\n \"accountType\": \"Standard_LRS\",\n \"creationTime\": \"2016-03-15T23:03:02.798406+00:00\",\n \"customDomain\": null,\n \"id\": \"/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/travistestresourcegroup/providers/Microsoft.Storage/storageAccounts/travistestresourcegr3014\",\n \"lastGeoFailoverTime\": null,\n \"location\": \"westus\",\n \"name\": \"travistestresourcegr3014\",\n \"primaryEndpoints\": {\n \"blob\": \"https://travistestresourcegr3014.blob.core.windows.net/\",\n \"file\": \"https://travistestresourcegr3014.file.core.windows.net/\",\n \"queue\": \"https://travistestresourcegr3014.queue.core.windows.net/\",\n \"table\": \"https://travistestresourcegr3014.table.core.windows.net/\"\n },\n \"primaryLocation\": \"westus\",\n \"provisioningState\": \"Succeeded\",\n \"resourceGroup\": \"travistestresourcegroup\",\n \"secondaryEndpoints\": null,\n \"secondaryLocation\": null,\n \"statusOfPrimary\": \"Available\",\n \"statusOfSecondary\": null,\n \"tags\": {\n \"none\": \"\"\n },\n \"type\": \"Microsoft.Storage/storageAccounts\"\n}Current Value : 24\nLimit : 100\nUnit : Count\nName :\n Localized Value : Storage Accounts\n Value : StorageAccountsConnection String : DefaultEndpointsProtocol=http;AccountName=travistestresourcegr3014;AccountKey=JkRtgDjetq6iycFaKE4+e3wB9SiXfAvMsDsO5X686HfSi6JwAqlUP6QknLHZ+k6Lhq5oqIpXmm5UGKok+ZUtCw==Key1 : JkRtgDjetq6iycFaKE4+e3wB9SiXfAvMsDsO5X686HfSi6JwAqlUP6QknLHZ+k6Lhq5oqIpXmm5UGKok+ZUtCw==\nKey2 : rM3xrLXuSWc0HBxZT1lhjAc5O5bTwt2SLtPGj7YaAIg8mTKq5nQt1GL2rVQiekpRN/dj/SYAXu97zODJk4p0FA==Key1 : bS6hAGAby+Fmd1IOFDXY0ecODd3HpsF9TDq/5bXPKqWljxw1IGg+cmKOGj4Miz/FmKbekGq9pfYn0UWmalNqjg==\nKey2 : R87VicQSK08sryhbetl2B6wPvTe4hN22+gkNXZNFILZ87W3JjvXVrurj5wAk0euklr1K1GM8nE9LxG0XUjFD+A==Key1 : bS6hAGAby+Fmd1IOFDXY0ecODd3HpsF9TDq/5bXPKqWljxw1IGg+cmKOGj4Miz/FmKbekGq9pfYn0UWmalNqjg==\nKey2 : eTo8lfCl/0Ka2pYus+iMLTTjEBKAg4vYV+UFcb7ZEsTK4uQ9Q4u2dnvY5AblYFlvaeKNjiPhKIHfjTpRj+4S1Q=={\n \"accountType\": null,\n \"creationTime\": null,\n \"customDomain\": null,\n \"id\": null,\n \"lastGeoFailoverTime\": null,\n \"location\": null,\n \"name\": null,\n \"primaryEndpoints\": null,\n \"primaryLocation\": null,\n \"provisioningState\": null,\n \"secondaryEndpoints\": null,\n \"secondaryLocation\": null,\n \"statusOfPrimary\": null,\n \"statusOfSecondary\": null,\n \"tags\": {\n \"cat\": \"\",\n \"foo\": \"bar\"\n },\n \"type\": null\n}{\n \"accountType\": null,\n \"creationTime\": null,\n \"customDomain\": null,\n \"id\": null,\n \"lastGeoFailoverTime\": null,\n \"location\": null,\n \"name\": null,\n \"primaryEndpoints\": null,\n \"primaryLocation\": null,\n \"provisioningState\": null,\n \"secondaryEndpoints\": null,\n \"secondaryLocation\": null,\n \"statusOfPrimary\": null,\n \"statusOfSecondary\": null,\n \"tags\": {\n \"none\": \"\"\n },\n \"type\": null\n}{\n \"accountType\": \"Standard_GRS\",\n \"creationTime\": null,\n \"customDomain\": null,\n \"id\": null,\n \"lastGeoFailoverTime\": null,\n \"location\": null,\n \"name\": null,\n \"primaryEndpoints\": null,\n \"primaryLocation\": null,\n \"provisioningState\": null,\n \"secondaryEndpoints\": null,\n \"secondaryLocation\": null,\n \"statusOfPrimary\": null,\n \"statusOfSecondary\": null,\n \"tags\": null,\n \"type\": null\n}", + "test_mystical_test": "{\n \"metadata\": {},\n \"name\": \"testcontainer02\",\n \"properties\": {\n \"etag\": \"\\\"0x8D369FBFC20F488\\\"\",\n \"lastModified\": \"2016-04-21T15:45:37+00:00\",\n \"lease\": {\n \"duration\": null,\n \"state\": \"available\",\n \"status\": \"unlocked\"\n }\n }\n}\"True\"", + "test_storage_account": "{\n \"message\": null,\n \"nameAvailable\": true,\n \"reason\": null\n}{\n \"message\": \"The storage account named travistestresourcegr3014 is already taken.\",\n \"nameAvailable\": false,\n \"reason\": \"AlreadyExists\"\n}Account Type : Standard_LRS\nCreation Time : 2016-04-06T21:44:48.400791+00:00\nCustom Domain : None\nId : /subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/travistestresourcegroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount02\nLast Geo Failover Time : None\nLocation : westus\nName : teststorageaccount02\nPrimary Location : westus\nProvisioning State : Succeeded\nResource Group : travistestresourcegroup\nSecondary Endpoints : None\nSecondary Location : None\nStatus Of Primary : Available\nStatus Of Secondary : None\nType : Microsoft.Storage/storageAccounts\nPrimary Endpoints :\n Blob : https://teststorageaccount02.blob.core.windows.net/\n File : https://teststorageaccount02.file.core.windows.net/\n Queue : https://teststorageaccount02.queue.core.windows.net/\n Table : https://teststorageaccount02.table.core.windows.net/\nTags :\n Cat : \n Foo : bar\n\nAccount Type : Standard_LRS\nCreation Time : 2016-03-15T23:03:02.798406+00:00\nCustom Domain : None\nId : /subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/travistestresourcegroup/providers/Microsoft.Storage/storageAccounts/travistestresourcegr3014\nLast Geo Failover Time : None\nLocation : westus\nName : travistestresourcegr3014\nPrimary Location : westus\nProvisioning State : Succeeded\nResource Group : travistestresourcegroup\nSecondary Endpoints : None\nSecondary Location : None\nStatus Of Primary : Available\nStatus Of Secondary : None\nType : Microsoft.Storage/storageAccounts\nPrimary Endpoints :\n Blob : https://travistestresourcegr3014.blob.core.windows.net/\n File : https://travistestresourcegr3014.file.core.windows.net/\n Queue : https://travistestresourcegr3014.queue.core.windows.net/\n Table : https://travistestresourcegr3014.table.core.windows.net/\nTags :\n None :{\n \"accountType\": \"Standard_LRS\",\n \"creationTime\": \"2016-03-15T23:03:02.798406+00:00\",\n \"customDomain\": null,\n \"id\": \"/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/travistestresourcegroup/providers/Microsoft.Storage/storageAccounts/travistestresourcegr3014\",\n \"lastGeoFailoverTime\": null,\n \"location\": \"westus\",\n \"name\": \"travistestresourcegr3014\",\n \"primaryEndpoints\": {\n \"blob\": \"https://travistestresourcegr3014.blob.core.windows.net/\",\n \"file\": \"https://travistestresourcegr3014.file.core.windows.net/\",\n \"queue\": \"https://travistestresourcegr3014.queue.core.windows.net/\",\n \"table\": \"https://travistestresourcegr3014.table.core.windows.net/\"\n },\n \"primaryLocation\": \"westus\",\n \"provisioningState\": \"Succeeded\",\n \"resourceGroup\": \"travistestresourcegroup\",\n \"secondaryEndpoints\": null,\n \"secondaryLocation\": null,\n \"statusOfPrimary\": \"Available\",\n \"statusOfSecondary\": null,\n \"tags\": {\n \"none\": \"\"\n },\n \"type\": \"Microsoft.Storage/storageAccounts\"\n}Current Value : 24\nLimit : 100\nUnit : Count\nName :\n Localized Value : Storage Accounts\n Value : StorageAccountsConnection String : DefaultEndpointsProtocol=http;AccountName=travistestresourcegr3014;AccountKey=bS6hAGAby+Fmd1IOFDXY0ecODd3HpsF9TDq/5bXPKqWljxw1IGg+cmKOGj4Miz/FmKbekGq9pfYn0UWmalNqjg==Key1 : bS6hAGAby+Fmd1IOFDXY0ecODd3HpsF9TDq/5bXPKqWljxw1IGg+cmKOGj4Miz/FmKbekGq9pfYn0UWmalNqjg==\nKey2 : eTo8lfCl/0Ka2pYus+iMLTTjEBKAg4vYV+UFcb7ZEsTK4uQ9Q4u2dnvY5AblYFlvaeKNjiPhKIHfjTpRj+4S1Q==Key1 : JEIMBJEKJrxFaogTm5oUWIFaCuKtejn3+xd3WEghdJkL/5nIob3QTsVIeqatUle990Un3elwefnGfyIJ76dOTg==\nKey2 : PbED6olEyOBcaGWpqe1wv5fDydEWxCULPUzjRz9bqOKGom1U2UgAQ6Q4csA/G24dCDzUJNo/TyAkBUC760+TwQ==Key1 : JEIMBJEKJrxFaogTm5oUWIFaCuKtejn3+xd3WEghdJkL/5nIob3QTsVIeqatUle990Un3elwefnGfyIJ76dOTg==\nKey2 : 6lVCvLKCss/aA4CifETSqpX3DEO0xC5c2vNnH4TAHKvvgO2YLz1/4NuYb700IZ+0GZ/px1J4lZNYL9YHnsO8SQ=={\n \"accountType\": null,\n \"creationTime\": null,\n \"customDomain\": null,\n \"id\": null,\n \"lastGeoFailoverTime\": null,\n \"location\": null,\n \"name\": null,\n \"primaryEndpoints\": null,\n \"primaryLocation\": null,\n \"provisioningState\": null,\n \"secondaryEndpoints\": null,\n \"secondaryLocation\": null,\n \"statusOfPrimary\": null,\n \"statusOfSecondary\": null,\n \"tags\": {\n \"cat\": \"\",\n \"foo\": \"bar\"\n },\n \"type\": null\n}{\n \"accountType\": null,\n \"creationTime\": null,\n \"customDomain\": null,\n \"id\": null,\n \"lastGeoFailoverTime\": null,\n \"location\": null,\n \"name\": null,\n \"primaryEndpoints\": null,\n \"primaryLocation\": null,\n \"provisioningState\": null,\n \"secondaryEndpoints\": null,\n \"secondaryLocation\": null,\n \"statusOfPrimary\": null,\n \"statusOfSecondary\": null,\n \"tags\": {\n \"none\": \"\"\n },\n \"type\": null\n}{\n \"accountType\": \"Standard_GRS\",\n \"creationTime\": null,\n \"customDomain\": null,\n \"id\": null,\n \"lastGeoFailoverTime\": null,\n \"location\": null,\n \"name\": null,\n \"primaryEndpoints\": null,\n \"primaryLocation\": null,\n \"provisioningState\": null,\n \"secondaryEndpoints\": null,\n \"secondaryLocation\": null,\n \"statusOfPrimary\": null,\n \"statusOfSecondary\": null,\n \"tags\": null,\n \"type\": null\n}", "test_storage_account_delete": "", - "test_storage_blob": "{\n \"metadata\": {},\n \"name\": \"testcontainer01\",\n \"properties\": {\n \"etag\": \"\\\"0x8D36970514D55BB\\\"\",\n \"lastModified\": \"2016-04-20T23:05:51+00:00\",\n \"lease\": {\n \"duration\": null,\n \"state\": \"available\",\n \"status\": \"unlocked\"\n }\n }\n}Next Marker : \nItems :\n Metadata : None\n Name : bootdiagnostics-testvm234-8bc8e6e1-9728-4540-b2a3-7f741fdd4609\n Properties :\n Etag : \"0x8D34D260EA39931\"\n Last Modified : 2016-03-15T23:03:43+00:00\n Lease Duration : None\n Lease State : available\n Lease Status : unlocked\n Lease :\n Duration : None\n State : None\n Status : None\n Metadata : None\n Name : testcontainer01\n Properties :\n Etag : \"0x8D36970514D55BB\"\n Last Modified : 2016-04-20T23:05:51+00:00\n Lease Duration : None\n Lease State : available\n Lease Status : unlocked\n Lease :\n Duration : None\n State : None\n Status : None\n Metadata : None\n Name : testcontainer03\n Properties :\n Etag : \"0x8D363EDD07E5CE2\"\n Last Modified : 2016-04-13T22:49:04+00:00\n Lease Duration : None\n Lease State : available\n Lease Status : unlocked\n Lease :\n Duration : None\n State : None\n Status : None\n Metadata : None\n Name : testcontainer1234\n Properties :\n Etag : \"0x8D363EDCB2D35D1\"\n Last Modified : 2016-04-13T22:48:55+00:00\n Lease Duration : None\n Lease State : expired\n Lease Status : unlocked\n Lease :\n Duration : None\n State : None\n Status : None\n Metadata : None\n Name : vhds\n Properties :\n Etag : \"0x8D34D260EEA5070\"\n Last Modified : 2016-03-15T23:03:44+00:00\n Lease Duration : infinite\n Lease State : leased\n Lease Status : locked\n Lease :\n Duration : None\n State : None\n Status : None{\n \"foo\": \"bar\",\n \"moo\": \"bak\"\n}{\n \"metadata\": {},\n \"name\": \"testcontainer01\",\n \"properties\": {\n \"etag\": \"\\\"0x8D36970520E4F81\\\"\",\n \"lastModified\": \"2016-04-20T23:05:52+00:00\",\n \"lease\": {\n \"duration\": \"fixed\",\n \"state\": \"leased\",\n \"status\": \"locked\"\n }\n }\n}{\n \"metadata\": {},\n \"name\": \"testcontainer01\",\n \"properties\": {\n \"etag\": \"\\\"0x8D36970520E4F81\\\"\",\n \"lastModified\": \"2016-04-20T23:05:52+00:00\",\n \"lease\": {\n \"duration\": \"fixed\",\n \"state\": \"leased\",\n \"status\": \"locked\"\n }\n }\n}{\n \"metadata\": {},\n \"name\": \"testcontainer01\",\n \"properties\": {\n \"etag\": \"\\\"0x8D36970520E4F81\\\"\",\n \"lastModified\": \"2016-04-20T23:05:52+00:00\",\n \"lease\": {\n \"duration\": null,\n \"state\": \"breaking\",\n \"status\": \"locked\"\n }\n }\n}{\n \"metadata\": {},\n \"name\": \"testcontainer01\",\n \"properties\": {\n \"etag\": \"\\\"0x8D36970520E4F81\\\"\",\n \"lastModified\": \"2016-04-20T23:05:52+00:00\",\n \"lease\": {\n \"duration\": null,\n \"state\": \"available\",\n \"status\": \"unlocked\"\n }\n }\n}\"False\"", - "test_storage_file": "truetrue{\n \"cat\": \"hat\",\n \"foo\": \"bar\"\n}Next Marker : None\nItems :\n Metadata : None\n Name : testshare01\n Properties :\n Etag : \"0x8D3697058520FE3\"\n Last Modified : 2016-04-20T23:06:02+00:00\n Quota : 5120\n Metadata : None\n Name : testshare02\n Properties :\n Etag : \"0x8D3697058B40DAD\"\n Last Modified : 2016-04-20T23:06:03+00:00\n Quota : 5120\n Metadata : None\n Name : testshare03\n Properties :\n Etag : \"0x8D35FFBF0F5F48F\"\n Last Modified : 2016-04-08T22:20:07+00:00\n Quota : 5120{\n \"a\": \"b\",\n \"c\": \"d\"\n}Next Marker : None\nItems :\n Content : None\n Metadata : None\n Name : testfile.rst\n Properties :\n Content Length : 78\n Etag : None\n Last Modified : None\n Content Settings :\n Cache Control : None\n Content Disposition : None\n Content Encoding : None\n Content Language : None\n Content Md5 : None\n Content Type : None\n Copy :\n Completion Time : None\n Id : None\n Progress : None\n Source : None\n Status : None\n Status Description : None\"False\"trueTrue{\n \"a\": \"b\",\n \"c\": \"d\"\n}Next Marker : None\nItems :\n Content : None\n Metadata : None\n Name : testfile.rst\n Properties :\n Content Length : 78\n Etag : None\n Last Modified : None\n Content Settings :\n Cache Control : None\n Content Disposition : None\n Content Encoding : None\n Content Language : None\n Content Md5 : None\n Content Type : None\n Copy :\n Completion Time : None\n Id : None\n Progress : None\n Source : None\n Status : None\n Status Description : None\"False\"true\"False\"true{\n \"cat\": \"hat\",\n \"foo\": \"bar\"\n}true" + "test_storage_blob": "true{\n \"metadata\": {},\n \"name\": \"testcontainer01\",\n \"properties\": {\n \"etag\": \"\\\"0x8D36A083446ED2C\\\"\",\n \"lastModified\": \"2016-04-21T17:13:05+00:00\",\n \"lease\": {\n \"duration\": null,\n \"state\": \"available\",\n \"status\": \"unlocked\"\n }\n }\n}Next Marker : \nItems :\n Metadata : None\n Name : bootdiagnostics-testvm234-8bc8e6e1-9728-4540-b2a3-7f741fdd4609\n Properties :\n Etag : \"0x8D34D260EA39931\"\n Last Modified : 2016-03-15T23:03:43+00:00\n Lease Duration : None\n Lease State : available\n Lease Status : unlocked\n Lease :\n Duration : None\n State : None\n Status : None\n Metadata : None\n Name : testcontainer01\n Properties :\n Etag : \"0x8D36A083446ED2C\"\n Last Modified : 2016-04-21T17:13:05+00:00\n Lease Duration : None\n Lease State : available\n Lease Status : unlocked\n Lease :\n Duration : None\n State : None\n Status : None\n Metadata : None\n Name : testcontainer03\n Properties :\n Etag : \"0x8D363EDD07E5CE2\"\n Last Modified : 2016-04-13T22:49:04+00:00\n Lease Duration : None\n Lease State : available\n Lease Status : unlocked\n Lease :\n Duration : None\n State : None\n Status : None\n Metadata : None\n Name : testcontainer1234\n Properties :\n Etag : \"0x8D363EDCB2D35D1\"\n Last Modified : 2016-04-13T22:48:55+00:00\n Lease Duration : None\n Lease State : expired\n Lease Status : unlocked\n Lease :\n Duration : None\n State : None\n Status : None\n Metadata : None\n Name : vhds\n Properties :\n Etag : \"0x8D34D260EEA5070\"\n Last Modified : 2016-03-15T23:03:44+00:00\n Lease Duration : infinite\n Lease State : leased\n Lease Status : locked\n Lease :\n Duration : None\n State : None\n Status : None{\n \"foo\": \"bar\",\n \"moo\": \"bak\"\n}{\n \"metadata\": {},\n \"name\": \"testcontainer01\",\n \"properties\": {\n \"etag\": \"\\\"0x8D36A083446ED2E\\\"\",\n \"lastModified\": \"2016-04-21T17:13:05+00:00\",\n \"lease\": {\n \"duration\": \"fixed\",\n \"state\": \"leased\",\n \"status\": \"locked\"\n }\n }\n}{\n \"metadata\": {},\n \"name\": \"testcontainer01\",\n \"properties\": {\n \"etag\": \"\\\"0x8D36A083446ED2E\\\"\",\n \"lastModified\": \"2016-04-21T17:13:05+00:00\",\n \"lease\": {\n \"duration\": \"fixed\",\n \"state\": \"leased\",\n \"status\": \"locked\"\n }\n }\n}{\n \"metadata\": {},\n \"name\": \"testcontainer01\",\n \"properties\": {\n \"etag\": \"\\\"0x8D36A083446ED2E\\\"\",\n \"lastModified\": \"2016-04-21T17:13:05+00:00\",\n \"lease\": {\n \"duration\": null,\n \"state\": \"breaking\",\n \"status\": \"locked\"\n }\n }\n}{\n \"metadata\": {},\n \"name\": \"testcontainer01\",\n \"properties\": {\n \"etag\": \"\\\"0x8D36A083446ED2E\\\"\",\n \"lastModified\": \"2016-04-21T17:13:05+00:00\",\n \"lease\": {\n \"duration\": null,\n \"state\": \"available\",\n \"status\": \"unlocked\"\n }\n }\n}true", + "test_storage_file": "truetrue\"True\"{\n \"cat\": \"hat\",\n \"foo\": \"bar\"\n}Next Marker : None\nItems :\n Metadata : None\n Name : testshare01\n Properties :\n Etag : \"0x8D369FCC1E8F332\"\n Last Modified : 2016-04-21T15:51:09+00:00\n Quota : 5120\n Metadata : None\n Name : testshare02\n Properties :\n Etag : \"0x8D369FCC23AEE73\"\n Last Modified : 2016-04-21T15:51:10+00:00\n Quota : 5120\n Metadata : None\n Name : testshare03\n Properties :\n Etag : \"0x8D35FFBF0F5F48F\"\n Last Modified : 2016-04-08T22:20:07+00:00\n Quota : 5120{\n \"a\": \"b\",\n \"c\": \"d\"\n}\"True\"Next Marker : None\nItems :\n Content : None\n Metadata : None\n Name : testfile.rst\n Properties :\n Content Length : 78\n Etag : None\n Last Modified : None\n Content Settings :\n Cache Control : None\n Content Disposition : None\n Content Encoding : None\n Content Language : None\n Content Md5 : None\n Content Type : None\n Copy :\n Completion Time : None\n Id : None\n Progress : None\n Source : None\n Status : None\n Status Description : None\"False\"true\"True\"{\n \"a\": \"b\",\n \"c\": \"d\"\n}\"True\"Next Marker : None\nItems :\n Content : None\n Metadata : None\n Name : testfile.rst\n Properties :\n Content Length : 78\n Etag : None\n Last Modified : None\n Content Settings :\n Cache Control : None\n Content Disposition : None\n Content Encoding : None\n Content Language : None\n Content Md5 : None\n Content Type : None\n Copy :\n Completion Time : None\n Id : None\n Progress : None\n Source : None\n Status : None\n Status Description : None\"False\"true\"False\"true{\n \"cat\": \"hat\",\n \"foo\": \"bar\"\n}true" } \ No newline at end of file diff --git a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_account.yaml b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_account.yaml index e5c2fd970..394e171d9 100644 --- a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_account.yaml +++ b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_account.yaml @@ -24,7 +24,7 @@ interactions: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:20 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:37 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] @@ -57,7 +57,7 @@ interactions: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:20 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:36 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] @@ -94,7 +94,7 @@ interactions: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:21 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:37 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] @@ -129,7 +129,7 @@ interactions: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:21 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:38 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] @@ -160,7 +160,7 @@ interactions: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:21 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:38 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] @@ -185,15 +185,15 @@ interactions: string: !!binary | H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR2/z - 692PHn30nbev2ounP523v+jT4nr6LPu9Tvc/ye9dPXn4uvi9z48vv2ieNl/e/70/Pfj02+evi0+/ - c3X8i8qvXn76E2+Xz7/9U5+8/fT5/Bfdr37R2er3Xizuf/X571W9/eSnvmpPrj777KMRetijHuov - 7r2rn//e69ffne58+8m7n3qzW85/+nh6/8v7kzdX7d7r5+3Lz3/6we+THZ9dHCze/F6/6P7yJ9rd - z5/v1T/5E0X+dvXqxd3ZT999/fsc/97rhw9+8OXT77zdX+08O6Yefkny/wDkJfZqxgAAAA== + 692PHn00ef3p/Pjz48n1J88Ws92zL589/b1/n518+uXT2b1vr5pnD988/UV3709+75e/1y/6bvnT + 7652zz6/+GS6+L2+/Pyn978ofnD32eL3muRvP/9FD1fnv89y56vvLrLyxS/66YvPPvtohB72qIf8 + TXVQnp+Ud3d+r2xv9fusm0+KL56/efPTp09+r+OL/cvf5yc/+erZdPLgp06bN7/X/vonHv7E/npv + trz8fe4fT8rf51l5meW/14ufLl7Of6+zb5//9JvVq5/+ZP/17k9QD78k+X8AUZ1E08YAAAA= headers: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:22 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:39 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] @@ -219,15 +219,15 @@ interactions: string: !!binary | H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR2/z - 692PHn30nbev2ounP523v+jT4nr6LPu9Tvc/ye9dPXn4uvi9z48vv2ieNl/e/70/Pfj02+evi0+/ - c3X8i8qvXn76E2+Xz7/9U5+8/fT5/Bfdr37R2er3Xizuf/X571W9/eSnvmpPrj777KMRetijHuov - 7r2rn//e69ffne58+8m7n3qzW85/+nh6/8v7kzdX7d7r5+3Lz3/6we+THZ9dHCze/F6/6P7yJ9rd - z5/v1T/5E0X+dvXqxd3ZT999/fsc/97rhw9+8OXT77zdX+08O6Yefkny/wDkJfZqxgAAAA== + 692PHn00ef3p/Pjz48n1J88Ws92zL589/b1/n518+uXT2b1vr5pnD988/UV3709+75e/1y/6bvnT + 7652zz6/+GS6+L2+/Pyn978ofnD32eL3muRvP/9FD1fnv89y56vvLrLyxS/66YvPPvtohB72qIf8 + TXVQnp+Ud3d+r2xv9fusm0+KL56/efPTp09+r+OL/cvf5yc/+erZdPLgp06bN7/X/vonHv7E/npv + trz8fe4fT8rf51l5meW/14ufLl7Of6+zb5//9JvVq5/+ZP/17k9QD78k+X8AUZ1E08YAAAA= headers: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:22 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:39 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] @@ -254,15 +254,15 @@ interactions: string: !!binary | H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR2/z - 692PHn00ef3p/Pjz48n1J88Ws92zL589/b1/n518+uXT2b1vr5pnD988/UV3709+75e/1y/6bvnT - 7652zz6/+GS6+L2+/Pyn978ofnD32eL3muRvP/9FD1fnv89y56vvLrLyxS/66YvPPvtohB72qIf6 - i3vv6ue/9/r1d6c7337y7qfe7Jbznz6e3v/y/uTNVbv3+nn78vOffvD7ZMdnFweLN7/XL7q//Il2 - 9/Pne/VP/kSRv129enF39tN3X/8+x7/3+uGDH3z59Dtv91c7z46ph1+S/D/vkcHYxgAAAA== + 692PHn30ndOzL5585/T3+k797llWXbxZ3K+++u7Zs+xk/Xu1+U8v733ybnbvu6cX89l33j6/e395 + Vk3u/cSb5ifP8l+UtV+V+cOHO18t7+XlVX6+/Pz8+uw7Dz6dffnm4rPPPhqhhz3qIX9THZTnJ+Xd + nd8r21v9Puvmk+KL52/e/PTpk9/r+GL/8vf5yU++ejadPPip0+bN77W//omHP7G/3pstL3+f+8eT + 8vd5Vl5m+e/14qeLl/Pf6+zb5z/9ZvXqpz/Zf737E9TDL0n+H47VxdDGAAAA headers: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:23 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:40 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] @@ -289,21 +289,21 @@ interactions: string: !!binary | H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR2/z - 692PHn00ef3p/Pjz48n1J88Ws92zL589/b1/n518+uXT2b1vr5pnD988/UV3709+75e/1y/6bvnT - 7652zz6/+GS6+L2+/Pyn978ofnD32eL3muRvP/9FD1fnv89y56vvLrLyxS/66YvPPvtohB72qIdX - Bw9+spj+xOvfa+egqa/nk7wt9558evXy8k2+P3+xt/fJxdsXv/dPvXh29vynDh589953fvry9/7J - el3/9P2r47c7+fptWe/+Xruff3GwPH34/N3nO7/3Vz/97Oknx9TDL0n+H4HCwXbGAAAA + 692PHn30ndOzL5585/T3+k797llWXbxZ3K+++u7Zs+xk/Xu1+U8v733ybnbvu6cX89l33j6/e395 + Vk3u/cSb5ifP8l+UtV+V+cOHO18t7+XlVX6+/Pz8+uw7Dz6dffnm4rPPPhqhhz3q4eXk9OmnVXl6 + /eWTafb5d1e/KN+9urx//vR6dvrddydfPX/51Q9++tUPHk5+0Ze/1+fVYverva8ujn/i05/YnzbH + dz/f25+dPP3BV995Ud19c3389slXJw8+3fnkzdVPUA+/JPl/AKCBo2PGAAAA headers: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:25 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:42 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: !!binary | @@ -324,15 +324,15 @@ interactions: string: !!binary | H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR2/z - 692PHn00ef3p/Pjz48n1J88Ws92zL589/b1/n518+uXT2b1vr5pnD988/UV3709+75e/1y/6bvnT - 7652zz6/+GS6+L2+/Pyn978ofnD32eL3muRvP/9FD1fnv89y56vvLrLyxS/66YvPPvtohB72qIf8 - TXVQnp+Ud3d+r2xv9fusm0+KL56/efPTp09+r+OL/cvf5yc/+erZdPLgp06bN7/X/vonHv7E/npv - trz8fe4fT8rf51l5meW/14ufLl7Of6+zb5//9JvVq5/+ZP/17k9QD78k+X8AUZ1E08YAAAA= + 692PHn30ndOzL5585/T3+k797llWXbxZ3K+++u7Zs+xk/Xu1+U8v733ybnbvu6cX89l33j6/e395 + Vk3u/cSb5ifP8l+UtV+V+cOHO18t7+XlVX6+/Pz8+uw7Dz6dffnm4rPPPhqhhz3q4dPyJ08un/9e + J01zNzvePynOT9+8/kWr3/ve09Mvd96d3J/uXb5Yfnv/zfG3f6/Ly4sv936f5z/Yvbv/Yv37TB7s + 7Jz91Cc7n//U3dW73e/slz/14vd5/vD3+fay+fLg9U9QD78k+X8A3gUyfsYAAAA= headers: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:40 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:43 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] @@ -364,13 +364,13 @@ interactions: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:43 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:48 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: !!binary | @@ -396,13 +396,13 @@ interactions: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:45 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:51 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: !!binary | @@ -428,13 +428,13 @@ interactions: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:46 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:52 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: !!binary | @@ -460,12 +460,12 @@ interactions: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:47 GMT'] + Date: ['Thu, 21 Apr 2016 15:50:53 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} version: 1 diff --git a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_blob.yaml b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_blob.yaml index e0e926193..f65eb6e5b 100644 --- a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_blob.yaml +++ b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_blob.yaml @@ -17,21 +17,21 @@ interactions: string: !!binary | H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR2/z - 692PHn30nbev2ounP523v+jT4nr6LPu9Tvc/ye9dPXn4uvi9z48vv2ieNl/e/70/Pfj02+evi0+/ - c3X8i8qvXn76E2+Xz7/9U5+8/fT5/Bfdr37R2er3Xizuf/X571W9/eSnvmpPrj777KMRetijHuov - 7r2rn//e69ffne58+8m7n3qzW85/+nh6/8v7kzdX7d7r5+3Lz3/6we+THZ9dHCze/F6/6P7yJ9rd - z5/v1T/5E0X+dvXqxd3ZT999/fsc/97rhw9+8OXT77zdX+08O6Yefkny/wDkJfZqxgAAAA== + 692PHn30ndOzL5585/T3+k797llWXbxZ3K+++u7Zs+xk/Xu1+U8v733ybnbvu6cX89l33j6/e395 + Vk3u/cSb5ifP8l+UtV+V+cOHO18t7+XlVX6+/Pz8+uw7Dz6dffnm4rPPPhqhhz3q4dPyJ08un/9e + J01zNzvePynOT9+8/kWr3/ve09Mvd96d3J/uXb5Yfnv/zfG3f6/Ly4sv936f5z/Yvbv/Yv37TB7s + 7Jz91Cc7n//U3dW73e/slz/14vd5/vD3+fay+fLg9U9QD78k+X8A3gUyfsYAAAA= headers: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:05:49 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:02 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -40,18 +40,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:50 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:02 GMT'] x-ms-version: ['2015-04-05'] method: DELETE - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: "\uFEFFContainerNotFoundThe\ - \ specified container does not exist.\nRequestId:b2f628ff-0001-0121-1c59-9b9180000000\n\ - Time:2016-04-20T23:05:50.9979495Z"} + \ specified container does not exist.\nRequestId:001fc907-0001-0067-43f1-9b0943000000\n\ + Time:2016-04-21T17:13:02.2453422Z"} headers: Content-Length: ['225'] Content-Type: [application/xml] - Date: ['Wed, 20 Apr 2016 23:05:50 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:01 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 404, message: The specified container does not exist.} @@ -61,18 +61,18 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:50 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:02 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container response: body: {string: "\uFEFFResourceNotFoundThe\ - \ specified resource does not exist.\nRequestId:f15ab952-0001-0056-0759-9b5294000000\n\ - Time:2016-04-20T23:05:51.4017350Z"} + \ specified resource does not exist.\nRequestId:7ccc5bed-0001-00c0-37f1-9b30a0000000\n\ + Time:2016-04-21T17:13:02.4867363Z"} headers: Content-Length: ['223'] Content-Type: [application/xml] - Date: ['Wed, 20 Apr 2016 23:05:50 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:02 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 404, message: The specified resource does not exist.} @@ -83,16 +83,16 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:51 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:02 GMT'] x-ms-version: ['2015-04-05'] method: PUT - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:50 GMT'] - ETag: ['"0x8D36970514D55BB"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:51 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:05 GMT'] + ETag: ['"0x8D36A083446ED2C"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 201, message: Created} @@ -102,16 +102,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:51 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:02 GMT'] x-ms-version: ['2015-04-05'] method: GET - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:51 GMT'] - ETag: ['"0x8D36970514D55BB"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:51 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:02 GMT'] + ETag: ['"0x8D36A083446ED2C"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] @@ -123,23 +123,23 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:51 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:02 GMT'] x-ms-version: ['2015-04-05'] method: GET - uri: https://travistestresourcegr3014.blob.core.windows.net/?comp=list&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/?comp=list&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: "\uFEFFbootdiagnostics-testvm234-8bc8e6e1-9728-4540-b2a3-7f741fdd4609Tue,\ - \ 15 Mar 2016 23:03:43 GMT\"0x8D34D260EA39931\"unlockedavailabletestcontainer01Wed,\ - \ 20 Apr 2016 23:05:51 GMT\"0x8D36970514D55BB\"unlockedavailabletestcontainer03Wed,\ + \ 15 Mar 2016 23:03:43 GMT\"0x8D34D260EA39931\"unlockedavailabletestcontainer01Thu,\ + \ 21 Apr 2016 17:13:05 GMT\"0x8D36A083446ED2C\"unlockedavailabletestcontainer03Wed,\ \ 13 Apr 2016 22:49:04 GMT\"0x8D363EDD07E5CE2\"unlockedavailabletestcontainer1234Wed,\ \ 13 Apr 2016 22:48:55 GMT\"0x8D363EDCB2D35D1\"unlockedexpiredvhdsTue,\ \ 15 Mar 2016 23:03:44 GMT\"0x8D34D260EEA5070\"lockedleasedinfinite"} headers: Content-Type: [application/xml] - Date: ['Wed, 20 Apr 2016 23:05:51 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:03 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -150,18 +150,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:51 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:03 GMT'] x-ms-meta-foo: [bar] x-ms-meta-moo: [bak] x-ms-version: ['2015-04-05'] method: PUT - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=metadata&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=metadata&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:51 GMT'] - ETag: ['"0x8D3697051D0744D"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:51 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:03 GMT'] + ETag: ['"0x8D36A083446ED2D"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -171,16 +171,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:52 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:03 GMT'] x-ms-version: ['2015-04-05'] method: GET - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=metadata&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=metadata&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:51 GMT'] - ETag: ['"0x8D3697051D0744D"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:51 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:03 GMT'] + ETag: ['"0x8D36A083446ED2D"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-meta-foo: [bar] x-ms-meta-moo: [bak] @@ -193,16 +193,16 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:52 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:03 GMT'] x-ms-version: ['2015-04-05'] method: PUT - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=metadata&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=metadata&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:51 GMT'] - ETag: ['"0x8D36970520E4F81"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:52 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:03 GMT'] + ETag: ['"0x8D36A083446ED2E"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -212,16 +212,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:52 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:03 GMT'] x-ms-version: ['2015-04-05'] method: GET - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=metadata&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=metadata&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:51 GMT'] - ETag: ['"0x8D36970520E4F81"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:52 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:03 GMT'] + ETag: ['"0x8D36A083446ED2E"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -233,19 +233,19 @@ interactions: Content-Length: ['0'] If-Modified-Since: ['Fri, 08 Apr 2016 12:00:00 GMT'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:52 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:04 GMT'] x-ms-lease-action: [acquire] x-ms-lease-duration: ['60'] x-ms-proposed-lease-id: [abcdabcd-abcd-abcd-abcd-abcdabcdabcd] x-ms-version: ['2015-04-05'] method: PUT - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=lease&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=lease&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:51 GMT'] - ETag: ['"0x8D36970520E4F81"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:52 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:03 GMT'] + ETag: ['"0x8D36A083446ED2E"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-lease-id: [abcdabcd-abcd-abcd-abcd-abcdabcdabcd] x-ms-version: ['2015-04-05'] @@ -256,16 +256,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:52 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:04 GMT'] x-ms-version: ['2015-04-05'] method: GET - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:52 GMT'] - ETag: ['"0x8D36970520E4F81"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:52 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:03 GMT'] + ETag: ['"0x8D36A083446ED2E"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-lease-duration: [fixed] x-ms-lease-state: [leased] @@ -279,19 +279,19 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:52 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:04 GMT'] x-ms-lease-action: [change] x-ms-lease-id: [abcdabcd-abcd-abcd-abcd-abcdabcdabcd] x-ms-proposed-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] x-ms-version: ['2015-04-05'] method: PUT - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=lease&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=lease&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:52 GMT'] - ETag: ['"0x8D36970520E4F81"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:52 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:04 GMT'] + ETag: ['"0x8D36A083446ED2E"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] x-ms-version: ['2015-04-05'] @@ -303,18 +303,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:53 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:04 GMT'] x-ms-lease-action: [renew] x-ms-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] x-ms-version: ['2015-04-05'] method: PUT - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=lease&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=lease&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:53 GMT'] - ETag: ['"0x8D36970520E4F81"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:52 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:05 GMT'] + ETag: ['"0x8D36A083446ED2E"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] x-ms-version: ['2015-04-05'] @@ -325,16 +325,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:53 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:04 GMT'] x-ms-version: ['2015-04-05'] method: GET - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:54 GMT'] - ETag: ['"0x8D36970520E4F81"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:52 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:05 GMT'] + ETag: ['"0x8D36A083446ED2E"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-lease-duration: [fixed] x-ms-lease-state: [leased] @@ -348,18 +348,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:53 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:05 GMT'] x-ms-lease-action: [break] x-ms-lease-break-period: ['30'] x-ms-version: ['2015-04-05'] method: PUT - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=lease&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=lease&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:53 GMT'] - ETag: ['"0x8D36970520E4F81"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:52 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:05 GMT'] + ETag: ['"0x8D36A083446ED2E"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-lease-time: ['30'] x-ms-version: ['2015-04-05'] @@ -370,16 +370,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:54 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:05 GMT'] x-ms-version: ['2015-04-05'] method: GET - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:54 GMT'] - ETag: ['"0x8D36970520E4F81"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:52 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:05 GMT'] + ETag: ['"0x8D36A083446ED2E"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-lease-state: [breaking] x-ms-lease-status: [locked] @@ -392,18 +392,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:54 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:05 GMT'] x-ms-lease-action: [release] x-ms-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] x-ms-version: ['2015-04-05'] method: PUT - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=lease&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&comp=lease&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:53 GMT'] - ETag: ['"0x8D36970520E4F81"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:52 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:05 GMT'] + ETag: ['"0x8D36A083446ED2E"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -413,16 +413,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:54 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:05 GMT'] x-ms-version: ['2015-04-05'] method: GET - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:53 GMT'] - ETag: ['"0x8D36970520E4F81"'] - Last-Modified: ['Wed, 20 Apr 2016 23:05:52 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:05 GMT'] + ETag: ['"0x8D36A083446ED2E"'] + Last-Modified: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] @@ -435,14 +435,14 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:54 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:06 GMT'] x-ms-version: ['2015-04-05'] method: DELETE - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:55 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 202, message: Accepted} @@ -452,18 +452,18 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:54 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:06 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container response: body: {string: "\uFEFFResourceNotFoundThe\ - \ specified resource does not exist.\nRequestId:d578e818-0001-00f3-0b59-9b698d000000\n\ - Time:2016-04-20T23:05:55.0371717Z"} + \ specified resource does not exist.\nRequestId:467c4fcb-0001-002c-72f1-9b38d9000000\n\ + Time:2016-04-21T17:13:05.9621730Z"} headers: Content-Length: ['223'] Content-Type: [application/xml] - Date: ['Wed, 20 Apr 2016 23:05:54 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:05 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 404, message: The specified resource does not exist.} @@ -474,14 +474,14 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:05:55 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 17:13:06 GMT'] x-ms-version: ['2015-04-05'] method: DELETE - uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&srt=sco&sp=rwdl&sig=WFZA1vkqjI/5RtNN8WAFhKSqb9C%2BMlk32tHCnAFwhrg%3D&se=2017-01-01T00%3A00Z&sv=2015-04-05&ss=b + uri: https://travistestresourcegr3014.blob.core.windows.net/testcontainer01?restype=container&ss=b&se=2017-01-01T00%3A00Z&sig=T396ngmZXHWIaIldo15i/kx2QUg9c1DDfGiNrWhdPiQ%3D&sp=rwdl&sv=2015-04-05&srt=sco response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:05:55 GMT'] + Date: ['Thu, 21 Apr 2016 17:13:06 GMT'] Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 202, message: Accepted} diff --git a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_file.yaml b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_file.yaml index 858151553..f65ed8ff6 100644 --- a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_file.yaml +++ b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_file.yaml @@ -17,21 +17,21 @@ interactions: string: !!binary | H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR2/z - 692PHn30nbev2ounP523v+jT4nr6LPu9Tvc/ye9dPXn4uvi9z48vv2ieNl/e/70/Pfj02+evi0+/ - c3X8i8qvXn76E2+Xz7/9U5+8/fT5/Bfdr37R2er3Xizuf/X571W9/eSnvmpPrj777KMRetijHuov - 7r2rn//e69ffne58+8m7n3qzW85/+nh6/8v7kzdX7d7r5+3Lz3/6we+THZ9dHCze/F6/6P7yJ9rd - z5/v1T/5E0X+dvXqxd3ZT999/fsc/97rhw9+8OXT77zdX+08O6Yefkny/wDkJfZqxgAAAA== + 692PHn30ndOzL5585/T3+k797llWXbxZ3K+++u7Zs+xk/Xu1+U8v733ybnbvu6cX89l33j6/e395 + Vk3u/cSb5ifP8l+UtV+V+cOHO18t7+XlVX6+/Pz8+uw7Dz6dffnm4rPPPhqhhz3q4dPyJ08un/9e + J01zNzvePynOT9+8/kWr3/ve09Mvd96d3J/uXb5Yfnv/zfG3f6/Ly4sv936f5z/Yvbv/Yv37TB7s + 7Jz91Cc7n//U3dW73e/slz/14vd5/vD3+fay+fLg9U9QD78k+X8A3gUyfsYAAAA= headers: Cache-Control: [no-cache] Content-Encoding: [gzip] Content-Type: [application/json] - Date: ['Wed, 20 Apr 2016 23:06:02 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:07 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -40,18 +40,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:02 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:08 GMT'] x-ms-version: ['2015-04-05'] method: DELETE uri: https://travistestresourcegr3014.file.core.windows.net/testshare01?restype=share response: body: {string: "\uFEFFShareNotFoundThe\ - \ specified share does not exist.\nRequestId:5f14d638-001a-00e9-3d59-9b46e2000000\n\ - Time:2016-04-20T23:06:02.0425881Z"} + \ specified share does not exist.\nRequestId:644f06ea-001a-0087-20e5-9befcb000000\n\ + Time:2016-04-21T15:51:08.6837686Z"} headers: Content-Length: ['217'] Content-Type: [application/xml] - Date: ['Wed, 20 Apr 2016 23:06:01 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:08 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 404, message: The specified share does not exist.} @@ -62,18 +62,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:02 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:08 GMT'] x-ms-version: ['2015-04-05'] method: DELETE uri: https://travistestresourcegr3014.file.core.windows.net/testshare02?restype=share response: body: {string: "\uFEFFShareNotFoundThe\ - \ specified share does not exist.\nRequestId:8c8d6442-001a-0052-2159-9ba716000000\n\ - Time:2016-04-20T23:06:03.0774813Z"} + \ specified share does not exist.\nRequestId:5751da24-001a-011d-75e5-9b255b000000\n\ + Time:2016-04-21T15:51:09.0881875Z"} headers: Content-Length: ['217'] Content-Type: [application/xml] - Date: ['Wed, 20 Apr 2016 23:06:02 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:08 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 404, message: The specified share does not exist.} @@ -84,16 +84,16 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:02 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:08 GMT'] x-ms-version: ['2015-04-05'] method: PUT uri: https://travistestresourcegr3014.file.core.windows.net/testshare01?restype=share response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:01 GMT'] - ETag: ['"0x8D3697058520FE3"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:02 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:09 GMT'] + ETag: ['"0x8D369FCC1E8F332"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:09 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 201, message: Created} @@ -104,7 +104,7 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:03 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:09 GMT'] x-ms-meta-cat: [hat] x-ms-meta-foo: [bar] x-ms-version: ['2015-04-05'] @@ -113,9 +113,9 @@ interactions: response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:03 GMT'] - ETag: ['"0x8D3697058B40DAD"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:03 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:09 GMT'] + ETag: ['"0x8D369FCC23AEE73"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:10 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 201, message: Created} @@ -125,16 +125,36 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:03 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:09 GMT'] + x-ms-version: ['2015-04-05'] + method: GET + uri: https://travistestresourcegr3014.file.core.windows.net/testshare01?restype=share + response: + body: {string: ''} + headers: + Date: ['Thu, 21 Apr 2016 15:51:09 GMT'] + ETag: ['"0x8D369FCC1E8F332"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:09 GMT'] + Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-share-quota: ['5120'] + x-ms-version: ['2015-04-05'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept-Encoding: [identity] + Connection: [keep-alive] + User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] + x-ms-date: ['Thu, 21 Apr 2016 15:51:09 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.file.core.windows.net/testshare02?restype=share&comp=metadata response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:03 GMT'] - ETag: ['"0x8D3697058B40DAD"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:03 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:09 GMT'] + ETag: ['"0x8D369FCC23AEE73"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:10 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-meta-cat: [hat] x-ms-meta-foo: [bar] @@ -146,21 +166,21 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:03 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:09 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.file.core.windows.net/?comp=list response: body: {string: "\uFEFFtestshare01Wed, 20\ - \ Apr 2016 23:06:02 GMT\"0x8D3697058520FE3\"5120testshare02Wed,\ - \ 20 Apr 2016 23:06:03 GMT\"0x8D3697058B40DAD\"5120testshare03Fri,\ + >testshare01Thu, 21\ + \ Apr 2016 15:51:09 GMT\"0x8D369FCC1E8F332\"5120testshare02Thu,\ + \ 21 Apr 2016 15:51:10 GMT\"0x8D369FCC23AEE73\"5120testshare03Fri,\ \ 08 Apr 2016 22:20:07 GMT\"0x8D35FFBF0F5F48F\"5120"} headers: Content-Type: [application/xml] - Date: ['Wed, 20 Apr 2016 23:06:03 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:10 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -171,7 +191,7 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:03 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:10 GMT'] x-ms-meta-a: [b] x-ms-meta-c: [d] x-ms-version: ['2015-04-05'] @@ -180,9 +200,9 @@ interactions: response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:03 GMT'] - ETag: ['"0x8D36970594A58E5"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:04 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:10 GMT'] + ETag: ['"0x8D369FCC2A636AE"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:10 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -192,16 +212,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:04 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:10 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.file.core.windows.net/testshare01?restype=share&comp=metadata response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:03 GMT'] - ETag: ['"0x8D36970594A58E5"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:04 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:10 GMT'] + ETag: ['"0x8D369FCC2A636AE"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:10 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-meta-a: [b] x-ms-meta-c: [d] @@ -214,16 +234,16 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:04 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:10 GMT'] x-ms-version: ['2015-04-05'] method: PUT uri: https://travistestresourcegr3014.file.core.windows.net/testshare01?restype=share&comp=metadata response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:03 GMT'] - ETag: ['"0x8D3697059ADA01A"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:05 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:11 GMT'] + ETag: ['"0x8D369FCC31A71F9"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:11 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -233,16 +253,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:04 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:11 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.file.core.windows.net/testshare01?restype=share&comp=metadata response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:04 GMT'] - ETag: ['"0x8D3697059ADA01A"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:05 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:10 GMT'] + ETag: ['"0x8D369FCC31A71F9"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:11 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -254,7 +274,7 @@ interactions: Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] x-ms-content-length: ['78'] - x-ms-date: ['Wed, 20 Apr 2016 23:06:04 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:11 GMT'] x-ms-type: [file] x-ms-version: ['2015-04-05'] method: PUT @@ -262,9 +282,9 @@ interactions: response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:04 GMT'] - ETag: ['"0x8D3697059CBF49A"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:05 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:14 GMT'] + ETag: ['"0x8D369FCC3444A3F"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:11 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 201, message: Created} @@ -277,7 +297,7 @@ interactions: Connection: [keep-alive] Content-Length: ['78'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:05 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:11 GMT'] x-ms-range: [bytes=0-77] x-ms-version: ['2015-04-05'] x-ms-write: [update] @@ -287,9 +307,9 @@ interactions: body: {string: ''} headers: Content-MD5: [zeGiTMG1TdAobIHawzap3A==] - Date: ['Wed, 20 Apr 2016 23:06:04 GMT'] - ETag: ['"0x8D3697059DA28EB"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:05 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:14 GMT'] + ETag: ['"0x8D369FCC3573A84"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:11 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 201, message: Created} @@ -299,7 +319,29 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:05 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:12 GMT'] + x-ms-version: ['2015-04-05'] + method: HEAD + uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testfile.rst + response: + body: {string: ''} + headers: + Content-Length: ['78'] + Content-Type: [application/octet-stream] + Date: ['Thu, 21 Apr 2016 15:51:12 GMT'] + ETag: ['"0x8D369FCC3573A84"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:11 GMT'] + Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2015-04-05'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept-Encoding: [identity] + Connection: [keep-alive] + User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] + x-ms-date: ['Thu, 21 Apr 2016 15:51:12 GMT'] x-ms-range: [bytes=None-] x-ms-version: ['2015-04-05'] method: GET @@ -311,9 +353,9 @@ interactions: Accept-Ranges: [bytes] Content-Length: ['78'] Content-Type: [application/octet-stream] - Date: ['Wed, 20 Apr 2016 23:06:04 GMT'] - ETag: ['"0x8D3697059DA28EB"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:05 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:11 GMT'] + ETag: ['"0x8D369FCC3573A84"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:11 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2015-04-05'] @@ -324,7 +366,7 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:05 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:12 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.file.core.windows.net/testshare01?restype=directory&comp=list @@ -335,7 +377,7 @@ interactions: \ />"} headers: Content-Type: [application/xml] - Date: ['Wed, 20 Apr 2016 23:06:05 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:11 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -346,14 +388,14 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:05 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:12 GMT'] x-ms-version: ['2015-04-05'] method: DELETE uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testfile.rst response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:05 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:12 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 202, message: Accepted} @@ -363,14 +405,14 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:05 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:12 GMT'] x-ms-version: ['2015-04-05'] method: HEAD uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testfile.rst response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:05 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:12 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 404, message: The specified resource does not exist.} @@ -381,16 +423,16 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:06 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:12 GMT'] x-ms-version: ['2015-04-05'] method: PUT uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testdir01?restype=directory response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:05 GMT'] - ETag: ['"0x8D369705A8F4D9C"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:06 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:13 GMT'] + ETag: ['"0x8D369FCC40DBE1F"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:13 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 201, message: Created} @@ -400,16 +442,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:06 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:13 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testdir01?restype=directory response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:06 GMT'] - ETag: ['"0x8D369705A8F4D9C"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:06 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:12 GMT'] + ETag: ['"0x8D369FCC40DBE1F"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:13 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -420,7 +462,7 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:06 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:13 GMT'] x-ms-meta-a: [b] x-ms-meta-c: [d] x-ms-version: ['2015-04-05'] @@ -429,9 +471,9 @@ interactions: response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:06 GMT'] - ETag: ['"0x8D369705ADEB99C"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:07 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:14 GMT'] + ETag: ['"0x8D369FCC45586C4"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:13 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -441,16 +483,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:06 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:13 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testdir01?restype=directory&comp=metadata response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:07 GMT'] - ETag: ['"0x8D369705ADEB99C"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:07 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:13 GMT'] + ETag: ['"0x8D369FCC45586C4"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:13 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-meta-a: [b] x-ms-meta-c: [d] @@ -463,16 +505,16 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:07 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:13 GMT'] x-ms-version: ['2015-04-05'] method: PUT uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testdir01?restype=directory&comp=metadata response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:07 GMT'] - ETag: ['"0x8D369705B3468C1"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:07 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:13 GMT'] + ETag: ['"0x8D369FCC4986C38"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:14 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -482,16 +524,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:07 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:14 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testdir01?restype=directory&comp=metadata response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:07 GMT'] - ETag: ['"0x8D369705B3468C1"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:07 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:13 GMT'] + ETag: ['"0x8D369FCC4986C38"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:14 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -503,7 +545,7 @@ interactions: Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] x-ms-content-length: ['78'] - x-ms-date: ['Wed, 20 Apr 2016 23:06:07 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:14 GMT'] x-ms-type: [file] x-ms-version: ['2015-04-05'] method: PUT @@ -511,9 +553,9 @@ interactions: response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:07 GMT'] - ETag: ['"0x8D369705B79E74A"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:08 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:15 GMT'] + ETag: ['"0x8D369FCC4D9CABB"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:14 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 201, message: Created} @@ -526,7 +568,7 @@ interactions: Connection: [keep-alive] Content-Length: ['78'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:07 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:14 GMT'] x-ms-range: [bytes=0-77] x-ms-version: ['2015-04-05'] x-ms-write: [update] @@ -536,9 +578,9 @@ interactions: body: {string: ''} headers: Content-MD5: [zeGiTMG1TdAobIHawzap3A==] - Date: ['Wed, 20 Apr 2016 23:06:07 GMT'] - ETag: ['"0x8D369705B82C318"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:08 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:15 GMT'] + ETag: ['"0x8D369FCC4E1E2FB"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:14 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 201, message: Created} @@ -548,7 +590,29 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:08 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:14 GMT'] + x-ms-version: ['2015-04-05'] + method: HEAD + uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testdir01/testfile.rst + response: + body: {string: ''} + headers: + Content-Length: ['78'] + Content-Type: [application/octet-stream] + Date: ['Thu, 21 Apr 2016 15:51:14 GMT'] + ETag: ['"0x8D369FCC4E1E2FB"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:14 GMT'] + Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + x-ms-type: [File] + x-ms-version: ['2015-04-05'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept-Encoding: [identity] + Connection: [keep-alive] + User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] + x-ms-date: ['Thu, 21 Apr 2016 15:51:14 GMT'] x-ms-range: [bytes=None-] x-ms-version: ['2015-04-05'] method: GET @@ -560,9 +624,9 @@ interactions: Accept-Ranges: [bytes] Content-Length: ['78'] Content-Type: [application/octet-stream] - Date: ['Wed, 20 Apr 2016 23:06:08 GMT'] - ETag: ['"0x8D369705B82C318"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:08 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:15 GMT'] + ETag: ['"0x8D369FCC4E1E2FB"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:14 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-type: [File] x-ms-version: ['2015-04-05'] @@ -573,7 +637,7 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:08 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:15 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testdir01?restype=directory&comp=list @@ -584,7 +648,7 @@ interactions: \ />"} headers: Content-Type: [application/xml] - Date: ['Wed, 20 Apr 2016 23:06:08 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:14 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 200, message: OK} @@ -595,14 +659,14 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:08 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:15 GMT'] x-ms-version: ['2015-04-05'] method: DELETE uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testdir01/testfile.rst response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:08 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:15 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 202, message: Accepted} @@ -612,14 +676,14 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:08 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:15 GMT'] x-ms-version: ['2015-04-05'] method: HEAD uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testfile.rst response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:07 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:15 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 404, message: The specified resource does not exist.} @@ -630,14 +694,14 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:08 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:15 GMT'] x-ms-version: ['2015-04-05'] method: DELETE uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testdir01?restype=directory response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:08 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:15 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 202, message: Accepted} @@ -647,18 +711,18 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:09 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:15 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testdir01?restype=directory response: body: {string: "\uFEFFResourceNotFoundThe\ - \ specified resource does not exist.\nRequestId:762f8925-001a-008c-2059-9bf7bf000000\n\ - Time:2016-04-20T23:06:09.6450198Z"} + \ specified resource does not exist.\nRequestId:f793c4df-001a-009a-7de5-9b3621000000\n\ + Time:2016-04-21T15:51:16.3993844Z"} headers: Content-Length: ['223'] Content-Type: [application/xml] - Date: ['Wed, 20 Apr 2016 23:06:08 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:16 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 404, message: The specified resource does not exist.} @@ -669,7 +733,7 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:09 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:16 GMT'] x-ms-meta-cat: [hat] x-ms-meta-foo: [bar] x-ms-version: ['2015-04-05'] @@ -678,9 +742,9 @@ interactions: response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:09 GMT'] - ETag: ['"0x8D369705C540233"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:09 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:16 GMT'] + ETag: ['"0x8D369FCC5E895BD"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:16 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 201, message: Created} @@ -690,16 +754,16 @@ interactions: Accept-Encoding: [identity] Connection: [keep-alive] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:09 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:16 GMT'] x-ms-version: ['2015-04-05'] method: GET uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testdir02?restype=directory&comp=metadata response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:09 GMT'] - ETag: ['"0x8D369705C540233"'] - Last-Modified: ['Wed, 20 Apr 2016 23:06:09 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:15 GMT'] + ETag: ['"0x8D369FCC5E895BD"'] + Last-Modified: ['Thu, 21 Apr 2016 15:51:16 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-meta-cat: [hat] x-ms-meta-foo: [bar] @@ -712,14 +776,14 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:09 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:16 GMT'] x-ms-version: ['2015-04-05'] method: DELETE uri: https://travistestresourcegr3014.file.core.windows.net/testshare01/testdir02?restype=directory response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:09 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:16 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 202, message: Accepted} @@ -730,14 +794,14 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:09 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:16 GMT'] x-ms-version: ['2015-04-05'] method: DELETE uri: https://travistestresourcegr3014.file.core.windows.net/testshare01?restype=share response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:10 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:16 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 202, message: Accepted} @@ -748,14 +812,14 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/0.30.0 (Python CPython 3.5.1; Windows 10)] - x-ms-date: ['Wed, 20 Apr 2016 23:06:10 GMT'] + x-ms-date: ['Thu, 21 Apr 2016 15:51:16 GMT'] x-ms-version: ['2015-04-05'] method: DELETE uri: https://travistestresourcegr3014.file.core.windows.net/testshare02?restype=share response: body: {string: ''} headers: - Date: ['Wed, 20 Apr 2016 23:06:10 GMT'] + Date: ['Thu, 21 Apr 2016 15:51:17 GMT'] Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2015-04-05'] status: {code: 202, message: Accepted}