Skip to content

Commit

Permalink
iaoraxen include and other patches
Browse files Browse the repository at this point in the history
  • Loading branch information
Jsinco committed Aug 26, 2024
1 parent 023859a commit 504b96f
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 254 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/dre/brewery/storage/DataManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import com.dre.brewery.filedata.BConfig;
import com.dre.brewery.integration.bstats.Stats;
import com.dre.brewery.storage.impls.FlatFileStorage;
import com.dre.brewery.storage.impls.MongoDBStorage;
import com.dre.brewery.storage.impls.MySQLStorage;
import com.dre.brewery.storage.impls.SQLiteStorage;
import com.dre.brewery.storage.records.BreweryMiscData;
Expand Down Expand Up @@ -139,7 +138,6 @@ public static DataManager createDataManager(ConfiguredDataManager record) throws
case FLATFILE -> new FlatFileStorage(record);
case MYSQL -> new MySQLStorage(record);
case SQLITE -> new SQLiteStorage(record);
case MONGODB -> new MongoDBStorage(record);
};

// Legacy data migration
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/com/dre/brewery/storage/DataManagerType.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ public enum DataManagerType {
// Maybe add: h2, mongodb, sqlite?
FLATFILE("FlatFile"),
MYSQL("MySQL"),
SQLITE("SQLite"),
MONGODB("MongoDB"),;
SQLITE("SQLite");

private final String formattedName;

Expand Down
245 changes: 0 additions & 245 deletions src/main/java/com/dre/brewery/storage/impls/MongoDBStorage.java

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/resources/config/v13/de/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: '3.1'
# -- Storage Settings --
storage:
# What type of storage to use [FLATFILE]
# Available types: FlatFile, MySQL, SQLite, MongoDB
# Available types: FlatFile, MySQL, SQLite
type: FlatFile
# The name of the database. When the database is a file, this will be the name of the file. [brewery-data]
database: brewery-data
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config/v13/en/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: '3.1'
# -- Storage Settings --
storage:
# What type of storage to use [FLATFILE]
# Available types: FlatFile, MySQL, SQLite, MongoDB
# Available types: FlatFile, MySQL, SQLite
type: FlatFile
# The name of the database. When the database is a file, this will be the name of the file. [brewery-data]
database: brewery-data
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config/v13/es/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: '3.1'
# -- Storage Settings --
storage:
# What type of storage to use [FLATFILE]
# Available types: FlatFile, MySQL, SQLite, MongoDB
# Available types: FlatFile, MySQL, SQLite
type: FlatFile
# The name of the database. When the database is a file, this will be the name of the file. [brewery-data]
database: brewery-data
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config/v13/fr/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: '3.1'
# -- Storage Settings --
storage:
# What type of storage to use [FLATFILE]
# Available types: FlatFile, MySQL, SQLite, MongoDB
# Available types: FlatFile, MySQL, SQLite
type: FlatFile
# The name of the database. When the database is a file, this will be the name of the file. [brewery-data]
database: brewery-data
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config/v13/it/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: '3.1'
# -- Storage Settings --
storage:
# What type of storage to use [FLATFILE]
# Available types: FlatFile, MySQL, SQLite, MongoDB
# Available types: FlatFile, MySQL, SQLite
type: FlatFile
# The name of the database. When the database is a file, this will be the name of the file. [brewery-data]
database: brewery-data
Expand Down

0 comments on commit 504b96f

Please sign in to comment.