From f8744c86759acac1171da4d8da21605b27c1482e Mon Sep 17 00:00:00 2001 From: Avgustin Marinov Date: Wed, 24 Jan 2024 09:00:17 +0200 Subject: [PATCH] Migrate to springboot 3 - fix auto config (#102) Signed-off-by: Marinov Avgustin --- .../src/main/resources/META-INF/spring.factories | 3 --- ...pringframework.boot.autoconfigure.AutoConfiguration.imports | 1 + .../src/main/resources/META-INF/spring.factories | 3 --- ...pringframework.boot.autoconfigure.AutoConfiguration.imports | 1 + .../src/main/resources/META-INF/spring.factories | 3 --- ...pringframework.boot.autoconfigure.AutoConfiguration.imports | 1 + .../src/main/resources/META-INF/spring.factories | 3 --- ...pringframework.boot.autoconfigure.AutoConfiguration.imports | 1 + 8 files changed, 4 insertions(+), 12 deletions(-) delete mode 100644 hawkbit-extension-artifact-repository-azure/src/main/resources/META-INF/spring.factories create mode 100644 hawkbit-extension-artifact-repository-azure/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports delete mode 100644 hawkbit-extension-artifact-repository-gcs/src/main/resources/META-INF/spring.factories create mode 100644 hawkbit-extension-artifact-repository-gcs/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports delete mode 100644 hawkbit-extension-artifact-repository-mongo/src/main/resources/META-INF/spring.factories create mode 100644 hawkbit-extension-artifact-repository-mongo/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports delete mode 100644 hawkbit-extension-artifact-repository-s3/src/main/resources/META-INF/spring.factories create mode 100644 hawkbit-extension-artifact-repository-s3/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports diff --git a/hawkbit-extension-artifact-repository-azure/src/main/resources/META-INF/spring.factories b/hawkbit-extension-artifact-repository-azure/src/main/resources/META-INF/spring.factories deleted file mode 100644 index b4ab743..0000000 --- a/hawkbit-extension-artifact-repository-azure/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,3 +0,0 @@ -# Auto Configure -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.eclipse.hawkbit.artifact.repository.AzureStorageRepositoryAutoConfiguration diff --git a/hawkbit-extension-artifact-repository-azure/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/hawkbit-extension-artifact-repository-azure/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports new file mode 100644 index 0000000..ef8a199 --- /dev/null +++ b/hawkbit-extension-artifact-repository-azure/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -0,0 +1 @@ +org.eclipse.hawkbit.artifact.repository.AzureStorageRepositoryAutoConfiguration diff --git a/hawkbit-extension-artifact-repository-gcs/src/main/resources/META-INF/spring.factories b/hawkbit-extension-artifact-repository-gcs/src/main/resources/META-INF/spring.factories deleted file mode 100644 index a521dba..0000000 --- a/hawkbit-extension-artifact-repository-gcs/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,3 +0,0 @@ -# Auto Configure -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.eclipse.hawkbit.artifact.repository.GcsRepositoryAutoConfiguration diff --git a/hawkbit-extension-artifact-repository-gcs/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/hawkbit-extension-artifact-repository-gcs/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports new file mode 100644 index 0000000..c9b876c --- /dev/null +++ b/hawkbit-extension-artifact-repository-gcs/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -0,0 +1 @@ +org.eclipse.hawkbit.artifact.repository.GcsRepositoryAutoConfiguration diff --git a/hawkbit-extension-artifact-repository-mongo/src/main/resources/META-INF/spring.factories b/hawkbit-extension-artifact-repository-mongo/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 09c6040..0000000 --- a/hawkbit-extension-artifact-repository-mongo/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,3 +0,0 @@ -# Auto Configure -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.eclipse.hawkbit.artifact.repository.MongoDBArtifactStoreAutoConfiguration \ No newline at end of file diff --git a/hawkbit-extension-artifact-repository-mongo/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/hawkbit-extension-artifact-repository-mongo/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports new file mode 100644 index 0000000..d684b72 --- /dev/null +++ b/hawkbit-extension-artifact-repository-mongo/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -0,0 +1 @@ +org.eclipse.hawkbit.artifact.repository.MongoDBArtifactStoreAutoConfiguration \ No newline at end of file diff --git a/hawkbit-extension-artifact-repository-s3/src/main/resources/META-INF/spring.factories b/hawkbit-extension-artifact-repository-s3/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 3736f86..0000000 --- a/hawkbit-extension-artifact-repository-s3/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,3 +0,0 @@ -# Auto Configure -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.eclipse.hawkbit.artifact.repository.S3RepositoryAutoConfiguration diff --git a/hawkbit-extension-artifact-repository-s3/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/hawkbit-extension-artifact-repository-s3/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports new file mode 100644 index 0000000..3648dac --- /dev/null +++ b/hawkbit-extension-artifact-repository-s3/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -0,0 +1 @@ +org.eclipse.hawkbit.artifact.repository.S3RepositoryAutoConfiguration