Skip to content

Commit

Permalink
Update Test Container Docker Images
Browse files Browse the repository at this point in the history
  • Loading branch information
EmteZogaf committed Sep 11, 2024
1 parent 8a1eae6 commit 9d632f2
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ public abstract class FlareWebserviceClientImplBaseIT {

protected static final Network DEFAULT_CONTAINER_NETWORK = Network.newNetwork();

public static GenericContainer<?> fhirServer = new GenericContainer<>(DockerImageName.parse("samply/blaze:0.24"))
public static GenericContainer<?> fhirServer = new GenericContainer<>(DockerImageName.parse("samply/blaze:0.30"))
.withExposedPorts(8080)
.withNetwork(DEFAULT_CONTAINER_NETWORK)
.withNetworkAliases("fhir-server")
.withEnv("LOG_LEVEL", "debug");

public static GenericContainer<?> flare = new GenericContainer<>(DockerImageName.parse("ghcr.io/medizininformatik-initiative/flare:2.1.0"))
public static GenericContainer<?> flare = new GenericContainer<>(DockerImageName.parse("ghcr.io/medizininformatik-initiative/flare:2.3.0"))
.withExposedPorts(8080)
.withNetwork(DEFAULT_CONTAINER_NETWORK)
.withNetworkAliases("flare")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class FlareWebserviceClientImplFwdProxyBasicAuthIT extends FlareWebservic

@Container
public static GenericContainer<?> forwardProxy = new GenericContainer<>(
DockerImageName.parse("ubuntu/squid:6.1-23.10_edge"))
DockerImageName.parse("ubuntu/squid:6.6-24.04_edge"))
.withExposedPorts(8080)
.withFileSystemBind(squidProxyConf.getPath(), "/etc/squid/squid.conf", READ_ONLY)
.withFileSystemBind(passwordFile.getPath(), "/etc/squid/passwd", READ_ONLY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class FlareWebserviceClientImplFwdProxyBasicAuthRevProxyBearerTokenAuthIT

@Container
public static GenericContainer<?> proxy = new GenericContainer<>(
DockerImageName.parse("nginx:1.25.1"))
DockerImageName.parse("nginx:1.27.1"))
.withExposedPorts(8080)
.withFileSystemBind(nginxConf.getPath(), "/etc/nginx/nginx.conf", READ_ONLY)
.withFileSystemBind(indexFile.getPath(), "/usr/share/nginx/html/index.html", READ_ONLY)
Expand All @@ -47,7 +47,7 @@ public class FlareWebserviceClientImplFwdProxyBasicAuthRevProxyBearerTokenAuthIT
.dependsOn(flare);
@Container
public static GenericContainer<?> forwardProxy = new GenericContainer<>(
DockerImageName.parse("ubuntu/squid:6.1-23.10_edge"))
DockerImageName.parse("ubuntu/squid:6.6-24.04_edge"))
.withExposedPorts(8080)
.withFileSystemBind(squidProxyConf.getPath(), "/etc/squid/squid.conf", READ_ONLY)
.withFileSystemBind(forwardProxyPasswordFile.getPath(), "/etc/squid/passwd", READ_ONLY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class FlareWebserviceClientImplFwdProxyBasicAuthRevProxyTlsIT extends Fla

@Container
public static GenericContainer<?> proxy = new GenericContainer<>(
DockerImageName.parse("nginx:1.25.1"))
DockerImageName.parse("nginx:1.27.1"))
.withExposedPorts(8443)
.withFileSystemBind(nginxConf.getPath(), "/etc/nginx/nginx.conf", READ_ONLY)
.withFileSystemBind(indexFile.getPath(), "/usr/share/nginx/html/index.html", READ_ONLY)
Expand All @@ -52,7 +52,7 @@ public class FlareWebserviceClientImplFwdProxyBasicAuthRevProxyTlsIT extends Fla

