Removed useless mongo db
Signed-off-by: James Munson <jmunson@openpoll.io>
This commit is contained in:
@@ -122,11 +122,6 @@
|
|||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.mongodb</groupId>
|
|
||||||
<artifactId>mongodb-driver-sync</artifactId>
|
|
||||||
<version>3.10.1</version>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
|||||||
@@ -26,8 +26,6 @@ package net.runelite.http.service;
|
|||||||
|
|
||||||
import ch.qos.logback.classic.LoggerContext;
|
import ch.qos.logback.classic.LoggerContext;
|
||||||
import com.google.common.base.Strings;
|
import com.google.common.base.Strings;
|
||||||
import com.mongodb.client.MongoClient;
|
|
||||||
import com.mongodb.client.MongoClients;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
@@ -159,12 +157,6 @@ public class SpringBootWebApplication extends SpringBootServletInitializer
|
|||||||
return createSql2oFromDataSource(dataSource);
|
return createSql2oFromDataSource(dataSource);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
|
||||||
public MongoClient mongoClient(@Value("${mongo.host}") String host)
|
|
||||||
{
|
|
||||||
return MongoClients.create(host);
|
|
||||||
}
|
|
||||||
|
|
||||||
private static DataSource getDataSource(DataSourceProperties dataSourceProperties)
|
private static DataSource getDataSource(DataSourceProperties dataSourceProperties)
|
||||||
{
|
{
|
||||||
if (!Strings.isNullOrEmpty(dataSourceProperties.getJndiName()))
|
if (!Strings.isNullOrEmpty(dataSourceProperties.getJndiName()))
|
||||||
|
|||||||
@@ -30,8 +30,6 @@ redis:
|
|||||||
pool.size: 10
|
pool.size: 10
|
||||||
host: http://localhost:6379
|
host: http://localhost:6379
|
||||||
|
|
||||||
mongo:
|
|
||||||
host: mongodb://localhost:27017
|
|
||||||
|
|
||||||
# Twitter client for feed
|
# Twitter client for feed
|
||||||
runelite:
|
runelite:
|
||||||
|
|||||||
Reference in New Issue
Block a user