From ef3f1ac6c02135e07e7cbc61ca6dc2fb5d1f568a Mon Sep 17 00:00:00 2001 From: Tamer Sherif Date: Thu, 14 Oct 2021 15:54:01 -0700 Subject: [PATCH 1/2] settings files --- .../tests/settings/settings_real.py | 84 +++++++++++++++++++ .../tests/settings/settings_real.py | 28 +++++++ .../tests/settings/settings_real.py | 28 +++++++ .../tests/settings/settings_real.py | 28 +++++++ 4 files changed, 168 insertions(+) create mode 100644 sdk/storage/azure-storage-blob/tests/settings/settings_real.py create mode 100644 sdk/storage/azure-storage-file-datalake/tests/settings/settings_real.py create mode 100644 sdk/storage/azure-storage-file-share/tests/settings/settings_real.py create mode 100644 sdk/storage/azure-storage-queue/tests/settings/settings_real.py diff --git a/sdk/storage/azure-storage-blob/tests/settings/settings_real.py b/sdk/storage/azure-storage-blob/tests/settings/settings_real.py new file mode 100644 index 000000000000..b8617f73ba56 --- /dev/null +++ b/sdk/storage/azure-storage-blob/tests/settings/settings_real.py @@ -0,0 +1,84 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + +STORAGE_ACCOUNT_NAME = "tamerdevtest" +STORAGE_ACCOUNT_KEY = "hY4It1A68difJ/MSh35DCAPEIXB3i+pUq1b4d69vG8JZfUcaAV9I89T7SyAQly6zt1QiNyaeTT2+7AoBMSDMow==" + +SECONDARY_STORAGE_ACCOUNT_NAME = "fakename" +SECONDARY_STORAGE_ACCOUNT_KEY = "fakekey" +BLOB_STORAGE_ACCOUNT_NAME = "fakename" +BLOB_STORAGE_ACCOUNT_KEY = "fakekey" +VERSIONED_STORAGE_ACCOUNT_NAME = "fakename" +VERSIONED_STORAGE_ACCOUNT_KEY = "fakekey" +PREMIUM_STORAGE_ACCOUNT_NAME = "fakename" +PREMIUM_STORAGE_ACCOUNT_KEY = "fakekey" +STORAGE_RESOURCE_GROUP_NAME = "fakename" + +TENANT_ID = "00000000-0000-0000-0000-000000000000" +CLIENT_ID = "00000000-0000-0000-0000-000000000000" +CLIENT_SECRET = "00000000-0000-0000-0000-000000000000" + +ACCOUNT_URL_SUFFIX = 'core.windows.net' +RUN_IN_LIVE = "True" +SKIP_LIVE_RECORDING = "True" + +PROTOCOL = "https" + + + +#----------------------------------------------------------------------------------------------------------------------- +# # ------------------------------------------------------------------------- +# # Copyright (c) Microsoft Corporation. All rights reserved. +# # Licensed under the MIT License. See License.txt in the project root for +# # license information. +# # -------------------------------------------------------------------------- +# +# # NOTE: these keys are fake, but valid base-64 data, they were generated using: +# # base64.b64encode(os.urandom(64)) +# +# import os +# +# STORAGE_DATA_LAKE_ACCOUNT_NAME = "seannsecanary" +# STORAGE_DATA_LAKE_ACCOUNT_KEY = "jQSiRFbxmqawspccEYDwStgh/uZY68gpSx4qDsgJTYGNjI0GhX/HmEz2i1zReWtmzE1tyruYRzbjxJp6jIIhYw==" +# +# # Configurations related to Active Directory, which is used to obtain a token credential +# ACTIVE_DIRECTORY_TENANT_ID = os.getenv('ACTIVE_DIRECTORY_TENANT_ID', "72f988bf-86f1-41af-91ab-2d7cd011db47") +# ACTIVE_DIRECTORY_APPLICATION_ID = os.getenv('ACTIVE_DIRECTORY_APPLICATION_ID', "68390a19-a643-458b-b726-408abf67b4fc") +# ACTIVE_DIRECTORY_APPLICATION_SECRET = os.getenv('ACTIVE_DIRECTORY_APPLICATION_SECRET', "nc~7Kk3fEyo_4oVE7ziNWs1~g2l7CFO_AN") +# +# # Use instead of STORAGE_ACCOUNT_NAME and STORAGE_ACCOUNT_KEY if custom settings are needed +# CONNECTION_STRING = os.getenv('CONNECTION_STRING', "DefaultEndpointsProtocol=https;AccountName=emilydevtest;AccountKey=RprwXjTuqZirPsnX980WinVcRQaP382OhXSFI4gJWSX6pJsK4dqBaStS78/2uScIFIqXgVMHhnmCdMLH5kbFaQ==;EndpointSuffix=core.windows.net==;EndpointSuffix=core.windows.net") +# +# # Use 'https' or 'http' protocol for sending requests, 'https' highly recommended +# PROTOCOL = "https" +# +# # Set to true if server side file encryption is enabled +# IS_SERVER_SIDE_FILE_ENCRYPTION_ENABLED = True +# +# # Decide which test mode to run against. Possible options: +# # - Playback: run against stored recordings +# # - Record: run tests against live storage and update recordings +# # - RunLiveNoRecord: run tests against live storage without altering recordings +# TEST_MODE = "Record" +# +# # Set to true to enable logging for the tests +# # logging is not enabled by default because it pollutes the CI logs +# ENABLE_LOGGING = False +# +# # Set up proxy support +# USE_PROXY = False +# PROXY_HOST = "192.168.15.116" +# PROXY_PORT = "8118" +# PROXY_USER = "" +# PROXY_PASSWORD = "" +# +# STORAGE_ACCOUNT_KEY = "ZZzqTjkCd0t+eu2YDRcKW/dr7B1ASmLbMQlnE8EwZu7/zpi5nY7b4ACIcJtXXFsJ0J5HJInIyBA7OR4SKnkRLg==" +# STORAGE_ACCOUNT_NAME = "seanstageoauth" +# AZURE_STORAGE_CONNECTION_STRING = "DefaultEndpointsProtocol=https;AccountName=seanstageoauth;AccountKey=ZZzqTjkCd0t+eu2YDRcKW/dr7B1ASmLbMQlnE8EwZu7/zpi5nY7b4ACIcJtXXFsJ0J5HJInIyBA7OR4SKnkRLg==;EndpointSuffix=core.windows.net" +# RUN_IN_LIVE = "True" +# SKIP_LIVE_RECORDING = "False" +# ACCOUNT_URL_SUFFIX = 'core.windows.net' +# diff --git a/sdk/storage/azure-storage-file-datalake/tests/settings/settings_real.py b/sdk/storage/azure-storage-file-datalake/tests/settings/settings_real.py new file mode 100644 index 000000000000..e80604585750 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/settings/settings_real.py @@ -0,0 +1,28 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + +STORAGE_ACCOUNT_NAME = "tamerdevtest" +STORAGE_ACCOUNT_KEY = "hY4It1A68difJ/MSh35DCAPEIXB3i+pUq1b4d69vG8JZfUcaAV9I89T7SyAQly6zt1QiNyaeTT2+7AoBMSDMow==" + +SECONDARY_STORAGE_ACCOUNT_NAME = "fakename" +SECONDARY_STORAGE_ACCOUNT_KEY = "fakekey" +BLOB_STORAGE_ACCOUNT_NAME = "fakename" +BLOB_STORAGE_ACCOUNT_KEY = "fakekey" +VERSIONED_STORAGE_ACCOUNT_NAME = "fakename" +VERSIONED_STORAGE_ACCOUNT_KEY = "fakekey" +PREMIUM_STORAGE_ACCOUNT_NAME = "fakename" +PREMIUM_STORAGE_ACCOUNT_KEY = "fakekey" +STORAGE_RESOURCE_GROUP_NAME = "fakename" + +TENANT_ID = "00000000-0000-0000-0000-000000000000" +CLIENT_ID = "00000000-0000-0000-0000-000000000000" +CLIENT_SECRET = "00000000-0000-0000-0000-000000000000" + +ACCOUNT_URL_SUFFIX = 'core.windows.net' +RUN_IN_LIVE = "True" +SKIP_LIVE_RECORDING = "True" + +PROTOCOL = "https" \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/tests/settings/settings_real.py b/sdk/storage/azure-storage-file-share/tests/settings/settings_real.py new file mode 100644 index 000000000000..e80604585750 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/settings/settings_real.py @@ -0,0 +1,28 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + +STORAGE_ACCOUNT_NAME = "tamerdevtest" +STORAGE_ACCOUNT_KEY = "hY4It1A68difJ/MSh35DCAPEIXB3i+pUq1b4d69vG8JZfUcaAV9I89T7SyAQly6zt1QiNyaeTT2+7AoBMSDMow==" + +SECONDARY_STORAGE_ACCOUNT_NAME = "fakename" +SECONDARY_STORAGE_ACCOUNT_KEY = "fakekey" +BLOB_STORAGE_ACCOUNT_NAME = "fakename" +BLOB_STORAGE_ACCOUNT_KEY = "fakekey" +VERSIONED_STORAGE_ACCOUNT_NAME = "fakename" +VERSIONED_STORAGE_ACCOUNT_KEY = "fakekey" +PREMIUM_STORAGE_ACCOUNT_NAME = "fakename" +PREMIUM_STORAGE_ACCOUNT_KEY = "fakekey" +STORAGE_RESOURCE_GROUP_NAME = "fakename" + +TENANT_ID = "00000000-0000-0000-0000-000000000000" +CLIENT_ID = "00000000-0000-0000-0000-000000000000" +CLIENT_SECRET = "00000000-0000-0000-0000-000000000000" + +ACCOUNT_URL_SUFFIX = 'core.windows.net' +RUN_IN_LIVE = "True" +SKIP_LIVE_RECORDING = "True" + +PROTOCOL = "https" \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/tests/settings/settings_real.py b/sdk/storage/azure-storage-queue/tests/settings/settings_real.py new file mode 100644 index 000000000000..e80604585750 --- /dev/null +++ b/sdk/storage/azure-storage-queue/tests/settings/settings_real.py @@ -0,0 +1,28 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + +STORAGE_ACCOUNT_NAME = "tamerdevtest" +STORAGE_ACCOUNT_KEY = "hY4It1A68difJ/MSh35DCAPEIXB3i+pUq1b4d69vG8JZfUcaAV9I89T7SyAQly6zt1QiNyaeTT2+7AoBMSDMow==" + +SECONDARY_STORAGE_ACCOUNT_NAME = "fakename" +SECONDARY_STORAGE_ACCOUNT_KEY = "fakekey" +BLOB_STORAGE_ACCOUNT_NAME = "fakename" +BLOB_STORAGE_ACCOUNT_KEY = "fakekey" +VERSIONED_STORAGE_ACCOUNT_NAME = "fakename" +VERSIONED_STORAGE_ACCOUNT_KEY = "fakekey" +PREMIUM_STORAGE_ACCOUNT_NAME = "fakename" +PREMIUM_STORAGE_ACCOUNT_KEY = "fakekey" +STORAGE_RESOURCE_GROUP_NAME = "fakename" + +TENANT_ID = "00000000-0000-0000-0000-000000000000" +CLIENT_ID = "00000000-0000-0000-0000-000000000000" +CLIENT_SECRET = "00000000-0000-0000-0000-000000000000" + +ACCOUNT_URL_SUFFIX = 'core.windows.net' +RUN_IN_LIVE = "True" +SKIP_LIVE_RECORDING = "True" + +PROTOCOL = "https" \ No newline at end of file From d770b259374f0887ed46c05b90ff700fa900cb92 Mon Sep 17 00:00:00 2001 From: Tamer Sherif Date: Mon, 18 Oct 2021 15:47:28 -0700 Subject: [PATCH 2/2] OrMedata Fix --- .../models/_azure_blob_storage_enums.py | 2 +- .../storage/blob/_generated/models/_models.py | 8 +- .../blob/_generated/models/_models_py3.py | 10 +-- .../azure-storage-blob/swagger/README.md | 2 - .../tests/settings/settings_real.py | 84 ------------------- .../tests/settings/settings_real.py | 28 ------- .../tests/settings/settings_real.py | 28 ------- .../tests/settings/settings_real.py | 28 ------- 8 files changed, 10 insertions(+), 180 deletions(-) delete mode 100644 sdk/storage/azure-storage-blob/tests/settings/settings_real.py delete mode 100644 sdk/storage/azure-storage-file-datalake/tests/settings/settings_real.py delete mode 100644 sdk/storage/azure-storage-file-share/tests/settings/settings_real.py delete mode 100644 sdk/storage/azure-storage-queue/tests/settings/settings_real.py diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_azure_blob_storage_enums.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_azure_blob_storage_enums.py index 638b6316fdc7..31325457b829 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_azure_blob_storage_enums.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_azure_blob_storage_enums.py @@ -330,7 +330,7 @@ class StorageErrorCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): SEQUENCE_NUMBER_CONDITION_NOT_MET = "SequenceNumberConditionNotMet" SEQUENCE_NUMBER_INCREMENT_TOO_LARGE = "SequenceNumberIncrementTooLarge" SNAPSHOT_COUNT_EXCEEDED = "SnapshotCountExceeded" - SNAPHOT_OPERATION_RATE_EXCEEDED = "SnaphotOperationRateExceeded" + SNAPSHOT_OPERATION_RATE_EXCEEDED = "SnapshotOperationRateExceeded" SNAPSHOTS_PRESENT = "SnapshotsPresent" SOURCE_CONDITION_NOT_MET = "SourceConditionNotMet" SYSTEM_IN_USE = "SystemInUse" diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models.py index 42addb4cbe54..20f2544a5b88 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models.py @@ -259,10 +259,10 @@ class BlobItemInternal(msrest.serialization.Model): :type metadata: ~azure.storage.blob.models.BlobMetadata :param blob_tags: Blob tags. :type blob_tags: ~azure.storage.blob.models.BlobTags - :param object_replication_metadata: Dictionary of :code:``. - :type object_replication_metadata: dict[str, str] :param has_versions_only: :type has_versions_only: bool + :param object_replication_metadata: Dictionary of :code:``. + :type object_replication_metadata: dict[str, str] """ _validation = { @@ -281,8 +281,8 @@ class BlobItemInternal(msrest.serialization.Model): 'properties': {'key': 'Properties', 'type': 'BlobPropertiesInternal'}, 'metadata': {'key': 'Metadata', 'type': 'BlobMetadata'}, 'blob_tags': {'key': 'BlobTags', 'type': 'BlobTags'}, - 'object_replication_metadata': {'key': 'OrMetadata', 'type': '{str}'}, 'has_versions_only': {'key': 'HasVersionsOnly', 'type': 'bool'}, + 'object_replication_metadata': {'key': 'OrMetadata', 'type': '{str}'}, } _xml_map = { 'name': 'Blob' @@ -301,8 +301,8 @@ def __init__( self.properties = kwargs['properties'] self.metadata = kwargs.get('metadata', None) self.blob_tags = kwargs.get('blob_tags', None) - self.object_replication_metadata = kwargs.get('object_replication_metadata', None) self.has_versions_only = kwargs.get('has_versions_only', None) + self.object_replication_metadata = kwargs.get('object_replication_metadata', None) class BlobMetadata(msrest.serialization.Model): diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models_py3.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models_py3.py index 3b243ec7078b..e065b4e03dee 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models_py3.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models_py3.py @@ -290,10 +290,10 @@ class BlobItemInternal(msrest.serialization.Model): :type metadata: ~azure.storage.blob.models.BlobMetadata :param blob_tags: Blob tags. :type blob_tags: ~azure.storage.blob.models.BlobTags - :param object_replication_metadata: Dictionary of :code:``. - :type object_replication_metadata: dict[str, str] :param has_versions_only: :type has_versions_only: bool + :param object_replication_metadata: Dictionary of :code:``. + :type object_replication_metadata: dict[str, str] """ _validation = { @@ -312,8 +312,8 @@ class BlobItemInternal(msrest.serialization.Model): 'properties': {'key': 'Properties', 'type': 'BlobPropertiesInternal'}, 'metadata': {'key': 'Metadata', 'type': 'BlobMetadata'}, 'blob_tags': {'key': 'BlobTags', 'type': 'BlobTags'}, - 'object_replication_metadata': {'key': 'OrMetadata', 'type': '{str}'}, 'has_versions_only': {'key': 'HasVersionsOnly', 'type': 'bool'}, + 'object_replication_metadata': {'key': 'OrMetadata', 'type': '{str}'}, } _xml_map = { 'name': 'Blob' @@ -330,8 +330,8 @@ def __init__( is_current_version: Optional[bool] = None, metadata: Optional["BlobMetadata"] = None, blob_tags: Optional["BlobTags"] = None, - object_replication_metadata: Optional[Dict[str, str]] = None, has_versions_only: Optional[bool] = None, + object_replication_metadata: Optional[Dict[str, str]] = None, **kwargs ): super(BlobItemInternal, self).__init__(**kwargs) @@ -343,8 +343,8 @@ def __init__( self.properties = properties self.metadata = metadata self.blob_tags = blob_tags - self.object_replication_metadata = object_replication_metadata self.has_versions_only = has_versions_only + self.object_replication_metadata = object_replication_metadata class BlobMetadata(msrest.serialization.Model): diff --git a/sdk/storage/azure-storage-blob/swagger/README.md b/sdk/storage/azure-storage-blob/swagger/README.md index 52148bcc5dba..c27f8a6efc02 100644 --- a/sdk/storage/azure-storage-blob/swagger/README.md +++ b/sdk/storage/azure-storage-blob/swagger/README.md @@ -136,8 +136,6 @@ directive: - from: swagger-document where: $.definitions.BlobItemInternal transform: | - $.discriminator = "OrMetadata"; - $.required = [ "OrMetadata" ]; $.properties.OrMetadata = $.properties.ObjectReplicationMetadata; $.properties.OrMetadata["x-ms-client-name"] = "ObjectReplicationMetadata"; delete $.properties.ObjectReplicationMetadata; diff --git a/sdk/storage/azure-storage-blob/tests/settings/settings_real.py b/sdk/storage/azure-storage-blob/tests/settings/settings_real.py deleted file mode 100644 index b8617f73ba56..000000000000 --- a/sdk/storage/azure-storage-blob/tests/settings/settings_real.py +++ /dev/null @@ -1,84 +0,0 @@ -# ------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -------------------------------------------------------------------------- - -STORAGE_ACCOUNT_NAME = "tamerdevtest" -STORAGE_ACCOUNT_KEY = "hY4It1A68difJ/MSh35DCAPEIXB3i+pUq1b4d69vG8JZfUcaAV9I89T7SyAQly6zt1QiNyaeTT2+7AoBMSDMow==" - -SECONDARY_STORAGE_ACCOUNT_NAME = "fakename" -SECONDARY_STORAGE_ACCOUNT_KEY = "fakekey" -BLOB_STORAGE_ACCOUNT_NAME = "fakename" -BLOB_STORAGE_ACCOUNT_KEY = "fakekey" -VERSIONED_STORAGE_ACCOUNT_NAME = "fakename" -VERSIONED_STORAGE_ACCOUNT_KEY = "fakekey" -PREMIUM_STORAGE_ACCOUNT_NAME = "fakename" -PREMIUM_STORAGE_ACCOUNT_KEY = "fakekey" -STORAGE_RESOURCE_GROUP_NAME = "fakename" - -TENANT_ID = "00000000-0000-0000-0000-000000000000" -CLIENT_ID = "00000000-0000-0000-0000-000000000000" -CLIENT_SECRET = "00000000-0000-0000-0000-000000000000" - -ACCOUNT_URL_SUFFIX = 'core.windows.net' -RUN_IN_LIVE = "True" -SKIP_LIVE_RECORDING = "True" - -PROTOCOL = "https" - - - -#----------------------------------------------------------------------------------------------------------------------- -# # ------------------------------------------------------------------------- -# # Copyright (c) Microsoft Corporation. All rights reserved. -# # Licensed under the MIT License. See License.txt in the project root for -# # license information. -# # -------------------------------------------------------------------------- -# -# # NOTE: these keys are fake, but valid base-64 data, they were generated using: -# # base64.b64encode(os.urandom(64)) -# -# import os -# -# STORAGE_DATA_LAKE_ACCOUNT_NAME = "seannsecanary" -# STORAGE_DATA_LAKE_ACCOUNT_KEY = "jQSiRFbxmqawspccEYDwStgh/uZY68gpSx4qDsgJTYGNjI0GhX/HmEz2i1zReWtmzE1tyruYRzbjxJp6jIIhYw==" -# -# # Configurations related to Active Directory, which is used to obtain a token credential -# ACTIVE_DIRECTORY_TENANT_ID = os.getenv('ACTIVE_DIRECTORY_TENANT_ID', "72f988bf-86f1-41af-91ab-2d7cd011db47") -# ACTIVE_DIRECTORY_APPLICATION_ID = os.getenv('ACTIVE_DIRECTORY_APPLICATION_ID', "68390a19-a643-458b-b726-408abf67b4fc") -# ACTIVE_DIRECTORY_APPLICATION_SECRET = os.getenv('ACTIVE_DIRECTORY_APPLICATION_SECRET', "nc~7Kk3fEyo_4oVE7ziNWs1~g2l7CFO_AN") -# -# # Use instead of STORAGE_ACCOUNT_NAME and STORAGE_ACCOUNT_KEY if custom settings are needed -# CONNECTION_STRING = os.getenv('CONNECTION_STRING', "DefaultEndpointsProtocol=https;AccountName=emilydevtest;AccountKey=RprwXjTuqZirPsnX980WinVcRQaP382OhXSFI4gJWSX6pJsK4dqBaStS78/2uScIFIqXgVMHhnmCdMLH5kbFaQ==;EndpointSuffix=core.windows.net==;EndpointSuffix=core.windows.net") -# -# # Use 'https' or 'http' protocol for sending requests, 'https' highly recommended -# PROTOCOL = "https" -# -# # Set to true if server side file encryption is enabled -# IS_SERVER_SIDE_FILE_ENCRYPTION_ENABLED = True -# -# # Decide which test mode to run against. Possible options: -# # - Playback: run against stored recordings -# # - Record: run tests against live storage and update recordings -# # - RunLiveNoRecord: run tests against live storage without altering recordings -# TEST_MODE = "Record" -# -# # Set to true to enable logging for the tests -# # logging is not enabled by default because it pollutes the CI logs -# ENABLE_LOGGING = False -# -# # Set up proxy support -# USE_PROXY = False -# PROXY_HOST = "192.168.15.116" -# PROXY_PORT = "8118" -# PROXY_USER = "" -# PROXY_PASSWORD = "" -# -# STORAGE_ACCOUNT_KEY = "ZZzqTjkCd0t+eu2YDRcKW/dr7B1ASmLbMQlnE8EwZu7/zpi5nY7b4ACIcJtXXFsJ0J5HJInIyBA7OR4SKnkRLg==" -# STORAGE_ACCOUNT_NAME = "seanstageoauth" -# AZURE_STORAGE_CONNECTION_STRING = "DefaultEndpointsProtocol=https;AccountName=seanstageoauth;AccountKey=ZZzqTjkCd0t+eu2YDRcKW/dr7B1ASmLbMQlnE8EwZu7/zpi5nY7b4ACIcJtXXFsJ0J5HJInIyBA7OR4SKnkRLg==;EndpointSuffix=core.windows.net" -# RUN_IN_LIVE = "True" -# SKIP_LIVE_RECORDING = "False" -# ACCOUNT_URL_SUFFIX = 'core.windows.net' -# diff --git a/sdk/storage/azure-storage-file-datalake/tests/settings/settings_real.py b/sdk/storage/azure-storage-file-datalake/tests/settings/settings_real.py deleted file mode 100644 index e80604585750..000000000000 --- a/sdk/storage/azure-storage-file-datalake/tests/settings/settings_real.py +++ /dev/null @@ -1,28 +0,0 @@ -# ------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -------------------------------------------------------------------------- - -STORAGE_ACCOUNT_NAME = "tamerdevtest" -STORAGE_ACCOUNT_KEY = "hY4It1A68difJ/MSh35DCAPEIXB3i+pUq1b4d69vG8JZfUcaAV9I89T7SyAQly6zt1QiNyaeTT2+7AoBMSDMow==" - -SECONDARY_STORAGE_ACCOUNT_NAME = "fakename" -SECONDARY_STORAGE_ACCOUNT_KEY = "fakekey" -BLOB_STORAGE_ACCOUNT_NAME = "fakename" -BLOB_STORAGE_ACCOUNT_KEY = "fakekey" -VERSIONED_STORAGE_ACCOUNT_NAME = "fakename" -VERSIONED_STORAGE_ACCOUNT_KEY = "fakekey" -PREMIUM_STORAGE_ACCOUNT_NAME = "fakename" -PREMIUM_STORAGE_ACCOUNT_KEY = "fakekey" -STORAGE_RESOURCE_GROUP_NAME = "fakename" - -TENANT_ID = "00000000-0000-0000-0000-000000000000" -CLIENT_ID = "00000000-0000-0000-0000-000000000000" -CLIENT_SECRET = "00000000-0000-0000-0000-000000000000" - -ACCOUNT_URL_SUFFIX = 'core.windows.net' -RUN_IN_LIVE = "True" -SKIP_LIVE_RECORDING = "True" - -PROTOCOL = "https" \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/tests/settings/settings_real.py b/sdk/storage/azure-storage-file-share/tests/settings/settings_real.py deleted file mode 100644 index e80604585750..000000000000 --- a/sdk/storage/azure-storage-file-share/tests/settings/settings_real.py +++ /dev/null @@ -1,28 +0,0 @@ -# ------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -------------------------------------------------------------------------- - -STORAGE_ACCOUNT_NAME = "tamerdevtest" -STORAGE_ACCOUNT_KEY = "hY4It1A68difJ/MSh35DCAPEIXB3i+pUq1b4d69vG8JZfUcaAV9I89T7SyAQly6zt1QiNyaeTT2+7AoBMSDMow==" - -SECONDARY_STORAGE_ACCOUNT_NAME = "fakename" -SECONDARY_STORAGE_ACCOUNT_KEY = "fakekey" -BLOB_STORAGE_ACCOUNT_NAME = "fakename" -BLOB_STORAGE_ACCOUNT_KEY = "fakekey" -VERSIONED_STORAGE_ACCOUNT_NAME = "fakename" -VERSIONED_STORAGE_ACCOUNT_KEY = "fakekey" -PREMIUM_STORAGE_ACCOUNT_NAME = "fakename" -PREMIUM_STORAGE_ACCOUNT_KEY = "fakekey" -STORAGE_RESOURCE_GROUP_NAME = "fakename" - -TENANT_ID = "00000000-0000-0000-0000-000000000000" -CLIENT_ID = "00000000-0000-0000-0000-000000000000" -CLIENT_SECRET = "00000000-0000-0000-0000-000000000000" - -ACCOUNT_URL_SUFFIX = 'core.windows.net' -RUN_IN_LIVE = "True" -SKIP_LIVE_RECORDING = "True" - -PROTOCOL = "https" \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/tests/settings/settings_real.py b/sdk/storage/azure-storage-queue/tests/settings/settings_real.py deleted file mode 100644 index e80604585750..000000000000 --- a/sdk/storage/azure-storage-queue/tests/settings/settings_real.py +++ /dev/null @@ -1,28 +0,0 @@ -# ------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -------------------------------------------------------------------------- - -STORAGE_ACCOUNT_NAME = "tamerdevtest" -STORAGE_ACCOUNT_KEY = "hY4It1A68difJ/MSh35DCAPEIXB3i+pUq1b4d69vG8JZfUcaAV9I89T7SyAQly6zt1QiNyaeTT2+7AoBMSDMow==" - -SECONDARY_STORAGE_ACCOUNT_NAME = "fakename" -SECONDARY_STORAGE_ACCOUNT_KEY = "fakekey" -BLOB_STORAGE_ACCOUNT_NAME = "fakename" -BLOB_STORAGE_ACCOUNT_KEY = "fakekey" -VERSIONED_STORAGE_ACCOUNT_NAME = "fakename" -VERSIONED_STORAGE_ACCOUNT_KEY = "fakekey" -PREMIUM_STORAGE_ACCOUNT_NAME = "fakename" -PREMIUM_STORAGE_ACCOUNT_KEY = "fakekey" -STORAGE_RESOURCE_GROUP_NAME = "fakename" - -TENANT_ID = "00000000-0000-0000-0000-000000000000" -CLIENT_ID = "00000000-0000-0000-0000-000000000000" -CLIENT_SECRET = "00000000-0000-0000-0000-000000000000" - -ACCOUNT_URL_SUFFIX = 'core.windows.net' -RUN_IN_LIVE = "True" -SKIP_LIVE_RECORDING = "True" - -PROTOCOL = "https" \ No newline at end of file