@Container
public static GenericContainer<?> forwardProxy = new GenericContainer<>(
DockerImageName.parse("ubuntu/squid:6.1-23.10_edge"))
DockerImageName.parse("ubuntu/squid:6.6-24.04_edge"))
.withExposedPorts(8080)
.withFileSystemBind(squidProxyConf.getPath(), "/etc/squid/squid.conf", READ_ONLY)
.withFileSystemBind(passwordFile.getPath(), "/etc/squid/passwd", READ_ONLY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class FlareWebserviceClientImplFwdProxyIT extends FlareWebserviceClientIm

@Container
public static GenericContainer<?> forwardProxy = new GenericContainer<>(
DockerImageName.parse("ubuntu/squid:6.1-23.10_edge"))
DockerImageName.parse("ubuntu/squid:6.6-24.04_edge"))
.withExposedPorts(8080)
.withFileSystemBind(squidProxyConf.getPath(), "/etc/squid/squid.conf", READ_ONLY)
.withNetwork(DEFAULT_CONTAINER_NETWORK)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class FlareWebserviceClientImplFwdRevProxyBasicAuthIT extends FlareWebser

@Container
public static GenericContainer<?> proxy = new GenericContainer<>(
DockerImageName.parse("nginx:1.25.1"))
DockerImageName.parse("nginx:1.27.1"))
.withExposedPorts(8080)
.withFileSystemBind(nginxConf.getPath(), "/etc/nginx/nginx.conf", READ_ONLY)
.withFileSystemBind(indexFile.getPath(), "/usr/share/nginx/html/index.html", READ_ONLY)
Expand All @@ -48,7 +48,7 @@ public class FlareWebserviceClientImplFwdRevProxyBasicAuthIT extends FlareWebser
.dependsOn(flare);
@Container
public static GenericContainer<?> forwardProxy = new GenericContainer<>(
DockerImageName.parse("ubuntu/squid:6.1-23.10_edge"))
DockerImageName.parse("ubuntu/squid:6.6-24.04_edge"))
.withExposedPorts(8080)
.withFileSystemBind(squidProxyConf.getPath(), "/etc/squid/squid.conf", READ_ONLY)
.withFileSystemBind(forwardProxyPasswordFile.getPath(), "/etc/squid/passwd", READ_ONLY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class FlareWebserviceClientImplRevProxyBasicAuthIT extends FlareWebservic

@Container
public static GenericContainer<?> proxy = new GenericContainer<>(
DockerImageName.parse("nginx:1.25.1"))
DockerImageName.parse("nginx:1.27.1"))
.withExposedPorts(8080)
.withFileSystemBind(nginxConf.getPath(), "/etc/nginx/nginx.conf", READ_ONLY)
.withFileSystemBind(indexFile.getPath(), "/usr/share/nginx/html/index.html", READ_ONLY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class FlareWebserviceClientImplRevProxyBearerTokenAuthIT extends FlareWeb

@Container
public static GenericContainer<?> proxy = new GenericContainer<>(
DockerImageName.parse("nginx:1.25.1"))
DockerImageName.parse("nginx:1.27.1"))
.withExposedPorts(8080)
.withFileSystemBind(nginxConf.getPath(), "/etc/nginx/nginx.conf", READ_ONLY)
.withFileSystemBind(indexFile.getPath(), "/usr/share/nginx/html/index.html", READ_ONLY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class FlareWebserviceClientImplRevProxyTlsBasicAuthIT extends FlareWebser

@Container
public static GenericContainer<?> proxy = new GenericContainer<>(
DockerImageName.parse("nginx:1.25.1"))
DockerImageName.parse("nginx:1.27.1"))
.withExposedPorts(8443)
.withFileSystemBind(nginxConf.getPath(), "/etc/nginx/nginx.conf", READ_ONLY)
.withFileSystemBind(indexFile.getPath(), "/usr/share/nginx/html/index.html", READ_ONLY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class FlareWebserviceClientImplRevProxyTlsClientCertIT extends FlareWebse

@Container
public static GenericContainer<?> proxy = new GenericContainer<>(
DockerImageName.parse("nginx:1.25.1"))
DockerImageName.parse("nginx:1.27.1"))
.withExposedPorts(8443)
.withFileSystemBind(nginxConf.getPath(), "/etc/nginx/nginx.conf", READ_ONLY)
.withFileSystemBind(indexFile.getPath(), "/usr/share/nginx/html/index.html", READ_ONLY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class FlareWebserviceClientImplRevProxyTlsIT extends FlareWebserviceClien

@Container
public static GenericContainer<?> proxy = new GenericContainer<>(
DockerImageName.parse("nginx:1.25.1"))
DockerImageName.parse("nginx:1.27.1"))
.withExposedPorts(8443)
.withFileSystemBind(nginxConf.getPath(), "/etc/nginx/nginx.conf", READ_ONLY)
.withFileSystemBind(indexFile.getPath(), "/usr/share/nginx/html/index.html", READ_ONLY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class FlareWebserviceClientImplTimeoutsIT extends FlareWebserviceClientIm
@Autowired protected FlareWebserviceClient flareClient;

@Container
public static ToxiproxyContainer toxiproxy = new ToxiproxyContainer("ghcr.io/shopify/toxiproxy:2.7.0")
public static ToxiproxyContainer toxiproxy = new ToxiproxyContainer("ghcr.io/shopify/toxiproxy:2.9.0")
.withNetwork(DEFAULT_CONTAINER_NETWORK)
.dependsOn(flare);
private static ToxiproxyClient toxiproxyClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ public class OAuthInterceptorIT {

@Container
public static GenericContainer<?> forwardProxyNoAuth = new GenericContainer<>(
DockerImageName.parse("ubuntu/squid:6.1-23.10_edge"))
DockerImageName.parse("ubuntu/squid:6.6-24.04_edge"))
.withNetwork(DEFAULT_CONTAINER_NETWORK)
.withExposedPorts(8080)
.withFileSystemBind(getResource("keycloak_forward_proxy.conf").getPath(), "/etc/squid/squid.conf",
BindMode.READ_ONLY);

@Container
public static GenericContainer<?> forwardProxyBasicAuth = new GenericContainer<>(
DockerImageName.parse("ubuntu/squid:6.1-23.10_edge"))
DockerImageName.parse("ubuntu/squid:6.6-24.04_edge"))
.withNetwork(DEFAULT_CONTAINER_NETWORK)
.withExposedPorts(8080)
.withFileSystemBind(getResource("keycloak_forward_proxy_basic_auth.conf").getPath(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class StoreClientIT {
private static final Network DEFAULT_CONTAINER_NETWORK = Network.newNetwork();

@Container
public GenericContainer<?> fhirServer = new GenericContainer<>(DockerImageName.parse("samply/blaze:0.27"))
public GenericContainer<?> fhirServer = new GenericContainer<>(DockerImageName.parse("samply/blaze:0.30"))
.withExposedPorts(8080)
.withNetwork(DEFAULT_CONTAINER_NETWORK)
.withNetworkAliases("fhir-server")
Expand Down Expand Up @@ -201,7 +201,7 @@ public void testRequestToReverseProxyWithClientCert() throws KeyStoreException,
var serverCertChain = getResource("../certs/server_cert_chain.pem");
var serverCertKey = getResource("../certs/server_cert_key.pem");

NginxContainer<?> nginx = new NginxContainer<>("nginx:1.25.1")
NginxContainer<?> nginx = new NginxContainer<>("nginx:1.27.1")
.withExposedPorts(80)
.withFileSystemBind(nginxConf.getPath(), "/etc/nginx/nginx.conf", READ_ONLY)
.withFileSystemBind(staticFhirMetadata.getPath(), "/static/fhir_metadata.json", READ_ONLY)
Expand Down Expand Up @@ -249,7 +249,7 @@ public void testRequestToReverseProxyWithCredentials() {
var indexFile = getResource("index.html");
var passwordFile = getResource(".htpasswd");

NginxContainer<?> nginx = new NginxContainer<>("nginx:1.25.1")
NginxContainer<?> nginx = new NginxContainer<>("nginx:1.27.1")
.withExposedPorts(80)
.withFileSystemBind(nginxConf.getPath(), "/etc/nginx/nginx.conf", READ_ONLY)
.withFileSystemBind(staticFhirMetadata.getPath(), "/static/fhir_metadata.json", READ_ONLY)
Expand Down Expand Up @@ -282,7 +282,7 @@ public void testRequestWithForwardProxy() {
var nginxConf = this.getClass().getResource("nginx.conf");
var forwardProxyConfigTemplate = getResource("forward_proxy.conf.template");

NginxContainer<?> nginx = new NginxContainer<>("nginx:1.25.1")
NginxContainer<?> nginx = new NginxContainer<>("nginx:1.27.1")
.withExposedPorts(80)
.withFileSystemBind(nginxConf.getPath(), "/etc/nginx/nginx.conf", READ_ONLY)
.withFileSystemBind(forwardProxyConfigTemplate.getPath(), "/etc/nginx/templates/default.conf.template", READ_ONLY)
Expand Down

0 comments on commit 9d632f2

Please sign in to comment.