Enable API review approval check for Java spring packages (#2759)

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
This commit is contained in:
Azure SDK Bot 2021-08-17 09:50:47 -07:00 committed by GitHub
parent 512ae655b2
commit 0bc420af0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,9 @@ if ($packages)
else
{
# Return error code if status code is 201 for new data plane package
if ($pkgInfo.SdkType -eq "client" -and $pkgInfo.IsNewSdk)
# Temporarily enable API review for spring SDK types. Ideally this should be done be using 'IsReviewRequired' method in language side
# to override default check of SDK type client
if (($pkgInfo.SdkType -eq "client" -or $pkgInfo.SdkType -eq "spring") -and $pkgInfo.IsNewSdk)
{
if ($respCode -eq '201')
{