Skip to content

Commit 3221629

Browse files
Merge branch 'wangamber/transcription' of https://github.com/amber-yujueWang/azure-sdk-for-java into wangamber/transcription
2 parents e94da0c + ed37a17 commit 3221629

File tree

660 files changed

+4220
-5227
lines changed

Some content is hidden

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

660 files changed

+4220
-5227
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,6 @@
234234
# PRLabel: %Cognitive - Health Insights
235235
/sdk/healthinsights/ @tomsft @koen-mertens @Azure/azure-java-sdk
236236

237-
# ServiceLabel: %Cognitive - Health Insights
238-
# ServiceOwners: @tomsft @koen-mertens
239-
240237
# ServiceLabel: %Cognitive - Immersive Reader
241238
# ServiceOwners: @metanMSFT
242239

eng/automation/parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
SDK_ROOT = "../../" # related to file dir
1919
AUTOREST_CORE_VERSION = "3.9.7"
20-
AUTOREST_JAVA = "@autorest/[email protected].59"
20+
AUTOREST_JAVA = "@autorest/[email protected].60"
2121
DEFAULT_VERSION = "1.0.0-beta.1"
2222
GROUP_ID = "com.azure.resourcemanager"
2323
API_SPECS_FILE = "api-specs.yaml"

eng/common/scripts/Create-APIReview.ps1

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,12 @@ function Upload-SourceArtifact($filePath, $apiLabel, $releaseStatus, $packageVer
9292
}
9393
catch
9494
{
95-
Write-Host "Exception details: $($_.Exception.Response)"
95+
Write-Host "ERROR: API request failed" -ForegroundColor Red
96+
Write-Host "Status Code: $($_.Exception.Response.StatusCode.Value__)" -ForegroundColor Yellow
97+
Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Yellow
98+
if ($_.ErrorDetails.Message) {
99+
Write-Host "Details: $($_.ErrorDetails.Message)" -ForegroundColor Yellow
100+
}
96101
$StatusCode = $_.Exception.Response.StatusCode
97102
}
98103

@@ -129,7 +134,12 @@ function Upload-ReviewTokenFile($packageName, $apiLabel, $releaseStatus, $review
129134
}
130135
catch
131136
{
132-
Write-Host "Exception details: $($_.Exception)"
137+
Write-Host "ERROR: API request failed" -ForegroundColor Red
138+
Write-Host "Status Code: $($_.Exception.Response.StatusCode.Value__)" -ForegroundColor Yellow
139+
Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Yellow
140+
if ($_.ErrorDetails.Message) {
141+
Write-Host "Details: $($_.ErrorDetails.Message)" -ForegroundColor Yellow
142+
}
133143
$StatusCode = $_.Exception.Response.StatusCode
134144
}
135145

eng/common/scripts/Detect-Api-Changes.ps1

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,13 @@ function Submit-Request($filePath, $packageName, $packageType)
7474
}
7575
catch
7676
{
77-
LogError "Error $StatusCode - Exception details: $($_.Exception.Response)"
77+
Write-Host "ERROR: API request failed" -ForegroundColor Red
78+
Write-Host "Status Code: $($_.Exception.Response.StatusCode.Value__)" -ForegroundColor Yellow
79+
Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Yellow
80+
if ($_.ErrorDetails.Message) {
81+
Write-Host "Details: $($_.ErrorDetails.Message)" -ForegroundColor Yellow
82+
}
83+
LogError "Failed to detect API changes. See details above."
7884
$StatusCode = $_.Exception.Response.StatusCode
7985
}
8086

0 commit comments

Comments
 (0)