All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.playtika.testcontainer.localstack.LocalStackProperties Maven / Gradle / Ivy

The newest version!
package com.playtika.testcontainer.localstack;

import com.playtika.testcontainer.common.properties.CommonContainerProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.testcontainers.containers.localstack.LocalStackContainer;

import java.util.Collection;
import java.util.Collections;

@Data
@EqualsAndHashCode(callSuper = true)
@ConfigurationProperties("embedded.localstack")
public class LocalStackProperties extends CommonContainerProperties {
    public static final String BEAN_NAME_EMBEDDED_LOCALSTACK = "embeddedLocalstack";
    public Collection services = Collections.emptyList();
    public int edgePort = 4566;
    public String hostname = "localhost";
    public String hostnameExternal = "127.0.0.1";

    @Override
    public String getDefaultDockerImage() {
        // Please don`t remove this comment.
        // renovate: datasource=docker
        return "localstack/localstack:3.7.1";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy