Skip to content

Commit 9a9f364

Browse files
RomanChtFameing
authored andcommitted
fix: Replace deprecated LocalStackContainer#getEndpointConfiguration API call
1 parent 1c9a5a4 commit 9a9f364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embedded-localstack/src/main/java/com/playtika/test/localstack/EmbeddedLocalStackBootstrapConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private void registerLocalStackEnvironment(LocalStackContainer localStack,
5757
String prefix = "embedded.localstack.";
5858
Integer mappedPort = localStack.getMappedPort(properties.getEdgePort());
5959
for (LocalStackContainer.Service service : properties.services) {
60-
map.put(prefix + service, localStack.getEndpointConfiguration(service).getServiceEndpoint());
60+
map.put(prefix + service, localStack.getEndpointOverride(service));
6161
map.put(prefix + service + ".port", mappedPort);
6262
}
6363
log.info("Started Localstack. Connection details: {}", map);

0 commit comments

Comments
 (0)