• Andy Wilkinson's avatar
    Auto-configure Data Mongo if user provides MongoDbFactory but no client · 7f85aba5
    Andy Wilkinson authored
    Previously, if a user defined a MongoDbFactory bean but did not define
    a client bean, MongoDataAutoConfiguration would back off leaving the
    context without a MongoTemplate, etc.
    
    This commit reworks the auto-configuration so that only the
    auto-configuration of a MongoDbFactory is dependent on the existence
    of a Mongo client bean. Auto-configuration of the other components
    that depend on a MongoDbFactory will now continue in the absence of a
    Mongo client bean.
    
    Closes gh-17416
    7f85aba5
Name
Last commit
Last update
.bomr Loading commit data...
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...