Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
chore: update repo metadata (#5)
Browse files Browse the repository at this point in the history
* chore: update repo metadata

* update based on comments

* fix dep error in build

* fix dep error in build
  • Loading branch information
stephaniewang526 committed Apr 27, 2020
1 parent 9dfcf33 commit d83c6c8
Show file tree
Hide file tree
Showing 34 changed files with 81 additions and 72 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Expand Up @@ -10,7 +10,7 @@ Thanks for stopping by to let us know something could be better!

Please run down the following list and make sure you've tried the usual "quick fixes":

- Search the issues already opened: https://github.com/googleapis/java-bigquery-connection/issues
- Search the issues already opened: https://github.com/googleapis/java-bigqueryconnections/issues
- Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform

If you are still having issues, please include as much information as possible:
Expand All @@ -21,7 +21,7 @@ If you are still having issues, please include as much information as possible:
General, Core, and Other are also allowed as types
2. OS type and version:
3. Java version:
4. bigquery-connection version(s):
4. bigqueryconnections version(s):

#### Steps to reproduce

Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
@@ -1,5 +1,5 @@
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-bigquery-connection/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-bigqueryconnections/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/build.bat
@@ -1,3 +1,3 @@
:: See documentation in type-shell-output.bat

"C:\Program Files\Git\bin\bash.exe" github/java-bigquery-connection/.kokoro/build.sh
"C:\Program Files\Git\bin\bash.exe" github/java-bigqueryconnections/.kokoro/build.sh
2 changes: 1 addition & 1 deletion .kokoro/build.sh
Expand Up @@ -106,7 +106,7 @@ bash .kokoro/coerce_logs.sh
if [[ "${ENABLE_BUILD_COP}" == "true" ]]
then
chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop
${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-bigquery-connection
${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-bigqueryconnections
fi

echo "exiting with ${RETURN_CODE}"
Expand Down
4 changes: 2 additions & 2 deletions .kokoro/common.cfg
Expand Up @@ -4,10 +4,10 @@
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# All builds use the trampoline script to run in docker.
build_file: "java-bigquery-connection/.kokoro/trampoline.sh"
build_file: "java-bigqueryconnections/.kokoro/trampoline.sh"

# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/build.sh"
value: "github/java-bigqueryconnections/.kokoro/build.sh"
}
4 changes: 2 additions & 2 deletions .kokoro/continuous/common.cfg
Expand Up @@ -12,11 +12,11 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "java-bigquery-connection/.kokoro/trampoline.sh"
build_file: "java-bigqueryconnections/.kokoro/trampoline.sh"

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/build.sh"
value: "github/java-bigqueryconnections/.kokoro/build.sh"
}

env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/continuous/dependencies.cfg
Expand Up @@ -8,5 +8,5 @@ env_vars: {

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/dependencies.sh"
value: "github/java-bigqueryconnections/.kokoro/dependencies.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/continuous/java8-osx.cfg
@@ -1,3 +1,3 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "java-bigquery-connection/.kokoro/build.sh"
build_file: "java-bigqueryconnections/.kokoro/build.sh"
2 changes: 1 addition & 1 deletion .kokoro/continuous/java8-win.cfg
@@ -1,3 +1,3 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "java-bigquery-connection/.kokoro/build.bat"
build_file: "java-bigqueryconnections/.kokoro/build.bat"
4 changes: 2 additions & 2 deletions .kokoro/continuous/propose_release.cfg
Expand Up @@ -11,7 +11,7 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "java-bigquery-connection/.kokoro/trampoline.sh"
build_file: "java-bigqueryconnections/.kokoro/trampoline.sh"

# Configure the docker image for kokoro-trampoline.
env_vars: {
Expand All @@ -21,7 +21,7 @@ env_vars: {

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/continuous/propose_release.sh"
value: "github/java-bigqueryconnections/.kokoro/continuous/propose_release.sh"
}

# tokens used by release-please to keep an up-to-date release PR.
Expand Down
4 changes: 2 additions & 2 deletions .kokoro/nightly/common.cfg
Expand Up @@ -12,11 +12,11 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "java-bigquery-connection/.kokoro/trampoline.sh"
build_file: "java-bigqueryconnections/.kokoro/trampoline.sh"

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/build.sh"
value: "github/java-bigqueryconnections/.kokoro/build.sh"
}

env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/nightly/dependencies.cfg
Expand Up @@ -8,5 +8,5 @@ env_vars: {

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/dependencies.sh"
value: "github/java-bigqueryconnections/.kokoro/dependencies.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/nightly/java8-osx.cfg
@@ -1,3 +1,3 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "java-bigquery-connection/.kokoro/build.sh"
build_file: "java-bigqueryconnections/.kokoro/build.sh"
2 changes: 1 addition & 1 deletion .kokoro/nightly/java8-win.cfg
@@ -1,3 +1,3 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "java-bigquery-connection/.kokoro/build.bat"
build_file: "java-bigqueryconnections/.kokoro/build.bat"
4 changes: 2 additions & 2 deletions .kokoro/presubmit/common.cfg
Expand Up @@ -12,11 +12,11 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "java-bigquery-connection/.kokoro/trampoline.sh"
build_file: "java-bigqueryconnections/.kokoro/trampoline.sh"

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/build.sh"
value: "github/java-bigqueryconnections/.kokoro/build.sh"
}

env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/dependencies.cfg
Expand Up @@ -8,5 +8,5 @@ env_vars: {

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/dependencies.sh"
value: "github/java-bigqueryconnections/.kokoro/dependencies.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/presubmit/java8-osx.cfg
@@ -1,3 +1,3 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "java-bigquery-connection/.kokoro/build.sh"
build_file: "java-bigqueryconnections/.kokoro/build.sh"
2 changes: 1 addition & 1 deletion .kokoro/presubmit/java8-win.cfg
@@ -1,3 +1,3 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "java-bigquery-connection/.kokoro/build.bat"
build_file: "java-bigqueryconnections/.kokoro/build.bat"
2 changes: 1 addition & 1 deletion .kokoro/presubmit/linkage-monitor.cfg
Expand Up @@ -8,5 +8,5 @@ env_vars: {

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/linkage-monitor.sh"
value: "github/java-bigqueryconnections/.kokoro/linkage-monitor.sh"
}
4 changes: 2 additions & 2 deletions .kokoro/release/bump_snapshot.cfg
Expand Up @@ -11,7 +11,7 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "java-bigquery-connection/.kokoro/trampoline.sh"
build_file: "java-bigqueryconnections/.kokoro/trampoline.sh"

# Configure the docker image for kokoro-trampoline.
env_vars: {
Expand All @@ -21,7 +21,7 @@ env_vars: {

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/release/bump_snapshot.sh"
value: "github/java-bigqueryconnections/.kokoro/release/bump_snapshot.sh"
}

# tokens used by release-please to keep an up-to-date release PR.
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/release/common.cfg
Expand Up @@ -4,7 +4,7 @@
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "java-bigquery-connection/.kokoro/trampoline.sh"
build_file: "java-bigqueryconnections/.kokoro/trampoline.sh"

# Configure the docker image for kokoro-trampoline.
env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/release/drop.cfg
Expand Up @@ -2,5 +2,5 @@

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/release/drop.sh"
value: "github/java-bigqueryconnections/.kokoro/release/drop.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/release/promote.cfg
Expand Up @@ -2,5 +2,5 @@

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/release/promote.sh"
value: "github/java-bigqueryconnections/.kokoro/release/promote.sh"
}
2 changes: 1 addition & 1 deletion .kokoro/release/publish_javadoc.cfg
Expand Up @@ -6,7 +6,7 @@ env_vars: {

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/release/publish_javadoc.sh"
value: "github/java-bigqueryconnections/.kokoro/release/publish_javadoc.sh"
}

before_action {
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/release/publish_javadoc.sh
Expand Up @@ -33,7 +33,7 @@ python3 -m pip install gcp-docuploader
# compile all packages
mvn clean install -B -DskipTests=true

NAME=google-cloud-bigquery-connection
NAME=google-cloud-bigqueryconnections
VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)

# build the docs
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/release/snapshot.cfg
Expand Up @@ -2,5 +2,5 @@

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/release/snapshot.sh"
value: "github/java-bigqueryconnections/.kokoro/release/snapshot.sh"
}
6 changes: 3 additions & 3 deletions .kokoro/release/stage.cfg
Expand Up @@ -2,14 +2,14 @@

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-bigquery-connection/.kokoro/release/stage.sh"
value: "github/java-bigqueryconnections/.kokoro/release/stage.sh"
}

# Need to save the properties file
action {
define_artifacts {
regex: "github/java-bigquery-connection/target/nexus-staging/staging/*.properties"
strip_prefix: "github/java-bigquery-connection"
regex: "github/java-bigqueryconnections/target/nexus-staging/staging/*.properties"
strip_prefix: "github/java-bigqueryconnections"
}
}

Expand Down
12 changes: 6 additions & 6 deletions .repo-metadata.json
@@ -1,15 +1,15 @@
{
"name": "bigquery-connection",
"name": "bigqueryconnections",
"name_pretty": "Cloud BigQuery Connections",
"product_documentation": "https://cloud.google.com",
"api_description": "is about",
"client_documentation": "https://googleapis.dev/java/google-cloud-bigquery-connection/latest/index.html",
"client_documentation": "https://googleapis.dev/java/google-cloud-bigqueryconnections/latest/index.html",
"release_level": "beta",
"transport": "grpc",
"language": "java",
"repo": "googleapis/java-bigquery-connection",
"repo_short": "java-bigquery-connection",
"distribution_name": "com.google.cloud:google-cloud-bigquery-connection",
"api_id": "bigquery-connection.googleapis.com",
"repo": "googleapis/java-bigqueryconnections",
"repo_short": "java-bigqueryconnections",
"distribution_name": "com.google.cloud:google-cloud-bigqueryconnections",
"api_id": "bigqueryconnection.googleapis.com",
"requires_billing": true
}
46 changes: 23 additions & 23 deletions README.md
Expand Up @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
```xml
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquery-connection</artifactId>
<artifactId>google-cloud-bigqueryconnections</artifactId>
<version>0.0.0</version>
</dependency>
```

[//]: # ({x-version-update-start:google-cloud-bigquery-connection:released})
[//]: # ({x-version-update-start:google-cloud-bigqueryconnections:released})

If you are using Gradle, add this to your dependencies
```Groovy
compile 'com.google.cloud:google-cloud-bigquery-connection:0.0.0'
compile 'com.google.cloud:google-cloud-bigqueryconnections:0.0.0'
```
If you are using SBT, add this to your dependencies
```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-connection" % "0.0.0"
libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnections" % "0.0.0"
```
[//]: # ({x-version-update-end})

Expand All @@ -52,8 +52,8 @@ You will need to [enable billing][enable-billing] to use Google Cloud BigQuery C

### Installation and setup

You'll need to obtain the `google-cloud-bigquery-connection` library. See the [Quickstart](#quickstart) section
to add `google-cloud-bigquery-connection` as a dependency in your code.
You'll need to obtain the `google-cloud-bigqueryconnections` library. See the [Quickstart](#quickstart) section
to add `google-cloud-bigqueryconnections` as a dependency in your code.

## About Cloud BigQuery Connections

Expand Down Expand Up @@ -115,29 +115,29 @@ Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4]
Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5]

[product-docs]: https://cloud.google.com
[javadocs]: https://googleapis.dev/java/google-cloud-bigquery-connection/latest/index.html
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquery-connection/java7.svg
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquery-connection/java7.html
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquery-connection/java8.svg
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquery-connection/java8.html
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquery-connection/java8-osx.svg
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquery-connection/java8-osx.html
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquery-connection/java8-win.svg
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquery-connection/java8-win.html
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquery-connection/java11.svg
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquery-connection/java11.html
[javadocs]: https://googleapis.dev/java/google-cloud-bigqueryconnections/latest/index.html
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigqueryconnections/java7.svg
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigqueryconnections/java7.html
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigqueryconnections/java8.svg
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigqueryconnections/java8.html
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigqueryconnections/java8-osx.svg
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigqueryconnections/java8-osx.html
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigqueryconnections/java8-win.svg
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigqueryconnections/java8-win.html
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigqueryconnections/java11.svg
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigqueryconnections/java11.html
[stability-image]: https://img.shields.io/badge/stability-beta-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquery-connection.svg
[maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-bigquery-connection&core=gav
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigqueryconnections.svg
[maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-bigqueryconnections&core=gav
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[developer-console]: https://console.developers.google.com/
[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects
[cloud-sdk]: https://cloud.google.com/sdk/
[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/master/troubleshooting/readme.md#troubleshooting
[contributing]: https://github.com/googleapis/java-bigquery-connection/blob/master/CONTRIBUTING.md
[code-of-conduct]: https://github.com/googleapis/java-bigquery-connection/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct
[license]: https://github.com/googleapis/java-bigquery-connection/blob/master/LICENSE
[contributing]: https://github.com/googleapis/java-bigqueryconnections/blob/master/CONTRIBUTING.md
[code-of-conduct]: https://github.com/googleapis/java-bigqueryconnections/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct
[license]: https://github.com/googleapis/java-bigqueryconnections/blob/master/LICENSE
[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=bigquery-connection.googleapis.com
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=bigqueryconnection.googleapis.com
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
4 changes: 4 additions & 0 deletions google-cloud-bigquery-connection/pom.xml
Expand Up @@ -41,6 +41,10 @@
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-common-protos</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-iam-v1</artifactId>
</dependency>

<dependency>
<groupId>com.google.api.grpc</groupId>
Expand Down
4 changes: 4 additions & 0 deletions grpc-google-cloud-bigquery-connection-v1beta1/pom.xml
Expand Up @@ -25,6 +25,10 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-iam-v1</artifactId>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
Expand Down
1 change: 0 additions & 1 deletion proto-google-cloud-bigquery-connection-v1beta1/pom.xml
Expand Up @@ -32,7 +32,6 @@
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-iam-v1</artifactId>
<version>0.13.0</version>
</dependency>
</dependencies>

Expand Down

0 comments on commit d83c6c8

Please sign in to comment.