Skip to content

Commit 9bea299

Browse files
committed
Adding mongodb into the provider config stack
1 parent e34ca60 commit 9bea299

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)