Skip to content

Commit

Permalink
refactor(auto-configuration): replace spring.factories with AutoConfi…
Browse files Browse the repository at this point in the history
…guration.imports file to enable auto-configuration during upgrade to spring boot 2.7.x (#1039)

In spring boot 2.7.x, major change has been introduced for auto-configuration registration. The registration has been moved from spring.factories under the org.springframework.boot.autoconfigure.EnableAutoConfiguration key to a new file named META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports.

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.7-Release-Notes#changes-to-auto-configuration

So, replacing the registration of auto-configuration classes from spring.factories to META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
j-sandy and mergify[bot] authored Jun 13, 2024
1 parent 0013ba4 commit bf94a08
Show file tree
Hide file tree
Showing 41 changed files with 21 additions and 42 deletions.
2 changes: 0 additions & 2 deletions kayenta-atlas/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.atlas.config.AtlasConfiguration
2 changes: 0 additions & 2 deletions kayenta-aws/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.aws.config.AwsConfiguration
2 changes: 0 additions & 2 deletions kayenta-azure/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.azure.config.AzureConfiguration
2 changes: 0 additions & 2 deletions kayenta-blobs/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.blobs.config.BlobsConfiguration
2 changes: 0 additions & 2 deletions kayenta-datadog/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.datadog.config.DatadogConfiguration
2 changes: 0 additions & 2 deletions kayenta-gcs/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.gcs.config.GcsConfiguration
2 changes: 0 additions & 2 deletions kayenta-google/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.google.config.GoogleConfiguration
2 changes: 0 additions & 2 deletions kayenta-graphite/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.graphite.config.GraphiteConfiguration
2 changes: 0 additions & 2 deletions kayenta-influxdb/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.influxdb.config.InfluxDbConfiguration
3 changes: 0 additions & 3 deletions kayenta-judge/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
com.netflix.kayenta.judge.config.NetflixJudgeConfiguration
com.netflix.kayenta.judge.config.RemoteJudgeConfiguration

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.newrelic.config.NewRelicConfiguration

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.configbin.config.ConfigBinConfiguration

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.memory.config.MemoryConfiguration
2 changes: 0 additions & 2 deletions kayenta-orca/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.config.OrcaConfiguration

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.prometheus.config.PrometheusConfiguration
2 changes: 0 additions & 2 deletions kayenta-s3/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.s3.config.S3Configuration
2 changes: 0 additions & 2 deletions kayenta-signalfx/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.signalfx.config.SignalFxConfiguration
2 changes: 0 additions & 2 deletions kayenta-sql/src/main/resources/META-INF/spring.factories

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.sql.config.SqlConfiguration

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.stackdriver.config.StackdriverConfiguration
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.netflix.kayenta.standalonecanaryanalysis.config.StandaloneCanaryAnalysisModuleConfiguration

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.netflix.kayenta.wavefront.config.WavefrontConfiguration

0 comments on commit bf94a08

Please sign in to comment.