diff --git a/arex-storage-config/pom.xml b/arex-storage-config/pom.xml index 5f644f47..36ccd822 100644 --- a/arex-storage-config/pom.xml +++ b/arex-storage-config/pom.xml @@ -41,7 +41,7 @@ arex-storage-service com.arextest - 1.1.30 + 1.1.31 diff --git a/arex-storage-model/pom.xml b/arex-storage-model/pom.xml index ced99330..b67f30ee 100644 --- a/arex-storage-model/pom.xml +++ b/arex-storage-model/pom.xml @@ -7,7 +7,7 @@ arex-storage-service com.arextest - 1.1.30 + 1.1.31 diff --git a/arex-storage-web-api/pom.xml b/arex-storage-web-api/pom.xml index 6954fa0b..3b83e1c7 100644 --- a/arex-storage-web-api/pom.xml +++ b/arex-storage-web-api/pom.xml @@ -123,7 +123,7 @@ arex-storage-service com.arextest - 1.1.30 + 1.1.31 diff --git a/arex-storage-web-api/src/main/java/com/arextest/storage/beans/StorageAutoConfiguration.java b/arex-storage-web-api/src/main/java/com/arextest/storage/beans/StorageAutoConfiguration.java index 4fa7204a..87f2db8d 100644 --- a/arex-storage-web-api/src/main/java/com/arextest/storage/beans/StorageAutoConfiguration.java +++ b/arex-storage-web-api/src/main/java/com/arextest/storage/beans/StorageAutoConfiguration.java @@ -57,6 +57,7 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Lazy; import org.springframework.core.annotation.Order; import org.springframework.data.mongodb.MongoDatabaseFactory; import org.springframework.data.mongodb.core.MongoOperations; @@ -77,6 +78,7 @@ public class StorageAutoConfiguration { private final StorageConfigurationProperties properties; + @Lazy @Resource IndexesSettingConfiguration indexesSettingConfiguration; diff --git a/pom.xml b/pom.xml index 669fd661..3b4049e9 100644 --- a/pom.xml +++ b/pom.xml @@ -412,7 +412,7 @@ 2.7.18 - 0.1.24 + 0.1.26 scm:git:git://github.com/arextest/arex-storage.git @@ -420,5 +420,5 @@ https://github.com/arextest/arex-storage https://github.com/arextest/arex-storage - 1.1.30 + 1.1.31