test(metrics-es): refactor deprecated TestContainers methods
MODIFY
manager/test/api/src/test/java/io/apiman/manager/test/es/EsMetricsAccessorTest.java
manager/test/api/src/test/java/io/apiman/manager/test/es/EsMetricsAccessorTest.java
@@ -111,7 +111,7 @@ public class EsMetricsAccessorTest {
private static RestHighLevelClient createEsClient() {
Map<String, String> config = new HashMap<>();
config.put("client.protocol", "http");
- config.put("client.host", node.getContainerIpAddress());
+ config.put("client.host", node.getHost());
config.put("client.port", node.getFirstMappedPort().toString());
config.put("client.initialize", "true");
config.put("client.type", "es");

test(metrics-es): refactor deprecated TestContainers methods