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

Master merge #11793

Merged
merged 152 commits into from
Jun 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
782516d
Tracing updates (#11116)
samvaity May 18, 2020
c17fab3
Fix bug for supporting multi-page documents in Form Recognizer (#11232)
samvaity May 18, 2020
4f13c15
fix env var names (#11207)
eboyd23 May 18, 2020
1c9edde
Fix dynamic resource provisioning for live Cosmos tests (#11256)
danieljurek May 18, 2020
e1f5bdb
Pull swagger latest changes (#11253)
sima-zhu May 18, 2020
b30349f
Update relativePath to azure-data-sdk-parent pom (#11258)
JimSuplizio May 18, 2020
a78949c
Adding flexibility to parsing serializer encodings. (#11255)
conniey May 18, 2020
3706407
Regenerating computer-vision for api-version 3.0 (#11234)
anuchandy May 18, 2020
f15c44c
Update relativePath to azure-arm-parent (mgmt parent) pom (#11267)
JimSuplizio May 18, 2020
9e6999e
Misc fixes for cosmos public surface APIs (#11262)
kushagraThapar May 19, 2020
7a1bd4a
mgmt regenerate compute with upgrade api version (#11241)
xseeseesee May 19, 2020
be832ee
Updates API based on feedback (#11272)
conniey May 19, 2020
7b11f72
Add storage track 1 pipeline. (#11299)
mitchdenny May 19, 2020
6cc6b56
Users/xinlian/included path and exclude path update (#11265)
xinlian12 May 19, 2020
5722ccb
update KV Tests setup (#11188)
g2vinay May 19, 2020
2575958
Update archetype-sdk-data.yml and cosmos-sdk-client.yml (#11226)
chidozieononiwu May 19, 2020
f1634f9
UpdateConflictResolutionPolicyDocsUpdate (#11314)
xinlian12 May 19, 2020
ce60033
Form Recognizer builder clients (#11239)
samvaity May 20, 2020
6f96f6c
[TA] Deleted package private Transform class (#11264)
mssfang May 20, 2020
cf70a8e
Moved ConsistencyPolicy to implementation (#11308)
kushagraThapar May 20, 2020
fbfa549
move PollerFactory to polling package; remove AzureHost (#11203)
weidongxu-microsoft May 20, 2020
b4b2376
update core mgmt (#11328)
weidongxu-microsoft May 20, 2020
60c5bab
Wrapping FeedDiagnostic into CosmosDiagnostic (#11309)
simplynaveen20 May 20, 2020
87fff96
Removing AccessCondition, AccessConditionType (#11313)
simplynaveen20 May 20, 2020
2bb973b
CosmosClientException update (#11311)
xinlian12 May 20, 2020
25f9163
CI file for schemaregistry (#11338)
JimSuplizio May 20, 2020
81e3a6c
Change from CosmosKeyCredential to AzureKeyCredential (#11334)
xinlian12 May 20, 2020
77bda96
[ServiceBus] Enable connection via proxy for ManagementClient (#11108)
DorothySun216 May 20, 2020
a67beaf
share artifact staging. add release stage (#11195)
scbedd May 20, 2020
08713ad
Update Template's version for testing releases (#11348)
JimSuplizio May 21, 2020
1c302c9
remove unused maven plugin (#11356)
weidongxu-microsoft May 21, 2020
ac806b5
update getter for SdkContext in ManagerBase (#11353)
xseeseesee May 21, 2020
bbc727c
Sync eng/common directory with azure-sdk-tools repository (#11224)
azure-sdk May 21, 2020
eeb65ad
[TA] Make fromString method package-private (#11227)
mssfang May 21, 2020
6b90848
Event Hubs track 1 receive watchdog (#10197)
JamesBirdsall May 21, 2020
c3f7e58
Adjustments for No Release Notes (#11385)
scbedd May 21, 2020
ab9eb78
Servicebus track2 sync queue up multiple receive calls (#10940)
hemanttanwar May 22, 2020
0a78b75
Mgmt generate: mixed reality 2020 05 (#11413)
ChenTanyi May 25, 2020
1ab26e7
feat: update pom after generation (#11417)
ChenTanyi May 25, 2020
cc1e5a8
Mgmt update ci and dependency (#11364)
ChenTanyi May 25, 2020
0d6a3c5
mgmt update default subscription logic (#11302)
xseeseesee May 25, 2020
30d39dd
Spring Boot migration - KeyVault starter (#10597)
saragluna May 25, 2020
887e010
NetApp: regenerate package-2019-11 (#11422)
xseeseesee May 26, 2020
46f33b5
Kusto: generate package-2020-02-15 (#11421)
xseeseesee May 26, 2020
1572a2a
Disable CG in release side of the pipeline via globals import, and re…
mitchdenny May 26, 2020
16bdbf2
Increment version for eventhubs releases (#11387)
azure-sdk May 26, 2020
03b9d9f
Fix Multipage failing test (#11380)
samvaity May 26, 2020
7f6b8e8
Updated cosmos client builder docs and other docs (#11349)
kushagraThapar May 26, 2020
176d6db
Added converter layer for search. Removed the code transformation. (#…
sima-zhu May 26, 2020
8650b1d
[ServiceBus] Setting MessageTTL as the difference between ExpiryTime …
yvgopal May 26, 2020
e0de03e
Value query fixes (#11210)
mbhaskar May 26, 2020
8a4ce47
Fix receiver recovery when network connection is lost (#11432)
srnagar May 26, 2020
e9d85b6
Resolving Failing Docs.MS on non-client archetypes (#11389)
scbedd May 26, 2020
053fb81
Move url validation to the constructor to ensure sas tokens dont leak…
gapra-msft May 26, 2020
f8077c7
Split the two swaggers into different path. (#11437)
sima-zhu May 27, 2020
9b8e1ad
Add more explanation in SessionHandlerOptions (#11426)
DorothySun216 May 27, 2020
9f756bd
Skip AAD internal filter when is already authenticated or token not i…
yiliuTo May 27, 2020
369e411
Cosmos: CFP and doc related changes (#11429)
milismsft May 27, 2020
c95afb4
MediaServices: regenerate package-2018-07 (#11458)
xseeseesee May 27, 2020
5edbe0f
mgmt update azure profile (#11424)
xseeseesee May 27, 2020
4f73e52
Spring Boot migration -- JMS for Service Bus and Metrics (#11031)
saragluna May 27, 2020
58c2294
Spring Boot migration -- Azure AD B2C (#10941)
yiliuTo May 27, 2020
b1e93d4
Spring Boot migration -- CosmosDB and Gremlin (#11032)
yiliuTo May 27, 2020
4bf2091
Bumping azure service bus SDK version to 3.3.0 for release. (#11457)
yvgopal May 27, 2020
a4ece31
[TA] Remove pagination feature (#11318)
mssfang May 27, 2020
bb07d3c
Updated APIs with docs. Fixed few issues (#11442)
kushagraThapar May 27, 2020
02874cb
Update readme to align with .net and python and fixed a customer's re…
mssfang May 27, 2020
035d999
Increment package version after release of com.azure azure-ai-textana…
azure-sdk May 27, 2020
6c3de53
Merged CosmosAsyncStoredProcedureResponse and CosmosStoredProcedureRe…
kushagraThapar May 28, 2020
188afb5
Make remaning public APIs that take integer throughput value setting …
milismsft May 28, 2020
8773dfd
Merged CosmosAsyncUserResponse and CosmosUserResponse (#11485)
kushagraThapar May 28, 2020
b267096
Sync eng/common directory with azure-sdk-tools repository (#11383)
azure-sdk May 28, 2020
08d257d
Merge CosmosAsyncContainerResponse and CosmosContainerResponse (#11481)
xinlian12 May 28, 2020
e3c0559
CognitiveServices: regenerate package-2017-04 (#11495)
xseeseesee May 28, 2020
471a3a7
Split ServiceClient to IndexClient and IndexerClient (#11475)
sima-zhu May 28, 2020
5de58f4
mgmt update readme, add more concept (#11423)
weidongxu-microsoft May 28, 2020
4d03daf
fix bug in AzureServiceClient (#11500)
weidongxu-microsoft May 28, 2020
3847d7b
Allow data libraries to have 'beta' as well as 'beta.X' prerelease (#…
JimSuplizio May 28, 2020
d3eb98e
Increment package version after release of com.microsoft.azure azure-…
azure-sdk May 28, 2020
aa853eb
Fixed the credential and UserAgent in builder (#11497)
sima-zhu May 28, 2020
3077163
Merge CosmosAsyncDatabaseResponse and CosmosDatabaseResponse (#11513)
xinlian12 May 28, 2020
f2eee69
analyse to analyze, and use language for non-detect-language APIs (#1…
mssfang May 28, 2020
dec0e5f
Refactor CosmosAsyncConflictResponseToConflictReponse (#11515)
xinlian12 May 28, 2020
396c74b
Refactor CosmosPermissionAsyncResponseToCosmosPermissionResponse (#11…
xinlian12 May 28, 2020
3f7dfff
Introducing OperationKind enum (#11512)
simplynaveen20 May 28, 2020
e2dbf29
Merge CosmosAsyncUserDefinedResponseAndCosmosUserDefinedResponse (#11…
xinlian12 May 28, 2020
2db931c
Form recognizer API's to return List over IterableStream (#11310)
samvaity May 28, 2020
7337ac2
Merged cosmos trigger async response and cosmos trigger response type…
kushagraThapar May 28, 2020
d57cd2a
Move SerializationFormattingPolicy to Implementation (#11535)
xinlian12 May 29, 2020
b35e2df
Updated collection to container and document to items in public APIs …
kushagraThapar May 29, 2020
215b74c
Move DatabaseAccountLocationToImplementation (#11538)
xinlian12 May 29, 2020
066fc87
Page number property changes in FormRecognizer (#11523)
samvaity May 29, 2020
3fa4078
Renaming changes for Form Recognizer (#11533)
samvaity May 29, 2020
5d193eb
Removed select parameter from list APIs (#11521)
sima-zhu May 29, 2020
3c9311f
HDInsight: regenerate package-2018-06-preview (#11547)
xseeseesee May 29, 2020
38e7f10
Sync eng/common directory with azure-sdk-tools repository (#11534)
azure-sdk May 29, 2020
4b7307a
Cosmos: *Properties related code and doc changes (#11501)
milismsft May 29, 2020
e0b1dc6
Fixed bugs on FieldBuilder (#11532)
sima-zhu May 29, 2020
9beb16c
Replacing OffsetDateTime and ZonedDateTime with Instant (#11474)
simplynaveen20 May 29, 2020
4c6cb8d
Rename models (#11540)
sima-zhu May 29, 2020
6e23e4a
Remove duplicate dependency entries from Jacoco and Identity and upda…
JimSuplizio May 29, 2020
b257199
Collapse models into single one. (#11588)
sima-zhu May 29, 2020
4064382
Return headers sync upload (#11433)
rickle-msft May 29, 2020
5be5a2f
Make IMessageAndSessionPump public (#11550)
ryan-murphy-sc May 29, 2020
cd088e9
Create Autorest Models, pom File and README for Azure Tables (#11471)
eboyd23 May 29, 2020
1d6fdd4
Added SDK version to CosmosException and unit tests (#11587)
kushagraThapar May 29, 2020
33e0e3f
Removing CosmosAsyncItemResponse and updating relevant methods and do…
simplynaveen20 May 29, 2020
b44d6f3
Final rename models changes (#11590)
sima-zhu May 29, 2020
0094935
RefactorOfFeedOptions (#11598)
xinlian12 May 30, 2020
6763415
Add Schema Registry Client SDK (#10660)
arerlend May 30, 2020
f43374d
feat: update arm parent dependency (#11582)
ChenTanyi Jun 1, 2020
7176d8a
Took new swagger changes (#11597)
sima-zhu Jun 1, 2020
d670b9b
Removing duplicate retries for creating receive link and other fixes …
srnagar Jun 1, 2020
d90cbad
disable after-burner for rntbd debug log messages (#11652)
moderakh Jun 2, 2020
00c937f
Cosmos fix readme (#11653)
kushagraThapar Jun 2, 2020
53f7e24
SignalR: generate package-2020-05 (#11548)
xseeseesee Jun 2, 2020
d82b555
Hide DataType and all Index types (#11654)
xinlian12 Jun 2, 2020
cd633f7
Disable publishing to DevOps for POMs and BOMs. (#11659)
mitchdenny Jun 2, 2020
d2e5e5f
ProxyOptions change (#11656)
xinlian12 Jun 2, 2020
7c74fdd
add "Accept: application/json" to headers on polling operations (#11663)
weidongxu-microsoft Jun 2, 2020
8d03bec
Create empty sources.jar with README.md contents (#11638)
JimSuplizio Jun 2, 2020
632d862
Update setProxy docs (#11672)
xinlian12 Jun 2, 2020
1a9b630
Address API review feedback (#11645)
sima-zhu Jun 2, 2020
dcf54c3
[FEATURE] Cosmos | Wire up ConnectionPolicy, DirectConnectionConfig, …
Jun 2, 2020
e2b417a
Return LocalTime for valueTime in Form Recognizer (#11655)
samvaity Jun 2, 2020
b4161a6
Persistent service principal token cache for MSAL confidential client…
jianghaolu Jun 2, 2020
8bb09d3
ServiceUnavailableExceptionMessageImprovement (#11678)
xinlian12 Jun 2, 2020
a2f49ba
updated cosmos readme with perf and troubleshooting guide (#11687)
kushagraThapar Jun 2, 2020
5d9c370
Support Copy API Form recognizer (#11403)
samvaity Jun 2, 2020
ab6ab48
Quickly fix syntax error on condition. (#11699)
mitchdenny Jun 2, 2020
0c8899b
Revert change to fix POM pipelines. (#11700)
mitchdenny Jun 2, 2020
5535278
Move Cosmos table to additional modules. (#11661)
mitchdenny Jun 2, 2020
f29e0da
Add consistent LRO operation fail behavior across Form Recognizer pol…
samvaity Jun 3, 2020
6253b34
Conditionalize integration stage for POM only pipelines (#11703)
mitchdenny Jun 3, 2020
4d58c71
update on depencencies (#11714)
weidongxu-microsoft Jun 3, 2020
4e12c54
Move Azure Tables into sdk/tables/azure-data-tables (#11682)
conniey Jun 3, 2020
cf11093
MGMT draft structure refactor for storage (#11205)
weidongxu-microsoft Jun 3, 2020
d0a900b
Direct/GatewayConnectionConfigChange (#11702)
xinlian12 Jun 3, 2020
9290fab
Updated cosmos release notes (#11684)
kushagraThapar Jun 3, 2020
346475e
Renaming changes (#11683)
sima-zhu Jun 3, 2020
48fca21
Max concurrency (#11478)
rickle-msft Jun 3, 2020
0cc605e
Fixed bug in file share source url encoding (#11583)
gapra-msft Jun 3, 2020
1e97b37
Updated azure-cosmos tag in readme (#11755)
kushagraThapar Jun 3, 2020
00494e1
Support AAD Authentication in Form Recognizer (#11156)
mssfang Jun 4, 2020
1c661bd
mgmt restructure compute package (#11742)
weidongxu-microsoft Jun 4, 2020
4bc9092
EventGrid: generate package-2020-06 (#11760)
xseeseesee Jun 4, 2020
7f2dbbc
Fix record test (#11763)
ChenTanyi Jun 4, 2020
2987f0f
Add FormRecognizerException for client side exceptions in FormRecogni…
samvaity Jun 4, 2020
27c2514
fix: add sample jar due to gitignore (#11767)
ChenTanyi Jun 4, 2020
2ea80c2
Updated post release versions to 4.0.1-beta.5, release notes and read…
kushagraThapar Jun 4, 2020
8bfb5da
Add tables to root POM. (#11761)
mitchdenny Jun 4, 2020
7812050
Merge remote-tracking branch 'upstream/master' into masterMerge
rickle-msft Jun 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ dist/

#javadoc overview files generated from README.md
readme_overview.html
**/javadocTemp/**
**/sourceTemp/**

#External libs
extlib/
Expand Down
3 changes: 2 additions & 1 deletion eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ known_content_issues:
- ['sdk/storage/azure-storage-blob-nio/README.md', '#3113']
- ['sdk/storage/azure-storage-internal-avro/README.md', '#3113']
- ['sdk/storage/README.md', '#3113']
- ['sdk/textanalytics/azure-ai-textanalytics/swagger/README.md', '#3113']
- ['sdk/tables/azure-data-tables/swagger/README.md', '#3113']
- ['sdk/template/azure-sdk-template/README.md','has other required sections']
- ['sdk/textanalytics/azure-ai-textanalytics/swagger/README.md', '#3113']

package_indexing_exclusion_list:
- azure-loganalytics-sample
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck"
files="com.azure.storage.common.implementation.StorageImplUtils.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="com.azure.core.http.ProxyOptions.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="com.azure.core.util.serializer.SerializerEncoding.java"/>

<!-- Azure Core Test -->
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files=".*[/\\]core[/\\]test[/\\].*\.java"/>
Expand All @@ -261,10 +262,6 @@
<suppress checks="MethodName|MemberName|VisibilityModifier|TypeName"
files="com.azure.identity.implementation.WindowsCredentialApi.java"/>

<!-- Use the logger in a Utility static method. -->
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck"
files="com.azure.ai.textanalytics.Transforms.java"/>

<!-- Use the logger in a Utility static method. -->
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="com.azure.ai.formrecognizer.Transforms.java" />
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="com.azure.ai.formrecognizer.training.CustomModelTransforms.java" />
Expand Down Expand Up @@ -361,9 +358,25 @@
<!-- Suppress checks for AutoRest generated Search code -->
<!-- Hand-written classes should be specified here to be checked -->
<suppress checks="."
files=".*[/\\]search[/\\]documents[/\\]implementation[/\\]((?!(GeoPointDeserializer|Iso8601DateDeserializer|SerializationUtil)).*)"/>
files=".*[/\\]search[/\\]documents[/\\]implementation[/\\]models[/\\]"/>
<suppress checks="."
files=".*[/\\]search[/\\]documents[/\\]indexes[/\\]implementation[/\\]models[/\\]"/>
<suppress checks="."
files=".*[/\\]search[/\\]documents[/\\]models[/\\]((?!(CoordinateSystem|GeoPoint|IndexBatch|ValueFacetResult|RangeFacetResult)).*)"/>
files=".*[/\\]search[/\\]documents[/\\]implementation[/\\]converters[/\\]"/>
<suppress checks="."
files=".*[/\\]search[/\\]documents[/\\]implementation[/\\](DocumentsImpl|SearchIndexRestClientBuilder|SearchIndexRestClientImpl)"/>
<suppress checks="."
files=".*[/\\]search[/\\]documents[/\\]indexes[/\\]implementation[/\\](DataSourcesImpl|IndexersImpl|IndexesImpl|SkillsetsImpl|SynonymMapsImpl|SearchServiceRestClientBuilder|SearchServiceRestClientImpl)"/>
<suppress checks="."
files=".*[/\\]search[/\\]documents[/\\]models[/\\]((?!(CoordinateSystem|GeoPoint|IndexBatch|ValueFacetResult|RangeFacetResult|ComplexField|SearchableField|SimpleField|SearchFieldBase|IndexBatchException|ScoringParameter)).*)"/>
<suppress checks="GoodLoggingCheck" files="com.azure.search.documents.implementation.util.PrivateFieldAccessHelper.java"/>

<!-- Removed this rule after the issue gets fixed: https://github.com/Azure/azure-sdk-for-java/issues/11651-->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.search.documents.SearchAsyncClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.search.documents.SearchClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.search.documents.indexes.SearchIndexClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.search.documents.indexes.SearchIndexAsyncClient.java"/>
<!-- <suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.search.documents.SearchAsyncClient.java"/>-->

<!-- Suppress external dependency check for jacksonwrapper overriding deserialize method -->
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
Expand Down Expand Up @@ -395,7 +408,7 @@

<!-- Don't enforce non-static ClientLogger instances in azure-core-mgmt PollerFactory and PollingState types-->
<suppress checks="com\.azure\.tools\.checkstyle\.checks\.(ThrowFromClientLoggerCheck|GoodLoggingCheck)"
files="com.azure.core.management.implementation.polling.PollerFactory.java"/>
files="com.azure.core.management.implementation.polling.PollOperation.java"/>
<suppress checks="com\.azure\.tools\.checkstyle\.checks\.(ThrowFromClientLoggerCheck|GoodLoggingCheck)"
files="com.azure.core.management.implementation.polling.PollingState.java"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -711,26 +711,6 @@
<Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON"/>
</Match>


<!-- Azure search has generated code mixed with hand-written in these packages -->
<Match>
<And>
<Package name="~com\.azure\.search\.documents\.models"/>
<Not>
<Or>
<!-- Hand-written classes should be specified here to be checked -->
<Class name="com.azure.search.documents.models.CoordinateSystem"/>
<Class name="com.azure.search.documents.models.GeoPoint"/>
<Class name="com.azure.search.documents.models.IndexBatch"/>
<Class name="com.azure.search.documents.models.ValueFacetResult"/>
<Class name="com.azure.search.documents.models.RangeFacetResult"/>
<Class name="com.azure.search.documents.models.IndexBatchException"/>
<Class name="com.azure.search.documents.models.ScoringParameter"/>
</Or>
</Not>
</And>
</Match>

<!-- Initial implementation of JacksonDeserializer is using an inline class-->
<Match>
<Class name="com.azure.core.implementation.serializer.jsonwrapper.jacksonwrapper.JacksonDeserializer"/>
Expand Down Expand Up @@ -825,7 +805,7 @@
<Match>
<Or>
<Class name="com.azure.cosmos.ClientSideRequestStatistics"/>
<Class name="com.azure.cosmos.models.CosmosAsyncItemResponse"/>
<Class name="com.azure.cosmos.models.CosmosItemResponse"/>
</Or>
<Bug pattern="IS2_INCONSISTENT_SYNC"/>
</Match>
Expand Down Expand Up @@ -904,40 +884,6 @@
<Bug pattern="DM_BOXED_PRIMITIVE_FOR_PARSING"/>
</Match>

<!-- When setting the value which this method returns, it is ensured that value is of CosmosContainerProperties -->
<Match>
<Class name="com.azure.cosmos.models.CosmosAsyncContainerResponse"/>
<Method name="getProperties"/>
<Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE"/>
</Match>

<!-- When setting the value which this method returns, it is ensured that value is of CosmosDatabaseProperties -->
<Match>
<Class name="com.azure.cosmos.models.CosmosAsyncDatabaseResponse"/>
<Method name="getProperties"/>
<Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE"/>
</Match>

<!-- When setting the value which this method returns, it is ensured that value is of CosmosPermissionProperties -->
<Match>
<Class name="com.azure.cosmos.models.CosmosAsyncPermissionResponse"/>
<Method name="getProperties"/>
<Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE"/>
</Match>

<!-- When setting the value which this method returns, it is ensured that value is of CosmosStoredProcedureProperties -->
<Match>
<Class name="com.azure.cosmos.models.CosmosAsyncStoredProcedureResponse"/>
<Method name="getProperties"/>
<Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE"/>
</Match>

<!-- When setting the value which this method returns, it is ensured that value is of CosmosUserProperties -->
<Match>
<Class name="com.azure.cosmos.models.CosmosAsyncUserResponse"/>
<Method name="getProperties"/>
<Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE"/>
</Match>

<!-- Extra null check is for assertion -->
<Match>
Expand All @@ -957,7 +903,7 @@
Issue: https://github.com/Azure/azure-sdk-for-java/issues/9054
-->
<Match>
<Class name="com.azure.cosmos.models.CosmosAsyncItemResponse"/>
<Class name="com.azure.cosmos.models.CosmosItemResponse"/>
<Method name="getItem"/>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE"/>
</Match>
Expand Down Expand Up @@ -1208,35 +1154,35 @@

<!-- Bug: https://github.com/Azure/azure-sdk-for-java/issues/9054 -->
<Match>
<Class name="com.azure.cosmos.models.CosmosAsyncItemResponse"/>
<Class name="com.azure.cosmos.models.CosmosItemResponse"/>
<Field name="item"/>
<Bug pattern="DC_DOUBLECHECK"/>
</Match>

<!-- Bug: https://github.com/Azure/azure-sdk-for-java/issues/9088 -->
<Match>
<Class name="com.azure.cosmos.CosmosClientException"/>
<Class name="com.azure.cosmos.CosmosException"/>
<Field name="cosmosError"/>
<Bug pattern="SE_BAD_FIELD"/>
</Match>

<!-- Bug: https://github.com/Azure/azure-sdk-for-java/issues/9088 -->
<Match>
<Class name="com.azure.cosmos.CosmosClientException"/>
<Field name="cosmosResponseDiagnostics"/>
<Class name="com.azure.cosmos.CosmosException"/>
<Field name="cosmosDiagnostics"/>
<Bug pattern="SE_BAD_FIELD"/>
</Match>

<!-- Bug: https://github.com/Azure/azure-sdk-for-java/issues/9088 -->
<Match>
<Class name="com.azure.cosmos.CosmosClientException"/>
<Class name="com.azure.cosmos.CosmosException"/>
<Field name="requestTimeline"/>
<Bug pattern="SE_BAD_FIELD"/>
</Match>

<!-- Bug: https://github.com/Azure/azure-sdk-for-java/issues/9088 -->
<Match>
<Class name="com.azure.cosmos.CosmosClientException"/>
<Class name="com.azure.cosmos.CosmosException"/>
<Field name="requestUri"/>
<Bug pattern="SE_BAD_FIELD"/>
</Match>
Expand Down Expand Up @@ -1608,13 +1554,6 @@
<Bug pattern="UUF_UNUSED_FIELD"/>
</Match>

<!-- Bug: https://github.com/Azure/azure-sdk-for-java/issues/9096 -->
<Match>
<Class name="com.azure.cosmos.models.CosmosAsyncConflictResponse"/>
<Method name="getProperties"/>
<Bug pattern="IL_INFINITE_RECURSIVE_LOOP"/>
</Match>

<!-- Bug: https://github.com/Azure/azure-sdk-for-java/issues/9096 -->
<Match>
<Class name="com.azure.cosmos.models.SqlParameterList"/>
Expand Down Expand Up @@ -1897,6 +1836,14 @@
<Bug pattern="UPM_UNCALLED_PRIVATE_METHOD"/>
</Match>

<!-- Serializing a null value should return null to allow client to handle null cases
consistently instead of injecting null payload behavior from the payload. -->
<Match>
<Class name="com.azure.data.schemaregistry.avro.SchemaRegistryAvroSerializer"/>
<Method name="serialize"/>
<Bug pattern="PZLA_PREFER_ZERO_LENGTH_ARRAYS"/>
</Match>

<!-- Exclude spotbug from non-shipping modules -->
<Match>
<Or>
Expand Down Expand Up @@ -2028,6 +1975,10 @@
<Package name="~com\.azure\.management\.(.+)\.models"/>
<Bug pattern="NP_LOAD_OF_KNOWN_NULL_VALUE,SKIPPED_CLASS_TOO_BIG"/>
</Match>
<Match>
<Package name="~com\.azure\.management\.(.+)\.fluent"/>
<Bug pattern="NP_LOAD_OF_KNOWN_NULL_VALUE,SKIPPED_CLASS_TOO_BIG"/>
</Match>

<!-- Exclude REC_CATCH_EXCEPTION for management samples. All samples in management catch Exception instead of throw it. -->
<Match>
Expand Down
1 change: 1 addition & 0 deletions eng/common/TestResources/remove-test-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ steps:
-Force `
-Verbose
displayName: Remove test resources
condition: and(ne(variables['AZURE_RESOURCEGROUP_NAME'], ''), succeededOrFailed())
continueOnError: true
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,3 @@ steps:
BaseBranchName: smoke-test
WorkingDirectory: ${{parameters.WorkingDirectory}}/repo
ScriptDirectory: ${{parameters.WorkingDirectory}}/${{parameters.ScriptDirectory}}



Loading