• 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
..
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-autoconfigure Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-properties-migrator Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
pom.xml Loading commit data...