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

Remove aad and b2c auto-configuration conditional on resource conditions #25471

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
89073a3
Cherry-pick unifying configuration changes to Azure Spring Cloud 4.x …
saragluna Aug 17, 2021
b4cceda
Merge branch 'main' into feature/azure-spring-cloud-4.0
saragluna Aug 19, 2021
49b33ff
Merge branch 'main' into feature/azure-spring-cloud-4.0
saragluna Aug 20, 2021
e260f52
Merge branch 'main' into feature/azure-spring-cloud-4.0
saragluna Aug 23, 2021
616c4b1
Merge branch 'main' into feature/azure-spring-cloud-4.0
saragluna Aug 24, 2021
19f16f7
Merge branch 'main' into feature/azure-spring-cloud-4.0
saragluna Aug 25, 2021
fff4199
Merge branch 'main' into feature/azure-spring-cloud-4.0
saragluna Aug 26, 2021
123e1b9
Merge branch 'main' into feature/azure-spring-cloud-4.0
saragluna Aug 27, 2021
c9de076
Add an azure-spring-cloud-core module (#23787)
saragluna Aug 31, 2021
3de9929
Merge branch 'main' into feature/azure-spring-cloud-4.0
saragluna Aug 31, 2021
be9e20b
fix ci pipeline after merge
saragluna Aug 31, 2021
1896e55
Merge branch 'main' into feature/azure-spring-cloud-4.0
saragluna Sep 1, 2021
473a7c4
fix pipeline
saragluna Sep 2, 2021
a58aa91
Upgrade Azure Spring modules version to 4.0 in the 4.0 branch (#23883)
saragluna Sep 2, 2021
c451201
Add actuator details configuration (#23879)
Sep 2, 2021
9e62661
Fixes unsolved comments in azure-spring-cloud-4.0 (#23882)
Sep 2, 2021
63791b7
Merge branch 'main' into feature/azure-spring-cloud-4.0
saragluna Sep 3, 2021
fd32aa8
Merge branch 'main' into feature/azure-spring-cloud-4.0
yiliuTo Sep 6, 2021
550be98
fix pipeline error
yiliuTo Sep 6, 2021
955363f
fix broken link in changelog
yiliuTo Sep 6, 2021
63b5316
remove azure-identity-spring in version_client
yiliuTo Sep 6, 2021
d2ff0cb
Merge branch 'main' into feature/azure-spring-cloud-4.0
yiliuTo Sep 7, 2021
a05488a
fix outdated versions in pom
yiliuTo Sep 7, 2021
d5ce19a
Delete un-supported AAD features. (#23895)
Sep 7, 2021
790e9d1
Merge branch 'feature/azure-spring-cloud-4.0' of https://github.com/A…
yiliuTo Sep 7, 2021
8fc499c
Merge branch 'main' into feature/azure-spring-cloud-4.0
yiliuTo Sep 8, 2021
5c28ace
fix outdated version
yiliuTo Sep 8, 2021
8480078
Delete azure-spring-boot-starter-active-directory-b2c related content…
Sep 8, 2021
1218489
Merge branch 'main' into feature/azure-spring-cloud-4.0
yiliuTo Sep 9, 2021
379305f
fix outdated versions
yiliuTo Sep 9, 2021
21e892e
Merge branch 'main' into feature/azure-spring-cloud-4.0
yiliuTo Sep 10, 2021
eb4662f
Merge branch 'main' into feature/azure-spring-cloud-4.0
Sep 13, 2021
0a0c3db
delete azure-spring-boot-test-aad-b2c related content
zhichengliu12581 Sep 13, 2021
1e530e1
delete azure-spring-boot-test-aad-resource-server-by-filter related c…
zhichengliu12581 Sep 13, 2021
5736bfb
Delete test because these features has already been deleted in https:…
zhichengliu12581 Sep 13, 2021
be5b29d
Merge branch 'main' into feature/azure-spring-cloud-4.0
zhichengliu12581 Sep 14, 2021
9afb834
fix outdated version
zhichengliu12581 Sep 14, 2021
c2a23c8
Merge branch 'main' into feature/azure-spring-cloud-4.0
zhichengliu12581 Sep 15, 2021
097379c
fix outdated version
zhichengliu12581 Sep 15, 2021
6f16f1b
Merge branch 'main' into feature/azure-spring-cloud-4.0
zhichengliu12581 Sep 16, 2021
8c6650a
Add Spring Boot auto-configuration of all Azure Spring supported SDK …
saragluna Sep 16, 2021
e65210d
Merge branch 'main' into feature/azure-spring-cloud-4.0
zhichengliu12581 Sep 17, 2021
b2a71f9
fix outdated version
zhichengliu12581 Sep 17, 2021
e72aa98
Merge branch 'main' into feature/azure-spring-cloud-4.0
backwind1233 Sep 22, 2021
509c737
Delete readme and changelog in azure-spring-boot-starters (#23928)
Sep 22, 2021
03c5582
- update versions in azure-spring-cloud-autoconfigure
backwind1233 Sep 22, 2021
ff2d861
Merge remote-tracking branch 'azsdk/feature/azure-spring-cloud-4.0' i…
backwind1233 Sep 22, 2021
618fd6c
Merge branch 'main' into feature/azure-spring-cloud-4.0
backwind1233 Sep 23, 2021
b0b6249
Merge branch 'main' into feature/azure-spring-cloud-4.0
backwind1233 Sep 24, 2021
80e1a99
Refactor azure spring modules of messaging, integration and cloud str…
yiliuTo Sep 24, 2021
93ac9f2
Merge remote-tracking branch 'azsdk/feature/azure-spring-cloud-4.0' i…
backwind1233 Sep 24, 2021
10509ac
delete unused imports: ref #24147
backwind1233 Sep 24, 2021
a2d28b6
Merge branch 'main' into feature/azure-spring-cloud-4.0
backwind1233 Sep 24, 2021
6d81430
update dependency versions
backwind1233 Sep 24, 2021
bc9cb93
Merge branch 'main' into feature/azure-spring-cloud-4.0
backwind1233 Sep 24, 2021
02cd44e
fix broken links when running pipeline
backwind1233 Sep 24, 2021
360d23a
fix broken links when running pipeline
backwind1233 Sep 24, 2021
911b50e
Merge branch 'main' into feature/azure-spring-cloud-4.0
backwind1233 Sep 24, 2021
7962e88
remove unused import
backwind1233 Sep 24, 2021
e4b7904
prefer api from project-reactor instead of creating our own wheel (#2…
stliu Sep 26, 2021
6fadec5
drop rxjava and completableFuture api (#24326)
yiliuTo Sep 27, 2021
0af2abe
Merge main branch
Sep 28, 2021
4afd30d
fix build error
Sep 28, 2021
5868f3c
fix build error
Sep 29, 2021
5e3c67b
Merge main branch
Sep 30, 2021
a1c745e
Resolve merge conflicts
Sep 30, 2021
4b547fe
Add project.properties file
Sep 30, 2021
f0cad06
fix module version format
Sep 30, 2021
9966911
Refactor Spring Cloud for Azure auto-configuration and core (#24309)
saragluna Oct 9, 2021
15dda6c
Renaming Azure Spring artifacts for 4.0 (#24719)
saragluna Oct 13, 2021
b1c683a
update spring bom version to 4.0.0-beta.1 (#24777)
backwind1233 Oct 15, 2021
a7cc5ac
add spring cloud stream binder starter modules (#24761)
yiliuTo Oct 15, 2021
bdc4007
Merge branch 'main' into feature/azure-spring-cloud-4.0
saragluna Oct 15, 2021
d68319c
Delete beans which should not be configured in spring-cloud-azure-aut…
Oct 18, 2021
6c5f195
combine azure-spring-boot-bom and azure-spring-cloud-dependencies to …
saragluna Oct 18, 2021
c9442d8
Enable configuration for http log level in Spring Cloud Azure 4.0 (#2…
saragluna Oct 18, 2021
4a3e2d3
Delete aad related integration test. (#24882)
Oct 19, 2021
09ea6db
Delete unused files. (#24885)
Oct 19, 2021
2a8f662
Fix Spring Cloud Azure 4.0 EventHubs binder processor configuration (…
saragluna Oct 20, 2021
c2c7223
Add a spring-cloud-azure-service module (#24924)
saragluna Oct 21, 2021
55d83ae
fix compilation error (#24931)
saragluna Oct 21, 2021
f8af57f
fix integration tests (#24937)
saragluna Oct 21, 2021
f6b6463
Remove cache and eventhubs-kafka modules (#24940)
backwind1233 Oct 21, 2021
e18ab6e
Merge branch 'main' into feature/azure-spring-cloud-4.0
yiliuTo Oct 22, 2021
789ad56
move module spring-cloud-azure-messaging to azure-spring-messaging (#…
yiliuTo Oct 25, 2021
e49b5a6
fix spring messaging modules ut skipped (#25027)
yiliuTo Oct 27, 2021
876e9af
Update azure service proxy configuration in Spring tier (#24810)
Oct 28, 2021
7980fe1
Fix Spring Cloud Azure 4.0 Event Hub binder integration tests not run…
saragluna Nov 1, 2021
9fae6f8
Refactor spring messaging eventhubs (#25057)
saragluna Nov 3, 2021
ccfc66d
Update retry configuration for Azure SDKs service builder in Spring t…
Nov 4, 2021
546ee58
refactor the env post processor for Azure Core/SDK envs, add more htt…
saragluna Nov 8, 2021
23948c4
refactor the starters dependencies (#25238)
saragluna Nov 9, 2021
7957be6
Spring Cloud Azure 4.0 refactor application-id and spring-identifier …
saragluna Nov 9, 2021
37c7c01
Update resource manager auto config and add testcases (#25206)
Nov 9, 2021
7ef326f
Move active directory related logic from main branch to 4.0 branch (#…
Nov 11, 2021
bc90847
Remove the validation of cosmos endpoint (#25187)
backwind1233 Nov 11, 2021
bf01df4
change the way to supply extended properties for binding, no need for…
saragluna Nov 11, 2021
063785e
Merge branch 'main' into feature/azure-spring-cloud-4.0
saragluna Nov 14, 2021
f9eb483
fix ci link check error
saragluna Nov 14, 2021
b27e9ba
fix ci pipeline link check errors
saragluna Nov 14, 2021
7e18b47
try to fix ITs
saragluna Nov 14, 2021
ac06120
try to fix ITs
saragluna Nov 14, 2021
64bcb2b
Spring cloud azure starter migration guide (#25235)
saragluna Nov 15, 2021
1a124b0
Spring cloud azure refactor global properties (#25239)
saragluna Nov 15, 2021
ab7d802
update migration guide (#25401)
saragluna Nov 15, 2021
279acd3
Add @ConditionalOnBean on CosmosReactiveRepositoriesAutoConfiguration…
backwind1233 Nov 16, 2021
87e1969
Set content-type when using Azure Storage Resource (#25253)
backwind1233 Nov 16, 2021
a73bd73
Add auto-configuration classes in spring.factories. (#25403)
Nov 16, 2021
c7d49d7
Rename properties and binder name for eventhubs binder (#25430)
saragluna Nov 16, 2021
f952243
refactor aad, aad b2c packages (#25436)
saragluna Nov 16, 2021
1c251a1
Change azure active directory related property from "azure.activedire…
Nov 17, 2021
e366d3c
Add level 1 app configuration health indicator (#25364)
Nov 17, 2021
bbedd12
Refactor spring messaging sb (#25219)
yiliuTo Nov 17, 2021
3570c2f
Remove validation dependency (#25335)
backwind1233 Nov 17, 2021
70f57b4
remove conditional on resource for aad and b2c
saragluna Nov 17, 2021
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ If an SDK is being regenerated based on a new swagger spec, a link to the pull r
- [ ] **CHANGELOG is updated for new features, bug fixes or other significant changes.**
- [ ] **I have read the [contribution guidelines](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md).**

## [General Guidelines and Best Practices](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#general-guidelines)
## [General Guidelines and Best Practices](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md#general-guidelines)
- [ ] Title of the pull request is clear and informative.
- [ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md).

### [Testing Guidelines](../../CONTRIBUTING.md#building-and-unit-testing)
### [Testing Guidelines](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md#building-and-unit-testing)
- [ ] Pull request includes test coverage for the included changes.
11 changes: 10 additions & 1 deletion eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@ omitted_paths:
- sdk/*/azure-*/samples/*
- sdk/*/azure-monitor-opentelemetry-exporter/*/samples/*
- sdk/applicationinsights/microsoft-azure-applicationinsights-query/samples/*
- sdk/spring/azure-spring-boot-samples/*
- sdk/boms/azure-spring-boot-bom/*
- sdk/boms/azure-spring-cloud-dependencies/*
- sdk/spring/spring-cloud-azure-starter-*/*
- sdk/spring/spring-cloud-azure-starter/*
- sdk/spring/spring-cloud-azure-autoconfigure/*
- sdk/spring/spring-cloud-azure-resourcemanager/*
- sdk/spring/spring-cloud-azure-service/*
- sdk/spring/spring-cloud-azure-actuator-autoconfigure/*
- sdk/spring/spring-cloud-azure-actuator/*
- sdk/spring/spring-cloud-azure-core/*
- sdk/loganalytics/microsoft-azure-loganalytics/samples/*
- "*/resource-manager/*"
- "sdk/*/mgmt-*/*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

<!-- Fields tenantId, clientId and clientSecret are not set in all constructors. -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.security.keyvault.jca.implementation.KeyVaultClient"/>

<!-- Fields defaultTrustManager and keyStore might be set more than once. -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.security.keyvault.jca.KeyVaultTrustManager"/>

Expand Down Expand Up @@ -425,6 +425,9 @@ the main ServiceBusClientBuilder. -->
/>
<suppress checks="[a-zA-Z0-9]*" files="[/\\]azure-spring-cloud-feature-management[/\\]"/>
<suppress checks="[a-zA-Z0-9]*" files="[/\\]azure-spring-cloud-feature-management-web[/\\]"/>
<!-- Suppress the long package name in spring security related implementation class. -->
<suppress checks="PackageName" files="com.azure.spring.cloud.autoconfigure.aad.b2c.implementation.*" />
<suppress checks="PackageName" files="com.azure.spring.cloud.autoconfigure.aad.implementation.*" />

<!-- perf-test files are not public API, so they don't need to fulfill all requirements. -->
<suppress checks="Javadoc" files=".*[/\\]azure-\w+-perf[/\\].*\.java"/>
Expand Down Expand Up @@ -470,48 +473,39 @@ the main ServiceBusClientBuilder. -->
<!-- ExternalDependencyExposedCheck: Spring will directly use classes from spring dependencies in methods-->
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck" files=".*[/\\]com[/\\]azure[/\\]spring[/\\].*"/>

<!-- Package Name: B2C is the product name -->
<suppress checks="PackageName" files="com.azure.spring.b2c.*|com.azure.spring.autoconfigure.b2c.*"/>
<!-- JavadocPackage: Temporarily skip -->
<suppress checks="JavadocPackage" files=".*[/\\]com[/\\]azure[/\\]spring[/\\].*"/>

<!-- MissingJavadocMethod: Temporarily skip -->
<suppress checks="MissingJavadocMethod" files=".*[/\\]com[/\\]azure[/\\]spring[/\\].*"/>
<!-- MissingJavadocMethod: gremlin is not shipping now -->
<suppress checks="MissingJavadocType" files=".*[/\\]com[/\\]azure[/\\]spring[/\\]data[/\\]gremlin.*"/>
<!-- JavadocThrowsChecks: Temporarily skip -->
<suppress checks="JavadocThrowsChecks" files=".*[/\\]com[/\\]azure[/\\]spring[/\\].*"/>
<!-- MissingJavadocMethod: internal packages -->
<suppress checks="MissingJavadocType|JavadocThrowsChecks|EnforceFinalFields" files=".*[/\\]com[/\\]azure[/\\]spring[/\\]integration[/\\]test.*"/>

<!--BlacklistedWordsCheck: URL is the name -->
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files="com.azure.spring.autoconfigure.storage.resource.BlobStorageResource.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files="com.azure.spring.autoconfigure.storage.resource.FileStorageResource.java"/>

<!--BlacklistedWordsCheck: B2C is the product name -->
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files="com.azure.spring.autoconfigure.b2c.AADB2CURL"/>
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files="com.azure.spring.core.resource.StorageBlobResource.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files="com.azure.spring.core.resource.StorageFileResource.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files="com.azure.spring.core.util.URLValidator.java"/>

<!-- EnforceFinalFieldsCheck: The property will be filled by Spring framework -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.autoconfigure.aad.ServiceEndpointsProperties"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.autoconfigure.aad.UserGroups"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.autoconfigure.jms.ConnectionStringResolver"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.data.cosmos.config.AbstractCosmosConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.data.cosmos.core.query.CosmosPageRequest.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.cloud.autoconfigure.context.AzureEnvironmentAutoConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.cloud.autoconfigure.storage.AzureStorageQueueAutoConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.cloud.autoconfigure.storage.AzureStorageAutoConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.cloud.autoconfigure.servicebus.AzureServiceBusTopicAutoConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.cloud.autoconfigure.servicebus.AzureServiceBusQueueAutoConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.cloud.autoconfigure.eventhub.AzureEventHubAutoConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.messaging.container.AbstractListenerContainer.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.servicebus.stream.binder.config.ServiceBusTopicBinderConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.servicebus.stream.binder.config.ServiceBusQueueBinderConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.eventhub.stream.binder.config.EventHubBinderConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="ServiceBusTopicBinderConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="ServiceBusQueueBinderConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.cloud.stream.binder.eventhubs.config.EventHubsBinderConfiguration.java"/>

<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.data.gremlin.conversion.source.AbstractGremlinSource.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.keyvault.KeyVaultOperation.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.cloud.autoconfigure.keyvault.env.KeyVaultOperation.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.cloud.autoconfigure.data.cosmos.CosmosDataAutoConfiguration.java"/>

<suppress checks="MethodName" files="com.azure.spring.data.gremlin.common.GremlinConfig.java"/>
<suppress checks="MethodName" files="com.azure.spring.messaging.checkpoint.CheckpointConfig.java"/>
<suppress checks="MethodName" files="com.azure.spring.servicebus.support.ServiceBusClientConfig.java"/>

<suppress checks="MethodName" files="com.azure.spring.integration.core.api.CheckpointConfig.java"/>
<suppress checks="MethodName" files="com.azure.spring.integration.core.api.BatchConsumerConfig.java"/>
<suppress checks="MethodName" files="com.azure.spring.integration.servicebus.ServiceBusClientConfig.java"/>
<!-- Suppress warnings for EventProcessorSharedAuthenticationClientBuilder and EventHubSharedAuthenticationClientBuilder. They are used by Azure Spring. -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files="EventHubNamespaceProcessorClientBuilder.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files="EventHubNamespaceClientBuilder.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files="com.azure.spring.cloud.autoconfigure.servicebus.AzureServiceBusConsumerClientConfiguration.java"/>

<!-- Checkstyle suppressions for azure.spring.data.cosmos package -->
<suppress checks="MethodName|MemberName|ParameterName" files="src[/\\]test[/\\]java[/\\]com[/\\]azure[/\\]spring[/\\]data[/\\]cosmos[/\\]domain|repository.*.java"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2263,9 +2263,19 @@

<!-- Exclude from spring related classes -->
<Match>
<Or>
<Class name="com.azure.spring.utils.PropertyLoader"/> <!-- false positive -->
</Or>
<And>
<Or>
<Class name="com.azure.spring.core.credential.resolver.AzureKeyCredentialResolver"/>
<Class name="com.azure.spring.core.credential.resolver.AzureNamedKeyCredentialResolver"/>
<Class name="com.azure.spring.core.credential.resolver.AzureSasCredentialResolver"/>
<Class name="com.azure.spring.service.storage.common.credential.StorageSharedKeyCredentialResolver" />
</Or>
<Method name="resolve"/>
</And>
<Bug pattern="BC_UNCONFIRMED_CAST"/>
</Match>

<Match>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE,
NP_LOAD_OF_KNOWN_NULL_VALUE,
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE,
Expand All @@ -2275,15 +2285,19 @@
<Match>
<Or>
<Class name="com.azure.spring.integration.servicebus.queue.ServiceBusQueueTemplate$QueueMessageHandler"/> <!-- false positive -->
<Class name="com.azure.spring.integration.servicebus.topic.ServiceBusTopicTemplate$TopicMessageHandler"/> <!-- false positive -->
<Class name="com.azure.spring.servicebus.core.topic.ServiceBusTopicTemplate$TopicMessageHandler"/> <!-- false positive -->
</Or>
<Method name="OnCloseSessionAsync"/>
<Bug pattern="NM_METHOD_NAMING_CONVENTION"/>
</Match>

<!-- Generated implementation of SubscriptionPropertiesSupplier is using an inline class -->
<Match>
<Class name="com.azure.spring.servicebus.core.processor.DefaultServiceBusNamespaceProcessorFactory"/>
<Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON"/>
</Match>
<Match>
<Bug pattern="UWF_NULL_FIELD"/>
<Class name="com.azure.spring.integration.core.AbstractInboundChannelAdapter"/>
<Class name="com.azure.spring.integration.endpoint.AbstractInboundChannelAdapter"/>
<Or>
<Field name="subscribeByGroupOperation"/>
<Field name="subscribeOperation"/>
Expand All @@ -2296,10 +2310,28 @@
</Match>

<Match>
<Class name="com.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter"/>
<Class name="com.azure.spring.integration.servicebus.com.azure.spring.eventhubs.support.converter.converter.ServiceBusMessageConverter"/>
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE"/>
</Match>

<Match>
<Class name="com.azure.spring.cloud.autoconfigure.jms.properties.AzureServiceBusJmsProperties"/>
<Field name="pricingTier"/>
<Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR"/>
</Match>

<Match>
<Class name="com.azure.spring.cloud.autoconfigure.keyvault.env.KeyVaultOperation" />
<Field name="timer" />
<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
</Match>

<Match>
<Class name="com.azure.spring.cloud.autoconfigure.context.AzureDefaultTokenCredentialAutoConfiguration$AzureServiceClientBuilderFactoryPostProcessor"/>
<Field name="beanFactory"/>
<Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR"/>
</Match>

<!-- The transient fields are not used if deserialization happens. -->
<Match>
<Class name="com.azure.identity.implementation.MsalAuthenticationAccount"/>
Expand Down
Loading