1515
1616/**
1717 * Sets up a Tarantool Cartridge cluster and provides API for configuring it.
18- *
18+ * <p>
1919 * The container constructors accept the classpath resources relative path to the instances.yml file, which contents
2020 * may look like
2121 *
4747 * http_port: 8085
4848 * </code>
4949 * </pre>
50- *
50+ * <p>
5151 * and the classpath resources relative path to a topology bootstrap script, which contents may look like
5252 *
5353 * <pre>
6969 * return cartridge.admin_edit_topology({replicasets = replicasets})
7070 * </code>
7171 * </pre>
72- *
72+ * <p>
7373 * After the topology changes are applied, the vshard bootstrap command will be executed.
74- *
74+ * <p>
7575 * The instances.yml file will be analyzed and the ports, specified in advertise_uri options together with the ports,
7676 * specified in the http_port options, will be exposed.
7777 *
@@ -90,14 +90,14 @@ public class TarantoolCartridgeContainer extends GenericContainer<TarantoolCartr
9090 private static final String SCRIPT_RESOURCE_DIRECTORY = "" ;
9191 private static final String INSTANCE_DIR = "/app" ;
9292
93- private static final String ENV_TARANTOOL_VERSION = "TARANTOOL_VERSION" ;
94- private static final String ENV_TARANTOOL_SERVER_USER = "TARANTOOL_SERVER_USER" ;
95- private static final String ENV_TARANTOOL_SERVER_UID = "TARANTOOL_SERVER_UID" ;
96- private static final String ENV_TARANTOOL_SERVER_GROUP = "TARANTOOL_SERVER_GROUP" ;
97- private static final String ENV_TARANTOOL_SERVER_GID = "TARANTOOL_SERVER_GID" ;
98- private static final String ENV_TARANTOOL_WORKDIR = "TARANTOOL_WORKDIR" ;
99- private static final String ENV_TARANTOOL_RUNDIR = "TARANTOOL_RUNDIR" ;
100- private static final String ENV_TARANTOOL_DATADIR = "TARANTOOL_DATADIR" ;
93+ private static final String ENV_TARANTOOL_VERSION = "TARANTOOL_VERSION" ;
94+ private static final String ENV_TARANTOOL_SERVER_USER = "TARANTOOL_SERVER_USER" ;
95+ private static final String ENV_TARANTOOL_SERVER_UID = "TARANTOOL_SERVER_UID" ;
96+ private static final String ENV_TARANTOOL_SERVER_GROUP = "TARANTOOL_SERVER_GROUP" ;
97+ private static final String ENV_TARANTOOL_SERVER_GID = "TARANTOOL_SERVER_GID" ;
98+ private static final String ENV_TARANTOOL_WORKDIR = "TARANTOOL_WORKDIR" ;
99+ private static final String ENV_TARANTOOL_RUNDIR = "TARANTOOL_RUNDIR" ;
100+ private static final String ENV_TARANTOOL_DATADIR = "TARANTOOL_DATADIR" ;
101101
102102 private String routerHost = ROUTER_HOST ;
103103 private int routerPort = ROUTER_PORT ;
@@ -115,7 +115,7 @@ public class TarantoolCartridgeContainer extends GenericContainer<TarantoolCartr
115115 * Create a container with default image and specified instances file from the classpath resources. Assumes that
116116 * there is a file named Dockerfile in the project resources classpath.
117117 *
118- * @param instancesFile path to instances.yml, relative to the classpath resources
118+ * @param instancesFile path to instances.yml, relative to the classpath resources
119119 * @param topologyConfigurationFile path to a topology bootstrap script, relative to the classpath resources
120120 */
121121 public TarantoolCartridgeContainer (String instancesFile , String topologyConfigurationFile ) {
@@ -125,8 +125,8 @@ public TarantoolCartridgeContainer(String instancesFile, String topologyConfigur
125125 /**
126126 * Create a container with default image and specified instances file from the classpath resources
127127 *
128- * @param dockerFile path to a Dockerfile which configures Cartridge and other necessary services
129- * @param instancesFile path to instances.yml, relative to the classpath resources
128+ * @param dockerFile path to a Dockerfile which configures Cartridge and other necessary services
129+ * @param instancesFile path to instances.yml, relative to the classpath resources
130130 * @param topologyConfigurationFile path to a topology bootstrap script, relative to the classpath resources
131131 */
132132 public TarantoolCartridgeContainer (String dockerFile , String instancesFile , String topologyConfigurationFile ) {
@@ -138,9 +138,9 @@ public TarantoolCartridgeContainer(String dockerFile, String instancesFile, Stri
138138 * the result Cartridge container image name, you can cache the image and avoid rebuilding on each test run (the
139139 * image is tagged with the provided name and not deleted after tests finishing).
140140 *
141- * @param dockerFile URL resource path to a Dockerfile which configures Cartridge and other necessary services
142- * @param buildImageName Specify a stable image name for the test container to prevent rebuilds
143- * @param instancesFile URL resource path to instances.yml relative in the classpath
141+ * @param dockerFile URL resource path to a Dockerfile which configures Cartridge and other necessary services
142+ * @param buildImageName Specify a stable image name for the test container to prevent rebuilds
143+ * @param instancesFile URL resource path to instances.yml relative in the classpath
144144 * @param topologyConfigurationFile URL resource path to a topology bootstrap script in the classpath
145145 */
146146 public TarantoolCartridgeContainer (String dockerFile , String buildImageName ,
0 commit comments