diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index dc86b416e46..5ae94d68966 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -45,6 +45,7 @@ body: - ToxiProxy - Trino - Vault + - YugabyteDB validations: required: true - type: input diff --git a/.github/ISSUE_TEMPLATE/enhancement.yaml b/.github/ISSUE_TEMPLATE/enhancement.yaml index f06ea99c8ba..54c75c330bf 100644 --- a/.github/ISSUE_TEMPLATE/enhancement.yaml +++ b/.github/ISSUE_TEMPLATE/enhancement.yaml @@ -45,6 +45,7 @@ body: - ToxiProxy - Trino - Vault + - YugabyteDB validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/feature.yaml b/.github/ISSUE_TEMPLATE/feature.yaml index 9e79553d357..3a6702339dc 100644 --- a/.github/ISSUE_TEMPLATE/feature.yaml +++ b/.github/ISSUE_TEMPLATE/feature.yaml @@ -45,6 +45,7 @@ body: - ToxiProxy - Trino - Vault + - YugabyteDB - New Module - type: textarea id: problem diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3e2d53fed65..9f4cc285120 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -212,6 +212,11 @@ updates: schedule: interval: "monthly" open-pull-requests-limit: 10 + - package-ecosystem: "gradle" + directory: "/modules/yugabytedb" + schedule: + interval: "monthly" + open-pull-requests-limit: 10 # Examples - package-ecosystem: "gradle" diff --git a/.github/labeler.yml b/.github/labeler.yml index 84e21af744a..f1824cc24b1 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -79,4 +79,6 @@ - modules/trino/* "modules/vault": - modules/vault/* +"modules/yugabytedb": + - modules/yugabytedb/* "type/docs": docs/**/* diff --git a/modules/yugabytedb/src/main/java/org/testcontainers/containers/YugabyteDBYCQLContainer.java b/modules/yugabytedb/src/main/java/org/testcontainers/containers/YugabyteDBYCQLContainer.java index 1d3a5f18f8e..e1c886ba79c 100644 --- a/modules/yugabytedb/src/main/java/org/testcontainers/containers/YugabyteDBYCQLContainer.java +++ b/modules/yugabytedb/src/main/java/org/testcontainers/containers/YugabyteDBYCQLContainer.java @@ -2,6 +2,8 @@ import java.net.InetSocketAddress; import java.time.Duration; +import java.util.Collections; +import java.util.Set; import com.github.dockerjava.api.command.InspectContainerResponse; import org.testcontainers.containers.delegate.YugabyteDBYCQLDelegate; @@ -10,7 +12,7 @@ import org.testcontainers.utility.DockerImageName; /** - * YugabyteDB YCQL (Cloud Query Language) API container + * Testcontainers implementation for YugabyteDB YCQL API. * * @author srinivasa-vasu * @see YCQL API @@ -55,6 +57,11 @@ public YugabyteDBYCQLContainer(final DockerImageName imageName) { withCommand(ENTRYPOINT); } + @Override + public Set getLivenessCheckPortNumbers() { + return Collections.singleton(getMappedPort(YCQL_PORT)); + } + /** * Configures the environment variables. Setting up these variables would create the * custom objects. Setting {@link #withKeyspaceName(String)}, diff --git a/modules/yugabytedb/src/main/java/org/testcontainers/containers/YugabyteDBYSQLContainer.java b/modules/yugabytedb/src/main/java/org/testcontainers/containers/YugabyteDBYSQLContainer.java index 6f3d83f49b0..cdc1c1ed011 100644 --- a/modules/yugabytedb/src/main/java/org/testcontainers/containers/YugabyteDBYSQLContainer.java +++ b/modules/yugabytedb/src/main/java/org/testcontainers/containers/YugabyteDBYSQLContainer.java @@ -9,7 +9,7 @@ import java.util.Collections; /** - * YugabyteDB YSQL (Structured Query Language) API container + * Testcontainers implementation for YugabyteDB YSQL API. * * @author srinivasa-vasu * @see YSQL API