A B C D E G L M O P S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- afterAll(ExtensionContext) - Method in class org.sdase.commons.server.mongo.testing.StartLocalMongoDbClassExtension
- afterAll(ExtensionContext) - Method in class org.sdase.commons.server.mongo.testing.UseExistingMongoDbClassExtension
B
- beforeAll(ExtensionContext) - Method in class org.sdase.commons.server.mongo.testing.StartLocalMongoDbClassExtension
- beforeAll(ExtensionContext) - Method in class org.sdase.commons.server.mongo.testing.UseExistingMongoDbClassExtension
- build() - Method in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
- build() - Method in class org.sdase.commons.server.mongo.testing.MongoDbClassExtension.Builder
- builder() - Static method in interface org.sdase.commons.server.mongo.testing.MongoDbClassExtension
- Builder() - Constructor for class org.sdase.commons.server.mongo.testing.MongoDb.Builder
C
- clearCollections() - Method in interface org.sdase.commons.server.mongo.testing.MongoDb
-
Removes all documents from the database passed during construction.
- clearDatabase() - Method in interface org.sdase.commons.server.mongo.testing.MongoDb
-
Removes all collections and documents from the database passed during construction.
- connectionString - Variable in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
- createClient() - Method in interface org.sdase.commons.server.mongo.testing.MongoDb
-
Creates a MongoClient that is connected to the database.
- createClient() - Method in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
- createClient() - Method in class org.sdase.commons.server.mongo.testing.UseExistingMongoDb
- createDownloadConfig() - Static method in class org.sdase.commons.server.mongo.testing.internal.DownloadConfigFactoryUtil
D
- database - Variable in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
- database - Variable in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
- DEFAULT_TIMEOUT_MS - Static variable in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
- DEFAULT_VERSION - Static variable in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
- determineMongoDbVersion() - Method in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
- DownloadConfigFactoryUtil - Class in org.sdase.commons.server.mongo.testing.internal
-
A utility that creates a
DownloadConfig
for theStartLocalMongoDbClassExtension
depending on the environment property "http_proxy".
E
- enableScripting() - Method in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
-
Allows to enable scripting using JavaScript, which is disabled by default.
G
- getConnectionString() - Method in interface org.sdase.commons.server.mongo.testing.MongoDb
- getConnectionString() - Method in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
- getConnectionString() - Method in class org.sdase.commons.server.mongo.testing.UseExistingMongoDb
- getDatabase() - Method in interface org.sdase.commons.server.mongo.testing.MongoDb
- getDatabase() - Method in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
- getDatabase() - Method in class org.sdase.commons.server.mongo.testing.UseExistingMongoDb
- getHosts() - Method in interface org.sdase.commons.server.mongo.testing.MongoDb
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use 'getConnectionString() instead'.
- getHosts() - Method in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
- getHosts() - Method in class org.sdase.commons.server.mongo.testing.UseExistingMongoDb
- getOptions() - Method in interface org.sdase.commons.server.mongo.testing.MongoDb
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use 'getConnectionString()' instead.
- getOptions() - Method in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
- getOptions() - Method in class org.sdase.commons.server.mongo.testing.UseExistingMongoDb
- getPassword() - Method in interface org.sdase.commons.server.mongo.testing.MongoDb
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use 'getConnectionString()' instead.
- getPassword() - Method in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
- getPassword() - Method in class org.sdase.commons.server.mongo.testing.UseExistingMongoDb
- getServerVersion() - Method in interface org.sdase.commons.server.mongo.testing.MongoDb
- getServerVersion() - Method in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
- getServerVersion() - Method in class org.sdase.commons.server.mongo.testing.UseExistingMongoDb
- getTimeoutMs() - Method in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
- getUsername() - Method in interface org.sdase.commons.server.mongo.testing.MongoDb
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use 'getConnectionString()' instead.
- getUsername() - Method in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
- getUsername() - Method in class org.sdase.commons.server.mongo.testing.UseExistingMongoDb
L
- logConnection() - Method in class org.sdase.commons.server.mongo.testing.UseExistingMongoDb
M
- MongoDb - Interface in org.sdase.commons.server.mongo.testing
-
JUnit Test extension for running a MongoDB instance alongside the (integration) tests.
- MongoDb.Builder<T extends MongoDb> - Class in org.sdase.commons.server.mongo.testing
- MongoDbClassExtension - Interface in org.sdase.commons.server.mongo.testing
-
JUnit 5 Extension for running a MongoDB instance alongside the (integration) tests.
- MongoDbClassExtension.Builder - Class in org.sdase.commons.server.mongo.testing
- mongoDbUrlOverride - Variable in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
O
- org.sdase.commons.server.mongo.testing - package org.sdase.commons.server.mongo.testing
- org.sdase.commons.server.mongo.testing.internal - package org.sdase.commons.server.mongo.testing.internal
- OVERRIDE_MONGODB_CONNECTION_STRING_SYSTEM_PROPERTY_NAME - Static variable in interface org.sdase.commons.server.mongo.testing.MongoDb
-
"TEST_MONGODB_CONNECTION_STRING" is the name of the environment variable that may hold a MongoDB Connection String of the database used in tests instead of starting a dedicated instance.
P
- password - Variable in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
- password - Variable in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
S
- scripting - Variable in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
- StartLocalMongoDb - Class in org.sdase.commons.server.mongo.testing
- StartLocalMongoDb(String, String, String, boolean, IFeatureAwareVersion, long) - Constructor for class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
- StartLocalMongoDbClassExtension - Class in org.sdase.commons.server.mongo.testing
-
JUnit Test extension for running a MongoDB instance alongside the (integration) tests.
- startMongo() - Method in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
- stopMongo() - Method in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
T
- timeoutInMillis - Variable in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
U
- UseExistingMongoDb - Class in org.sdase.commons.server.mongo.testing
- UseExistingMongoDb(String) - Constructor for class org.sdase.commons.server.mongo.testing.UseExistingMongoDb
- UseExistingMongoDbClassExtension - Class in org.sdase.commons.server.mongo.testing
-
JUnit Test extension for connecting to an existing MongoDB instance alongside the (integration) tests..
- UseExistingMongoDbClassExtension(String) - Constructor for class org.sdase.commons.server.mongo.testing.UseExistingMongoDbClassExtension
- username - Variable in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
- username - Variable in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
V
- version - Variable in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
- version - Variable in class org.sdase.commons.server.mongo.testing.StartLocalMongoDb
W
- WINDOWS_VERSION - Static variable in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
- withDatabase(String) - Method in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
-
Configure the database that can be used to connect to the MongoDB instance.
- withPassword(String) - Method in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
-
Configure the password that can be used to connect to the MongoDB instance.
- withTimeoutInMillis(long) - Method in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
-
Configures the timeout for database startup, the default value is one minute (
MongoDb.Builder.DEFAULT_TIMEOUT_MS
). - withUsername(String) - Method in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
-
Configure the username that can be used to connect to the MongoDB instance.
- withVersion(IFeatureAwareVersion) - Method in class org.sdase.commons.server.mongo.testing.MongoDb.Builder
-
Configure the MongoDB version to start, by default the latest production version is used (
MongoDb.Builder.DEFAULT_VERSION
).
All Classes All Packages