Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…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)
  ...
  • Loading branch information
iscai-msft committed Aug 23, 2021
2 parents a282493 + e81050e commit a03a9a7
Show file tree
Hide file tree
Showing 288 changed files with 157,961 additions and 15,018 deletions.
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
/sdk/communication/ @acsdevx-msft

# PRLabel: %KeyVault
/sdk/keyvault/ @schaabs @chlowell @mccoyp
/sdk/keyvault/ @schaabs @chlowell @mccoyp @YalinLi0312

# PRLabel: %Monitor - LogAnalytics
/sdk/loganalytics/ @alexeldeib
Expand Down Expand Up @@ -143,4 +143,4 @@

# Add owners for notifications for specific pipelines
/eng/pipelines/templates/jobs/tests-nightly-python.yml @lmazuel @mccoyp
/eng/pipelines/aggregate-reports.yml @lmazuel @mccoyp
/eng/pipelines/aggregate-reports.yml @lmazuel @mccoyp @YalinLi0312
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,6 @@ sdk/cosmos/azure-cosmos/test/test_config.py

# env vars
.env

# local SSL certificate folder
.certificate
1 change: 1 addition & 0 deletions eng/CredScanSuppression.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
},
{
"file":[
"eng/common/testproxy/dotnet-devcert.pfx",
"sdk/keyvault/azure-keyvault-certificates/tests/ca.key",
"sdk/identity/azure-identity/tests/ec-certificate.pem",
"sdk/core/azure-servicemanagement-legacy/tests/legacy_mgmt_settings_fake.py",
Expand Down
2 changes: 1 addition & 1 deletion eng/common/TestResources/New-TestResources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ param (

[Parameter()]
[ValidateRange(1, [int]::MaxValue)]
[int] $DeleteAfterHours = 48,
[int] $DeleteAfterHours = 120,

[Parameter()]
[string] $Location = '',
Expand Down
2 changes: 1 addition & 1 deletion eng/common/TestResources/New-TestResources.ps1.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ Aliases:

Required: False
Position: Named
Default value: 48
Default value: 120
Accept pipeline input: False
Accept wildcard characters: False
```
Expand Down
153 changes: 0 additions & 153 deletions eng/common/Update-Change-Log.ps1

This file was deleted.

103 changes: 0 additions & 103 deletions eng/common/scripts/FilterPoliCheckResults.ps1

This file was deleted.

6 changes: 3 additions & 3 deletions eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function Invoke-Query($fields, $wiql, $output = $true)
-Uri "https://dev.azure.com/azure-sdk/Release/_apis/wit/wiql/?`$top=10000&api-version=6.0" `
-Headers (Get-DevOpsRestHeaders) -Body $body -ContentType "application/json" | ConvertTo-Json -Depth 10 | ConvertFrom-Json -AsHashTable

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

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

if ($batchResponse.value)
{
$batchResponse.value | % { $workItems += $_ }
$batchResponse.value | ForEach-Object { $workItems += $_ }
}
else
{
Expand Down
Loading

0 comments on commit a03a9a7

Please sign in to comment.