Skip to content

Commit a03a9a7

Browse files
committed
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python into have_pipelines_support_rest
* 'main' of https://github.com/Azure/azure-sdk-for-python: (27 commits) Document Pod Identity's special use of client_id (Azure#20377) [rest] use azure json encoder for json input bodies (Azure#20361) CertificateCredential supports PKCS12 certs (Azure#16384) Bug fix for pipeline downloading incorrect package ver (Azure#20294) Update metadata values (Azure#20365) [Key Vault] Add 7.3-preview support for administration (Azure#20364) Fix Monitor opentelemetry exporter readme issues (Azure#19038) More Renaming in query (Azure#20303) Update CODEOWNERS (Azure#20366) [ServiceBus] update migration guide with message count info (Azure#20360) [rest] change text from a property to a method (Azure#20290) Handle value types for results (Azure#20358) Remove old unused update changelog script (Azure#20357) bump node version (Azure#20353) [AutoRelease] t2-web-2021-08-03-73015 (Azure#20053) Fix query batch processing (Azure#20345) Sync eng/common directory with azure-sdk-tools for PR 1912 (Azure#20340) Increment version for schemaregistry releases (Azure#20326) [SchemaRegistry] prepare avro for release (Azure#20321) Update CHANGELOG.md (Azure#20334) ...
2 parents a282493 + e81050e commit a03a9a7

File tree

288 files changed

+157961
-15018
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

288 files changed

+157961
-15018
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
/sdk/communication/ @acsdevx-msft
4242

4343
# PRLabel: %KeyVault
44-
/sdk/keyvault/ @schaabs @chlowell @mccoyp
44+
/sdk/keyvault/ @schaabs @chlowell @mccoyp @YalinLi0312
4545

4646
# PRLabel: %Monitor - LogAnalytics
4747
/sdk/loganalytics/ @alexeldeib
@@ -143,4 +143,4 @@
143143

144144
# Add owners for notifications for specific pipelines
145145
/eng/pipelines/templates/jobs/tests-nightly-python.yml @lmazuel @mccoyp
146-
/eng/pipelines/aggregate-reports.yml @lmazuel @mccoyp
146+
/eng/pipelines/aggregate-reports.yml @lmazuel @mccoyp @YalinLi0312

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,6 @@ sdk/cosmos/azure-cosmos/test/test_config.py
114114

115115
# env vars
116116
.env
117+
118+
# local SSL certificate folder
119+
.certificate

eng/CredScanSuppression.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
},
3737
{
3838
"file":[
39+
"eng/common/testproxy/dotnet-devcert.pfx",
3940
"sdk/keyvault/azure-keyvault-certificates/tests/ca.key",
4041
"sdk/identity/azure-identity/tests/ec-certificate.pem",
4142
"sdk/core/azure-servicemanagement-legacy/tests/legacy_mgmt_settings_fake.py",

eng/common/TestResources/New-TestResources.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ param (
5050

5151
[Parameter()]
5252
[ValidateRange(1, [int]::MaxValue)]
53-
[int] $DeleteAfterHours = 48,
53+
[int] $DeleteAfterHours = 120,
5454

5555
[Parameter()]
5656
[string] $Location = '',

eng/common/TestResources/New-TestResources.ps1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ Aliases:
307307

308308
Required: False
309309
Position: Named
310-
Default value: 48
310+
Default value: 120
311311
Accept pipeline input: False
312312
Accept wildcard characters: False
313313
```

eng/common/Update-Change-Log.ps1

Lines changed: 0 additions & 153 deletions
This file was deleted.

eng/common/scripts/FilterPoliCheckResults.ps1

Lines changed: 0 additions & 103 deletions
This file was deleted.

eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function Invoke-Query($fields, $wiql, $output = $true)
6262
-Uri "https://dev.azure.com/azure-sdk/Release/_apis/wit/wiql/?`$top=10000&api-version=6.0" `
6363
-Headers (Get-DevOpsRestHeaders) -Body $body -ContentType "application/json" | ConvertTo-Json -Depth 10 | ConvertFrom-Json -AsHashTable
6464

65-
if ($response -isnot [HashTable] -or !$response.ContainsKey("workItems")) {
65+
if ($response -isnot [HashTable] -or !$response.ContainsKey("workItems") -or $response.workItems.Count -eq 0) {
6666
Write-Verbose "Query returned no items. $wiql"
6767
return ,@()
6868
}
@@ -83,11 +83,11 @@ function Invoke-Query($fields, $wiql, $output = $true)
8383
Write-Verbose "Pulling work items $uri "
8484

8585
$batchResponse = Invoke-RestMethod -Method GET -Uri $uri `
86-
-Headers $headers -ContentType "application/json" -MaximumRetryCount 3 | ConvertTo-Json -Depth 10 | ConvertFrom-Json -AsHashTable
86+
-Headers (Get-DevOpsRestHeaders) -ContentType "application/json" -MaximumRetryCount 3 | ConvertTo-Json -Depth 10 | ConvertFrom-Json -AsHashTable
8787

8888
if ($batchResponse.value)
8989
{
90-
$batchResponse.value | % { $workItems += $_ }
90+
$batchResponse.value | ForEach-Object { $workItems += $_ }
9191
}
9292
else
9393
{

0 commit comments

Comments
 (0)