Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{storage-blob-preview} fix test #3406

Merged
merged 2 commits into from
May 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scripts/ci/credscan/CredScanSuppressions.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@
"src\\stream-analytics\\azext_stream_analytics\\_help.py"
],
"_justification": "dummy passwords for one-off resources"
},
{
"file": [
"src\\storage-blob-preview\\azext_storage_blob_preview\\tests\\latest\\recordings\\test_storage_blob_incremental_copy.yaml"
],
"_justification": "[Storage] response body contains random value recognized as secret in outdated recoding files of storage may remove in the future"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interactions:
ParameterSetName:
- -n -g
User-Agent:
- AZURECLI/2.20.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0)
- AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01
response:
Expand All @@ -27,7 +27,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 01 Mar 2021 04:07:14 GMT
- Thu, 20 May 2021 08:43:35 GMT
expires:
- '-1'
pragma:
Expand Down Expand Up @@ -59,7 +59,7 @@ interactions:
ParameterSetName:
- --default-service-version -n -g
User-Agent:
- AZURECLI/2.20.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0)
- AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01
response:
Expand All @@ -73,7 +73,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 01 Mar 2021 04:07:15 GMT
- Thu, 20 May 2021 08:43:37 GMT
expires:
- '-1'
pragma:
Expand Down Expand Up @@ -110,7 +110,7 @@ interactions:
ParameterSetName:
- --default-service-version -n -g
User-Agent:
- AZURECLI/2.20.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0)
- AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01
response:
Expand All @@ -124,7 +124,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 01 Mar 2021 04:07:16 GMT
- Thu, 20 May 2021 08:43:38 GMT
expires:
- '-1'
pragma:
Expand All @@ -140,7 +140,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
- '1198'
status:
code: 200
message: OK
Expand All @@ -158,7 +158,7 @@ interactions:
ParameterSetName:
- -n -g
User-Agent:
- AZURECLI/2.20.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0)
- AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01
response:
Expand All @@ -172,7 +172,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 01 Mar 2021 04:07:16 GMT
- Thu, 20 May 2021 08:43:39 GMT
expires:
- '-1'
pragma:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interactions:
ParameterSetName:
- --enable-change-feed --change-feed-retention-days -n -g
User-Agent:
- AZURECLI/2.20.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0)
- AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01
response:
Expand All @@ -27,7 +27,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 01 Mar 2021 04:07:17 GMT
- Thu, 20 May 2021 08:43:37 GMT
expires:
- '-1'
pragma:
Expand Down Expand Up @@ -64,12 +64,12 @@ interactions:
ParameterSetName:
- --enable-change-feed --change-feed-retention-days -n -g
User-Agent:
- AZURECLI/2.20.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0)
- AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"changeFeed":{"retentionInDays":1,"enabled":true},"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"retentionInDays":1,"enabled":true}}}'
headers:
cache-control:
- no-cache
Expand All @@ -78,7 +78,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 01 Mar 2021 04:07:18 GMT
- Thu, 20 May 2021 08:43:39 GMT
expires:
- '-1'
pragma:
Expand All @@ -94,7 +94,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
- '1198'
status:
code: 200
message: OK
Expand All @@ -112,12 +112,12 @@ interactions:
ParameterSetName:
- --enable-change-feed --change-feed-retention-days -n -g
User-Agent:
- AZURECLI/2.20.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0)
- AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01
response:
body:
string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"changeFeed":{"retentionInDays":1,"enabled":true},"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}'
string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"retentionInDays":1,"enabled":true}}}'
headers:
cache-control:
- no-cache
Expand All @@ -126,7 +126,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 01 Mar 2021 04:07:18 GMT
- Thu, 20 May 2021 08:43:40 GMT
expires:
- '-1'
pragma:
Expand Down Expand Up @@ -163,12 +163,12 @@ interactions:
ParameterSetName:
- --enable-change-feed --change-feed-retention-days -n -g
User-Agent:
- AZURECLI/2.20.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0)
- AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"changeFeed":{"retentionInDays":100,"enabled":true},"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"retentionInDays":100,"enabled":true}}}'
headers:
cache-control:
- no-cache
Expand All @@ -177,7 +177,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 01 Mar 2021 04:07:20 GMT
- Thu, 20 May 2021 08:43:41 GMT
expires:
- '-1'
pragma:
Expand All @@ -193,7 +193,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1196'
- '1197'
status:
code: 200
message: OK
Expand All @@ -211,12 +211,12 @@ interactions:
ParameterSetName:
- --enable-change-feed --change-feed-retention-days -n -g
User-Agent:
- AZURECLI/2.20.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0)
- AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01
response:
body:
string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"changeFeed":{"retentionInDays":100,"enabled":true},"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}'
string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"retentionInDays":100,"enabled":true}}}'
headers:
cache-control:
- no-cache
Expand All @@ -225,7 +225,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 01 Mar 2021 04:07:21 GMT
- Thu, 20 May 2021 08:43:43 GMT
expires:
- '-1'
pragma:
Expand Down Expand Up @@ -262,12 +262,12 @@ interactions:
ParameterSetName:
- --enable-change-feed --change-feed-retention-days -n -g
User-Agent:
- AZURECLI/2.20.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0)
- AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"changeFeed":{"retentionInDays":14600,"enabled":true},"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"retentionInDays":14600,"enabled":true}}}'
headers:
cache-control:
- no-cache
Expand All @@ -276,7 +276,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 01 Mar 2021 04:07:21 GMT
- Thu, 20 May 2021 08:43:43 GMT
expires:
- '-1'
pragma:
Expand All @@ -292,7 +292,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1193'
- '1198'
status:
code: 200
message: OK
Expand All @@ -310,12 +310,12 @@ interactions:
ParameterSetName:
- --enable-change-feed -n -g
User-Agent:
- AZURECLI/2.20.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0)
- AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01
response:
body:
string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"changeFeed":{"retentionInDays":14600,"enabled":true},"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}'
string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"retentionInDays":14600,"enabled":true}}}'
headers:
cache-control:
- no-cache
Expand All @@ -324,7 +324,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 01 Mar 2021 04:07:23 GMT
- Thu, 20 May 2021 08:43:44 GMT
expires:
- '-1'
pragma:
Expand Down Expand Up @@ -361,12 +361,12 @@ interactions:
ParameterSetName:
- --enable-change-feed -n -g
User-Agent:
- AZURECLI/2.20.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0)
- AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"changeFeed":{"enabled":false},"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"enabled":false}}}'
headers:
cache-control:
- no-cache
Expand All @@ -375,7 +375,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 01 Mar 2021 04:07:23 GMT
- Thu, 20 May 2021 08:43:46 GMT
expires:
- '-1'
pragma:
Expand All @@ -391,7 +391,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1194'
- '1195'
status:
code: 200
message: OK
Expand Down
Loading