Skip to content

Commit d0c4880

Browse files
authored
Merge pull request #26 from picoded/mongodb-support
Adding mongodb into the provider config stack
2 parents 5fef5f2 + 9bea299 commit d0c4880

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/java/picoded/dstack/stack/ProviderConfig.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ protected CoreStack initStack(String type, GenericConvertMap<String, Object> con
161161
if (type.equalsIgnoreCase("JSql")) {
162162
return new picoded.dstack.jsql.JSqlStack(config);
163163
}
164+
if (type.equalsIgnoreCase("MongoDB")) {
165+
return new picoded.dstack.mongodb.MongoDBStack(config);
166+
}
164167
if (type.equalsIgnoreCase("HazelcastStore")) {
165168
return new picoded.dstack.hazelcast.store.HazelcastStoreStack(config);
166169
}

0 commit comments

Comments
 (0)