in geode-benchmarks/src/main/java/org/apache/geode/benchmark/topology/ClientServerTopologyWithSniProxy.java [79:98]
protected static void configureBefore(final TestConfig config) {
configureCommon(config);
configureGeodeProductJvms(config, WITH_SSL_ARGUMENT);
before(config, new StartLocator(LOCATOR_PORT), LOCATOR);
before(config, new StartServer(LOCATOR_PORT, SERVER_PORT), SERVER);
final String image = System.getProperty(WITH_SNI_PROXY_IMAGE_PROPERTY);
switch (getSniProxyImplementation()) {
case HAProxy:
before(config, new StartHAProxy(LOCATOR_PORT, SERVER_PORT, SNI_PROXY_PORT, image), PROXY);
break;
case Envoy:
before(config, new StartEnvoy(LOCATOR_PORT, SERVER_PORT, SNI_PROXY_PORT, image), PROXY);
break;
case Manual:
// expect proxy already configured.
}
}