diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 8807efca..9786771c 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:7c853edc4136ae8f19f9d46d4569d38de2e446db2eea057f32e412bdba255846 + digest: sha256:3c950ed12391ebaffd1ee66d0374766a1c50144ebe6a7a0042300b2e6bb5856b diff --git a/.github/workflows/approve-readme.yaml b/.github/workflows/approve-readme.yaml index c5132427..1bb18232 100644 --- a/.github/workflows/approve-readme.yaml +++ b/.github/workflows/approve-readme.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: pull_request: name: auto-merge-readme diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 59c7cadd..18e23230 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: pull_request: name: auto-release @@ -16,13 +31,13 @@ jobs: return; } - // only approve PRs like "chore: release " - if ( !context.payload.pull_request.title.startsWith("chore: release") ) { + // only approve PRs like "chore(main): release " + if ( !context.payload.pull_request.title.startsWith("chore(main): release") ) { return; } // only approve PRs with pom.xml and versions.txt changes - const filesPromise = github.pulls.listFiles.endpoint({ + const filesPromise = github.rest.pulls.listFiles.endpoint({ owner: context.repo.owner, repo: context.repo.repo, pull_number: context.payload.pull_request.number, @@ -54,7 +69,7 @@ jobs: return; } - const promise = github.pulls.list.endpoint({ + const promise = github.rest.pulls.list.endpoint({ owner: context.repo.owner, repo: context.repo.repo, state: 'open' @@ -71,7 +86,7 @@ jobs: } // approve release PR - await github.pulls.createReview({ + await github.rest.pulls.createReview({ owner: context.repo.owner, repo: context.repo.repo, body: 'Rubber stamped release!', @@ -80,7 +95,7 @@ jobs: }); // attach kokoro:force-run and automerge labels - await github.issues.addLabels({ + await github.rest.issues.addLabels({ owner: context.repo.owner, repo: context.repo.repo, issue_number: context.payload.pull_request.number, diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 05de1f60..6b5e56aa 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: push: branches: diff --git a/.github/workflows/samples.yaml b/.github/workflows/samples.yaml index c46230a7..d5d964df 100644 --- a/.github/workflows/samples.yaml +++ b/.github/workflows/samples.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: pull_request: name: samples diff --git a/.kokoro/build.bat b/.kokoro/build.bat index 05826ad9..cc602c9e 100644 --- a/.kokoro/build.bat +++ b/.kokoro/build.bat @@ -1,3 +1,18 @@ :: See documentation in type-shell-output.bat +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. "C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index bad8c89b..449879b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.1](https://github.com/googleapis/java-data-fusion/compare/v1.0.0...v1.0.1) (2022-02-11) + + +### Dependencies + +* update actions/github-script action to v6 ([#128](https://github.com/googleapis/java-data-fusion/issues/128)) ([766d76b](https://github.com/googleapis/java-data-fusion/commit/766d76b81a9be7748a57eab58dd21754ae41015d)) + ## [1.0.0](https://github.com/googleapis/java-data-fusion/compare/v0.3.3...v1.0.0) (2022-02-03) diff --git a/README.md b/README.md index 9443650a..da38df95 100644 --- a/README.md +++ b/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-data-fusion - 0.3.3 + 1.0.0 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-data-fusion:0.3.3' +implementation 'com.google.cloud:google-cloud-data-fusion:1.0.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "0.3.3" +libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.0.0" ``` ## Authentication diff --git a/google-cloud-data-fusion-bom/pom.xml b/google-cloud-data-fusion-bom/pom.xml index 8676f5f9..6d16f2d8 100644 --- a/google-cloud-data-fusion-bom/pom.xml +++ b/google-cloud-data-fusion-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-data-fusion-bom - 1.0.0 + 1.0.1 pom com.google.cloud google-cloud-shared-config - 1.2.6 + 1.2.7 Google Cloud Data Fusion BOM @@ -56,27 +56,27 @@ com.google.cloud google-cloud-data-fusion - 1.0.0 + 1.0.1 com.google.api.grpc grpc-google-cloud-data-fusion-v1beta1 - 0.4.0 + 0.4.1 com.google.api.grpc grpc-google-cloud-data-fusion-v1 - 1.0.0 + 1.0.1 com.google.api.grpc proto-google-cloud-data-fusion-v1beta1 - 0.4.0 + 0.4.1 com.google.api.grpc proto-google-cloud-data-fusion-v1 - 1.0.0 + 1.0.1 diff --git a/google-cloud-data-fusion/pom.xml b/google-cloud-data-fusion/pom.xml index 34842f02..70797490 100644 --- a/google-cloud-data-fusion/pom.xml +++ b/google-cloud-data-fusion/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-data-fusion - 1.0.0 + 1.0.1 jar Google Cloud Data Fusion https://github.com/googleapis/java-data-fusion @@ -11,7 +11,7 @@ com.google.cloud google-cloud-data-fusion-parent - 1.0.0 + 1.0.1 google-cloud-data-fusion diff --git a/grpc-google-cloud-data-fusion-v1/pom.xml b/grpc-google-cloud-data-fusion-v1/pom.xml index 320f72da..67bdb0f7 100644 --- a/grpc-google-cloud-data-fusion-v1/pom.xml +++ b/grpc-google-cloud-data-fusion-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-data-fusion-v1 - 1.0.0 + 1.0.1 grpc-google-cloud-data-fusion-v1 GRPC library for google-cloud-data-fusion com.google.cloud google-cloud-data-fusion-parent - 1.0.0 + 1.0.1 diff --git a/grpc-google-cloud-data-fusion-v1beta1/pom.xml b/grpc-google-cloud-data-fusion-v1beta1/pom.xml index cfbb1ae3..a3da3739 100644 --- a/grpc-google-cloud-data-fusion-v1beta1/pom.xml +++ b/grpc-google-cloud-data-fusion-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-data-fusion-v1beta1 - 0.4.0 + 0.4.1 grpc-google-cloud-data-fusion-v1beta1 GRPC library for google-cloud-data-fusion com.google.cloud google-cloud-data-fusion-parent - 1.0.0 + 1.0.1 diff --git a/pom.xml b/pom.xml index c99cc6a8..15ffde15 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-data-fusion-parent pom - 1.0.0 + 1.0.1 Google Cloud Data Fusion Parent https://github.com/googleapis/java-data-fusion @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.6 + 1.2.7 @@ -69,27 +69,27 @@ com.google.cloud google-cloud-data-fusion - 1.0.0 + 1.0.1 com.google.api.grpc grpc-google-cloud-data-fusion-v1beta1 - 0.4.0 + 0.4.1 com.google.api.grpc grpc-google-cloud-data-fusion-v1 - 1.0.0 + 1.0.1 com.google.api.grpc proto-google-cloud-data-fusion-v1beta1 - 0.4.0 + 0.4.1 com.google.api.grpc proto-google-cloud-data-fusion-v1 - 1.0.0 + 1.0.1 diff --git a/proto-google-cloud-data-fusion-v1/pom.xml b/proto-google-cloud-data-fusion-v1/pom.xml index dcb496bb..50a97c16 100644 --- a/proto-google-cloud-data-fusion-v1/pom.xml +++ b/proto-google-cloud-data-fusion-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-data-fusion-v1 - 1.0.0 + 1.0.1 proto-google-cloud-data-fusion-v1 Proto library for google-cloud-data-fusion com.google.cloud google-cloud-data-fusion-parent - 1.0.0 + 1.0.1 diff --git a/proto-google-cloud-data-fusion-v1beta1/pom.xml b/proto-google-cloud-data-fusion-v1beta1/pom.xml index 6169073e..b0d6d246 100644 --- a/proto-google-cloud-data-fusion-v1beta1/pom.xml +++ b/proto-google-cloud-data-fusion-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-data-fusion-v1beta1 - 0.4.0 + 0.4.1 proto-google-cloud-data-fusion-v1beta1 Proto library for google-cloud-data-fusion com.google.cloud google-cloud-data-fusion-parent - 1.0.0 + 1.0.1 diff --git a/versions.txt b/versions.txt index 08fe3196..6ffa4fe8 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-data-fusion:1.0.0:1.0.0 -grpc-google-cloud-data-fusion-v1beta1:0.4.0:0.4.0 -grpc-google-cloud-data-fusion-v1:1.0.0:1.0.0 -proto-google-cloud-data-fusion-v1beta1:0.4.0:0.4.0 -proto-google-cloud-data-fusion-v1:1.0.0:1.0.0 +google-cloud-data-fusion:1.0.1:1.0.1 +grpc-google-cloud-data-fusion-v1beta1:0.4.1:0.4.1 +grpc-google-cloud-data-fusion-v1:1.0.1:1.0.1 +proto-google-cloud-data-fusion-v1beta1:0.4.1:0.4.1 +proto-google-cloud-data-fusion-v1:1.0.1:1.0.1