Polish "Add service connection from Testcontainers Zipkin"
See gh-35107
This commit is contained in:
@@ -23,6 +23,7 @@ import org.testcontainers.utility.DockerImageName;
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @author Eddú Meléndez
|
||||
* @author Moritz Halbritter
|
||||
* @since 2.3.6
|
||||
*/
|
||||
public final class DockerImageNames {
|
||||
@@ -53,6 +54,8 @@ public final class DockerImageNames {
|
||||
|
||||
private static final String REGISTRY_VERSION = "2.7.1";
|
||||
|
||||
private static final String ZIPKIN_VERSION = "2.24.1";
|
||||
|
||||
private DockerImageNames() {
|
||||
}
|
||||
|
||||
@@ -163,4 +166,13 @@ public final class DockerImageNames {
|
||||
return DockerImageName.parse("registry").withTag(REGISTRY_VERSION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a {@link DockerImageName} suitable for running Zipkin.
|
||||
* @return a docker image name for running Zipkin
|
||||
* @since 3.1.0
|
||||
*/
|
||||
public static DockerImageName zipkin() {
|
||||
return DockerImageName.parse("openzipkin/zipkin").withTag(ZIPKIN_VERSION);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user