|
|
|
@ -16,12 +16,13 @@
|
|
|
|
|
|
|
|
|
|
package org.springframework.boot.autoconfigure.mongo;
|
|
|
|
|
|
|
|
|
|
import java.net.UnknownHostException;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
|
|
|
|
|
|
import com.mongodb.DBPort;
|
|
|
|
|
import com.mongodb.MongoClient;
|
|
|
|
|
import com.mongodb.MongoClientURI;
|
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
|
|
|
|
|
|
import java.net.UnknownHostException;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Configuration properties for Mongo.
|
|
|
|
@ -43,7 +44,6 @@ public class MongoProperties {
|
|
|
|
|
|
|
|
|
|
private String gridFsDatabase;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getHost() {
|
|
|
|
|
return this.host;
|
|
|
|
|
}
|
|
|
|
@ -77,7 +77,7 @@ public class MongoProperties {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getGridFsDatabase() {
|
|
|
|
|
return gridFsDatabase;
|
|
|
|
|
return this.gridFsDatabase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setGridFsDatabase(String gridFsDatabase) {
|
|
|
|
|