Class OcpMongoShardedDeployer
java.lang.Object
io.debezium.testing.system.tools.databases.mongodb.sharded.OcpMongoShardedDeployer
- All Implemented Interfaces:
Deployer<OcpMongoShardedController>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface io.debezium.testing.system.tools.Deployer
Deployer.Builder<B extends Deployer.Builder<B,D>, D extends Deployer<?>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate static final org.slf4j.Loggerprivate OcpMongoShardedClusterprivate final io.fabric8.openshift.client.OpenShiftClientprivate final Stringprivate final intprivate final Stringprivate final Stringprivate final intprivate List<MongoShardKey>private final boolean -
Constructor Summary
ConstructorsConstructorDescriptionOcpMongoShardedDeployer(int shardCount, int replicaCount, int configServerCount, String rootUserName, String rootPassword, boolean useInternalAuth, io.fabric8.openshift.client.OpenShiftClient ocp, String project, List<MongoShardKey> shardKeys) -
Method Summary
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
ocp
private final io.fabric8.openshift.client.OpenShiftClient ocp -
project
-
shardCount
private final int shardCount -
replicaCount
private final int replicaCount -
configServerCount
private final int configServerCount -
rootUserName
-
rootPassword
-
useInternalAuth
private final boolean useInternalAuth -
shardKeys
-
mongo
-
-
Constructor Details
-
OcpMongoShardedDeployer
public OcpMongoShardedDeployer(int shardCount, int replicaCount, int configServerCount, String rootUserName, String rootPassword, boolean useInternalAuth, io.fabric8.openshift.client.OpenShiftClient ocp, String project, List<MongoShardKey> shardKeys)
-
-
Method Details
-
getController
-
deploy
Description copied from interface:DeployerDeploys resource- Specified by:
deployin interfaceDeployer<OcpMongoShardedController>- Returns:
- Controller for deployed resource
- Throws:
Exception
-