Skip to content

Commit

Permalink
add yugabytedb to the .github template files for issue/enhancement tr…
Browse files Browse the repository at this point in the history
…acking

Signed-off-by: Srinivasa Vasu <srinivasan.surprise@gmail.com>
  • Loading branch information
srinivasa-vasu committed Oct 23, 2022
1 parent f236c7d commit 2c27755
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ body:
- ToxiProxy
- Trino
- Vault
- YugabyteDB
validations:
required: true
- type: input
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/enhancement.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ body:
- ToxiProxy
- Trino
- Vault
- YugabyteDB
validations:
required: true
- type: textarea
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ body:
- ToxiProxy
- Trino
- Vault
- YugabyteDB
- New Module
- type: textarea
id: problem
Expand Down
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,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"
Expand Down
2 changes: 2 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,7 @@
- modules/trino/*
"modules/vault":
- modules/vault/*
"modules/yugabytedb":
- modules/yugabytedb/*
"type/docs":
- docs/**/*.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 <a href="https://docs.yugabyte.com/stable/api/ycql/">YCQL API</a>
Expand Down Expand Up @@ -55,6 +57,11 @@ public YugabyteDBYCQLContainer(final DockerImageName imageName) {
withCommand(ENTRYPOINT);
}

@Override
public Set<Integer> getLivenessCheckPortNumbers() {
return Collections.singleton(getMappedPort(YCQL_PORT));
}

/**
* Configures the environment variables. Setting up these variables would create the
* custom objects. Setting {@link #withKeyspaceName(String)},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://docs.yugabyte.com/stable/api/ysql/">YSQL API</a>
Expand Down

0 comments on commit 2c27755

Please sign in to comment.