From 669004898fe0afea58ad40da42458c8554ea0bd8 Mon Sep 17 00:00:00 2001 From: Neenu1995 Date: Fri, 10 Jun 2022 13:07:41 -0400 Subject: [PATCH 01/32] feat: initial generation --- batch/install-without-bom/pom.xml | 84 +++++++++++++++++++++++++++++++ batch/pom.xml | 56 +++++++++++++++++++++ batch/snapshot/pom.xml | 83 ++++++++++++++++++++++++++++++ batch/snippets/pom.xml | 47 +++++++++++++++++ 4 files changed, 270 insertions(+) create mode 100644 batch/install-without-bom/pom.xml create mode 100644 batch/pom.xml create mode 100644 batch/snapshot/pom.xml create mode 100644 batch/snippets/pom.xml diff --git a/batch/install-without-bom/pom.xml b/batch/install-without-bom/pom.xml new file mode 100644 index 00000000000..65c298e41ea --- /dev/null +++ b/batch/install-without-bom/pom.xml @@ -0,0 +1,84 @@ + + + 4.0.0 + com.google.cloud + -install-without-bom + jar + Google Google Cloud Batch Install Without Bom + https://github.com/googleapis/java-batch + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + com.google.cloud + google-cloud-batch + 0.0.0 + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.1.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + diff --git a/batch/pom.xml b/batch/pom.xml new file mode 100644 index 00000000000..3763687ed33 --- /dev/null +++ b/batch/pom.xml @@ -0,0 +1,56 @@ + + + 4.0.0 + com.google.cloud + google-cloud--samples + 0.0.1-SNAPSHOT + pom + Google Google Cloud Batch Samples Parent + https://github.com/googleapis/java-batch + + Java idiomatic client for Google Cloud Platform services. + + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + install-without-bom + snapshot + snippets + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + true + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.12 + + true + + + + + diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml new file mode 100644 index 00000000000..1e665c9c81a --- /dev/null +++ b/batch/snapshot/pom.xml @@ -0,0 +1,83 @@ + + + 4.0.0 + com.google.cloud + -snapshot + jar + Google Google Cloud Batch Snapshot Samples + https://github.com/googleapis/java-batch + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + com.google.cloud + google-cloud-batch + 0.0.0 + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.1.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + diff --git a/batch/snippets/pom.xml b/batch/snippets/pom.xml new file mode 100644 index 00000000000..c7ae3a196b3 --- /dev/null +++ b/batch/snippets/pom.xml @@ -0,0 +1,47 @@ + + + 4.0.0 + com.google.cloud + -snippets + jar + Google Google Cloud Batch Snippets + https://github.com/googleapis/java-batch + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + com.google.cloud + google-cloud-batch + 0.0.0 + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + From e6525ff0697832a26d12544232dcd24b15562d54 Mon Sep 17 00:00:00 2001 From: Neenu1995 Date: Fri, 10 Jun 2022 14:44:00 -0400 Subject: [PATCH 02/32] chore: fix dependencies --- batch/install-without-bom/pom.xml | 8 ++++---- batch/pom.xml | 2 +- batch/snapshot/pom.xml | 8 ++++---- batch/snippets/pom.xml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/batch/install-without-bom/pom.xml b/batch/install-without-bom/pom.xml index 65c298e41ea..e0d752c6646 100644 --- a/batch/install-without-bom/pom.xml +++ b/batch/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.2.0 @@ -36,13 +36,13 @@ junit junit - 4.13 + 4.13.2 test com.google.truth truth - 1.0.1 + 1.1.3 test @@ -53,7 +53,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.1.0 + 3.3.0 add-snippets-source diff --git a/batch/pom.xml b/batch/pom.xml index 3763687ed33..8465415cc23 100644 --- a/batch/pom.xml +++ b/batch/pom.xml @@ -46,7 +46,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.12 + 1.6.13 true diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index 1e665c9c81a..bbcfa385239 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.2.0 @@ -35,13 +35,13 @@ junit junit - 4.13 + 4.13.2 test com.google.truth truth - 1.0.1 + 1.1.3 test @@ -52,7 +52,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.1.0 + 3.3.0 add-snippets-source diff --git a/batch/snippets/pom.xml b/batch/snippets/pom.xml index c7ae3a196b3..58c8aac8611 100644 --- a/batch/snippets/pom.xml +++ b/batch/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.2.0 @@ -34,13 +34,13 @@ junit junit - 4.13 + 4.13.2 test com.google.truth truth - 1.0.1 + 1.1.3 test From d15badafb5e8af4ee58a877c0cd5a1c8db1b1687 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 15 Jun 2022 17:25:26 +0000 Subject: [PATCH 03/32] chore(main): release 0.1.0 --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index bbcfa385239..575bee85bdc 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.0.0 + 0.1.0 From eb4c76ce93d147f663d4e38a63cb89b99e7ecd10 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 16 Jun 2022 09:02:12 +0000 Subject: [PATCH 04/32] chore(main): release 0.1.1-SNAPSHOT (#4) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index 575bee85bdc..b4ee2a86785 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.1.0 + 0.1.1-SNAPSHOT From 392b676b900b3f954bb667b61bed63bc8e4f1d7f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 21 Jun 2022 18:26:16 +0200 Subject: [PATCH 05/32] chore(deps): update dependency com.google.cloud:google-cloud-batch to v0.1.0 (#5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-batch](https://togithub.com/googleapis/java-batch) | `0.0.0` -> `0.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.1.0/compatibility-slim/0.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.1.0/confidence-slim/0.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-batch). --- batch/install-without-bom/pom.xml | 2 +- batch/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/batch/install-without-bom/pom.xml b/batch/install-without-bom/pom.xml index e0d752c6646..28e34dacc78 100644 --- a/batch/install-without-bom/pom.xml +++ b/batch/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-batch - 0.0.0 + 0.1.0 diff --git a/batch/snippets/pom.xml b/batch/snippets/pom.xml index 58c8aac8611..ccf907eb5a4 100644 --- a/batch/snippets/pom.xml +++ b/batch/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.0.0 + 0.1.0 From 96e2367d560d418fae140b21c2fff3370b6da85b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 23 Jun 2022 15:38:34 +0000 Subject: [PATCH 06/32] chore(main): release 0.1.1 (#8) :robot: I have created a release *beep* *boop* --- ## [0.1.1](https://github.com/googleapis/java-batch/compare/v0.1.0...v0.1.1) (2022-06-23) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#7](https://github.com/googleapis/java-batch/issues/7)) ([0859548](https://github.com/googleapis/java-batch/commit/08595480c36317bf31af9e56272e580f56667cb5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index b4ee2a86785..52c80c62d9d 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.1.1-SNAPSHOT + 0.1.1 From abeae444b8606d9286a95c9eb1ebe193e72cdfc9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 23 Jun 2022 16:08:42 +0000 Subject: [PATCH 07/32] chore(main): release 0.1.2-SNAPSHOT (#9) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index 52c80c62d9d..3e65ee6b8ea 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.1.1 + 0.1.2-SNAPSHOT From 4c407a6a8acc08950bbe151f7d3a39c794ebce65 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 24 Jun 2022 16:58:20 +0200 Subject: [PATCH 08/32] chore(deps): update dependency com.google.cloud:google-cloud-batch to v0.1.1 (#10) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-batch](https://togithub.com/googleapis/java-batch) | `0.1.0` -> `0.1.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.1.1/compatibility-slim/0.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.1.1/confidence-slim/0.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-batch). --- batch/install-without-bom/pom.xml | 2 +- batch/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/batch/install-without-bom/pom.xml b/batch/install-without-bom/pom.xml index 28e34dacc78..f03b95040ba 100644 --- a/batch/install-without-bom/pom.xml +++ b/batch/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-batch - 0.1.0 + 0.1.1 diff --git a/batch/snippets/pom.xml b/batch/snippets/pom.xml index ccf907eb5a4..039296ac6fb 100644 --- a/batch/snippets/pom.xml +++ b/batch/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.1.0 + 0.1.1 From 0a99ac43aea6eb995cdb5667076c2a0ca1aecdef Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 1 Jul 2022 17:32:11 +0000 Subject: [PATCH 09/32] chore(main): release 0.2.0 (#11) :robot: I have created a release *beep* *boop* --- ## [0.2.0](https://github.com/googleapis/java-batch/compare/v0.1.1...v0.2.0) (2022-06-30) ### Features * add client library BUILD rules, API proto option, v1alpha service config file and service YAML file ([ca7e9fa](https://github.com/googleapis/java-batch/commit/ca7e9fa43e64d378edf2fd0917585ab33135fc81)) * Enable REST transport for most of Java and Go clients ([#6](https://github.com/googleapis/java-batch/issues/6)) ([ca7e9fa](https://github.com/googleapis/java-batch/commit/ca7e9fa43e64d378edf2fd0917585ab33135fc81)) ### Bug Fixes * update gapic-generator-java with mock service generation fixes ([#13](https://github.com/googleapis/java-batch/issues/13)) ([4ce5e88](https://github.com/googleapis/java-batch/commit/4ce5e884e0a9cc97affd6076846276f9c81ce78b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index 3e65ee6b8ea..b31f78e6f96 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.1.2-SNAPSHOT + 0.2.0 From d24e1bf78f001ce82ca7972c15d493d467bace17 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 1 Jul 2022 17:48:11 +0000 Subject: [PATCH 10/32] chore(main): release 0.2.1-SNAPSHOT (#15) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index b31f78e6f96..ac37ced2a9b 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.2.0 + 0.2.1-SNAPSHOT From a9d49753ea3327b63991e27eb015a53f45342b42 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 14 Jul 2022 14:02:26 +0000 Subject: [PATCH 11/32] chore(main): release 0.2.1 (#19) :robot: I have created a release *beep* *boop* --- ## [0.2.1](https://github.com/googleapis/java-batch/compare/v0.2.0...v0.2.1) (2022-07-13) ### Bug Fixes * enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-batch/issues/1485)) ([#18](https://github.com/googleapis/java-batch/issues/18)) ([9a8cd4b](https://github.com/googleapis/java-batch/commit/9a8cd4b17c67f8c93770399a822019f8a6a827ce)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index ac37ced2a9b..1383aa95c20 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.2.1-SNAPSHOT + 0.2.1 From f8dd33ab4b4598fe62f9dcfd4cc883dbcb170daa Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 19 Jul 2022 19:24:34 +0200 Subject: [PATCH 12/32] build(deps): update dependency org.apache.maven.plugins:maven-deploy-plugin to v3 (#23) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-deploy-plugin](https://maven.apache.org/plugins/) ([source](https://togithub.com/apache/maven-deploy-plugin)) | `2.8.2` -> `3.0.0` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-deploy-plugin/3.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-deploy-plugin/3.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-deploy-plugin/3.0.0/compatibility-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-deploy-plugin/3.0.0/confidence-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-batch). --- batch/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/pom.xml b/batch/pom.xml index 8465415cc23..38aecae35ee 100644 --- a/batch/pom.xml +++ b/batch/pom.xml @@ -38,7 +38,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.0.0 true From 4e8801486767a79936df08900e669a23efd79712 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 21:30:18 +0200 Subject: [PATCH 13/32] chore(deps): update dependency com.google.cloud:google-cloud-batch to v0.2.0 (#27) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-batch](https://togithub.com/googleapis/java-batch) | `0.1.1` -> `0.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.2.0/compatibility-slim/0.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.2.0/confidence-slim/0.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-batch ### [`v0.2.0`](https://togithub.com/googleapis/java-batch/blob/HEAD/CHANGELOG.md#​020-httpsgithubcomgoogleapisjava-batchcomparev011v020-2022-06-30) [Compare Source](https://togithub.com/googleapis/java-batch/compare/v0.1.1...v0.2.0) ##### Features - add client library BUILD rules, API proto option, v1alpha service config file and service YAML file ([ca7e9fa](https://togithub.com/googleapis/java-batch/commit/ca7e9fa43e64d378edf2fd0917585ab33135fc81)) - Enable REST transport for most of Java and Go clients ([#​6](https://togithub.com/googleapis/java-batch/issues/6)) ([ca7e9fa](https://togithub.com/googleapis/java-batch/commit/ca7e9fa43e64d378edf2fd0917585ab33135fc81)) ##### Bug Fixes - update gapic-generator-java with mock service generation fixes ([#​13](https://togithub.com/googleapis/java-batch/issues/13)) ([4ce5e88](https://togithub.com/googleapis/java-batch/commit/4ce5e884e0a9cc97affd6076846276f9c81ce78b))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-batch). --- batch/install-without-bom/pom.xml | 2 +- batch/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/batch/install-without-bom/pom.xml b/batch/install-without-bom/pom.xml index f03b95040ba..fd6484b5daf 100644 --- a/batch/install-without-bom/pom.xml +++ b/batch/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-batch - 0.1.1 + 0.2.0 diff --git a/batch/snippets/pom.xml b/batch/snippets/pom.xml index 039296ac6fb..418e3572771 100644 --- a/batch/snippets/pom.xml +++ b/batch/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.1.1 + 0.2.0 From 1501ca8e5e2bf11bec52fe6f9f3818dc3b795c99 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 9 Aug 2022 04:52:26 +0000 Subject: [PATCH 14/32] chore(main): release 0.2.2-SNAPSHOT (#20) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index 1383aa95c20..20a3247c46e 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.2.1 + 0.2.2-SNAPSHOT From 838ea028b5274e7f02c9c8c75015b036dac72dd2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 9 Aug 2022 04:58:31 +0000 Subject: [PATCH 15/32] chore(main): release 0.2.2 (#29) :robot: I have created a release *beep* *boop* --- ## [0.2.2](https://github.com/googleapis/java-batch/compare/v0.2.1...v0.2.2) (2022-08-09) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#25](https://github.com/googleapis/java-batch/issues/25)) ([74aada0](https://github.com/googleapis/java-batch/commit/74aada0cc988793580f912b4d385e5f7b035b755)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.1 ([#28](https://github.com/googleapis/java-batch/issues/28)) ([fd55721](https://github.com/googleapis/java-batch/commit/fd5572145d677fe92c58546e0ebd813576c8dd32)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index 20a3247c46e..5897b2a9e2c 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.2.2-SNAPSHOT + 0.2.2 From 7c40b8c05be862ffb9540d899f9ac2c22e9c9c49 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 9 Aug 2022 05:10:12 +0000 Subject: [PATCH 16/32] chore(main): release 0.2.3-SNAPSHOT (#30) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index 5897b2a9e2c..5b07b6b3008 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.2.2 + 0.2.3-SNAPSHOT From c99e810369bc155aaa2a7ddda552191b71e434ce Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 22:54:15 +0200 Subject: [PATCH 17/32] chore(deps): update dependency com.google.cloud:google-cloud-batch to v0.2.2 (#31) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-batch](https://togithub.com/googleapis/java-batch) | `0.2.0` -> `0.2.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.2.2/compatibility-slim/0.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.2.2/confidence-slim/0.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-batch). --- batch/install-without-bom/pom.xml | 2 +- batch/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/batch/install-without-bom/pom.xml b/batch/install-without-bom/pom.xml index fd6484b5daf..abbb9664712 100644 --- a/batch/install-without-bom/pom.xml +++ b/batch/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-batch - 0.2.0 + 0.2.2 diff --git a/batch/snippets/pom.xml b/batch/snippets/pom.xml index 418e3572771..4291d243284 100644 --- a/batch/snippets/pom.xml +++ b/batch/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.2.0 + 0.2.2 From a7639b221c6b37a787832a1c949e8fb43369e48a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 15 Sep 2022 14:28:24 +0000 Subject: [PATCH 18/32] chore(main): release 0.3.0 (#35) :robot: I have created a release *beep* *boop* --- ## [0.3.0](https://github.com/googleapis/java-batch/compare/v0.2.2...v0.3.0) (2022-09-15) ### Features * environment variables, disk interfaces ([4f26297](https://github.com/googleapis/java-batch/commit/4f26297dd9d91ad73daa26d4294fd6fabe6f0a48)) * environment variables, disk interfaces ([4f26297](https://github.com/googleapis/java-batch/commit/4f26297dd9d91ad73daa26d4294fd6fabe6f0a48)) ### Bug Fixes * Mark service_account_email as deprecated ([#36](https://github.com/googleapis/java-batch/issues/36)) ([176b6e6](https://github.com/googleapis/java-batch/commit/176b6e6ee8bdb3264a297673b87b5dee74717628)) ### Documentation * removing comment from a deprecated field ([176b6e6](https://github.com/googleapis/java-batch/commit/176b6e6ee8bdb3264a297673b87b5dee74717628)) ### Dependencies * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#38](https://github.com/googleapis/java-batch/issues/38)) ([7d5571a](https://github.com/googleapis/java-batch/commit/7d5571aeca1ae9406e38e6c13070e0c5d17b65ab)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#40](https://github.com/googleapis/java-batch/issues/40)) ([fcd0595](https://github.com/googleapis/java-batch/commit/fcd059540e8d5483d008ee86702525462a30d542)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index 5b07b6b3008..6c8b6578d63 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.2.3-SNAPSHOT + 0.3.0 From d39ff1abbebbad9feb065f5af4dffa2a0e366633 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 15 Sep 2022 14:38:18 +0000 Subject: [PATCH 19/32] chore(main): release 0.3.1-SNAPSHOT (#41) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index 6c8b6578d63..903369d4225 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.3.0 + 0.3.1-SNAPSHOT From 8269adf7bd877e807a6de0a827e8a0df3168f62e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 16:02:20 +0200 Subject: [PATCH 20/32] chore(deps): update dependency com.google.cloud:google-cloud-batch to v0.3.0 (#42) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-batch](https://togithub.com/googleapis/java-batch) | `0.2.2` -> `0.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.3.0/compatibility-slim/0.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.3.0/confidence-slim/0.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-batch). --- batch/install-without-bom/pom.xml | 2 +- batch/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/batch/install-without-bom/pom.xml b/batch/install-without-bom/pom.xml index abbb9664712..0b01a67700f 100644 --- a/batch/install-without-bom/pom.xml +++ b/batch/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-batch - 0.2.2 + 0.3.0 diff --git a/batch/snippets/pom.xml b/batch/snippets/pom.xml index 4291d243284..0d153732b0e 100644 --- a/batch/snippets/pom.xml +++ b/batch/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.2.2 + 0.3.0 From 26e34180a5a1c4afb7e8a2404938701fb3092342 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 20:02:22 +0000 Subject: [PATCH 21/32] chore(main): release 0.3.1 (#68) :robot: I have created a release *beep* *boop* --- ## [0.3.1](https://github.com/googleapis/java-batch/compare/v0.3.0...v0.3.1) (2022-09-28) ### Dependencies * Update dependency cachetools to v5 ([#62](https://github.com/googleapis/java-batch/issues/62)) ([10f1cc8](https://github.com/googleapis/java-batch/commit/10f1cc8cbcf2d5f443d82363d1c3604e1151f441)) * Update dependency certifi to v2022.9.24 ([#46](https://github.com/googleapis/java-batch/issues/46)) ([16fd4f4](https://github.com/googleapis/java-batch/commit/16fd4f4a658e290cce519c3d72350e3dab86eb62)) * Update dependency charset-normalizer to v2.1.1 ([#50](https://github.com/googleapis/java-batch/issues/50)) ([75906e4](https://github.com/googleapis/java-batch/commit/75906e488c0882d853e1fe63315e96c80cb376d7)) * Update dependency click to v8.1.3 ([#51](https://github.com/googleapis/java-batch/issues/51)) ([3bc6542](https://github.com/googleapis/java-batch/commit/3bc6542e1a7abbcf4f343dc59f02a3aac72e723e)) * Update dependency gcp-releasetool to v1.8.8 ([#47](https://github.com/googleapis/java-batch/issues/47)) ([2175cf4](https://github.com/googleapis/java-batch/commit/2175cf4ffca873cea9da59128489067a9e41bf28)) * Update dependency google-api-core to v2.10.1 ([#52](https://github.com/googleapis/java-batch/issues/52)) ([1684933](https://github.com/googleapis/java-batch/commit/168493370fd14c9eb2180290ff9103666cecd823)) * Update dependency google-auth to v2.12.0 ([#53](https://github.com/googleapis/java-batch/issues/53)) ([ead1241](https://github.com/googleapis/java-batch/commit/ead12418259ef0176de25a00c252d1c0bf41888e)) * Update dependency google-cloud-core to v2.3.2 ([#48](https://github.com/googleapis/java-batch/issues/48)) ([716b8d8](https://github.com/googleapis/java-batch/commit/716b8d8ebe91eb8adab03f1771092c68ffd75e61)) * Update dependency google-cloud-storage to v2.5.0 ([#54](https://github.com/googleapis/java-batch/issues/54)) ([b0e2745](https://github.com/googleapis/java-batch/commit/b0e2745af18d096045c6ebeca6bd5c5ffe668e09)) * Update dependency google-crc32c to v1.5.0 ([#55](https://github.com/googleapis/java-batch/issues/55)) ([a20c8ab](https://github.com/googleapis/java-batch/commit/a20c8ab1f645b4f33322cf6f45a020b049a2c9db)) * Update dependency googleapis-common-protos to v1.56.4 ([#49](https://github.com/googleapis/java-batch/issues/49)) ([62c0202](https://github.com/googleapis/java-batch/commit/62c0202829949b10e2e4ff3add4ccd6f2fafbb3a)) * Update dependency importlib-metadata to v4.12.0 ([#63](https://github.com/googleapis/java-batch/issues/63)) ([3a88cb3](https://github.com/googleapis/java-batch/commit/3a88cb3b120e3016d50444e76f6f429b530c5269)) * Update dependency jeepney to v0.8.0 ([#64](https://github.com/googleapis/java-batch/issues/64)) ([a4c5676](https://github.com/googleapis/java-batch/commit/a4c56762d9a420324b25ff39656f7f0395b5f16a)) * Update dependency jinja2 to v3.1.2 ([#65](https://github.com/googleapis/java-batch/issues/65)) ([3e58704](https://github.com/googleapis/java-batch/commit/3e5870427d17335fd3c09718e6f4b7f30a0852cb)) * Update dependency keyring to v23.9.3 ([#66](https://github.com/googleapis/java-batch/issues/66)) ([3630bdc](https://github.com/googleapis/java-batch/commit/3630bdc13d4f54c3119a502d9b41015842952fb7)) * Update dependency markupsafe to v2.1.1 ([#56](https://github.com/googleapis/java-batch/issues/56)) ([58cf14a](https://github.com/googleapis/java-batch/commit/58cf14a781e701485d9a6725ea007684c7926563)) * Update dependency protobuf to v3.20.2 ([#57](https://github.com/googleapis/java-batch/issues/57)) ([ee2f20d](https://github.com/googleapis/java-batch/commit/ee2f20d01967b4ab6cf5e02f47c94395bac480b8)) * Update dependency protobuf to v4 ([#67](https://github.com/googleapis/java-batch/issues/67)) ([74ab05f](https://github.com/googleapis/java-batch/commit/74ab05f2bc8932ee67c4cd065008ce669a3c4a05)) * Update dependency pyjwt to v2.5.0 ([#58](https://github.com/googleapis/java-batch/issues/58)) ([54bc183](https://github.com/googleapis/java-batch/commit/54bc18356ce1edd5ee1efece4e86164242f1d4cd)) * Update dependency requests to v2.28.1 ([#59](https://github.com/googleapis/java-batch/issues/59)) ([316c948](https://github.com/googleapis/java-batch/commit/316c948b9e744348caf57ca50ecd2f4715796026)) * Update dependency typing-extensions to v4.3.0 ([#60](https://github.com/googleapis/java-batch/issues/60)) ([d0cc0ec](https://github.com/googleapis/java-batch/commit/d0cc0ec46212296513feb6f75e623a0943248793)) * Update dependency zipp to v3.8.1 ([#61](https://github.com/googleapis/java-batch/issues/61)) ([c9443db](https://github.com/googleapis/java-batch/commit/c9443db4847f37671d6451f87d6912f20b36cc53)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index 903369d4225..529ff829de3 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.3.1-SNAPSHOT + 0.3.1 From 10cfa60ffda313ca881c73154a6e8ffc01c7a54b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 21:40:18 +0000 Subject: [PATCH 22/32] chore(main): release 0.3.2-SNAPSHOT (#69) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index 529ff829de3..e7ba93ca9ea 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.3.1 + 0.3.2-SNAPSHOT From 756e85179ed99681f24c9cdaa053bf2603a26671 Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Thu, 29 Sep 2022 10:01:25 +0530 Subject: [PATCH 23/32] docs(samples): added basic samples and tests (#43) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs(samples): added basic samples and tests * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * minor refactoring * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * updated comments Co-authored-by: Owl Bot --- .../java/CreateWithContainerNoMounting.java | 140 +++++++++++++++++ .../main/java/CreateWithScriptNoMounting.java | 141 ++++++++++++++++++ batch/snippets/src/main/java/DeleteJob.java | 57 +++++++ batch/snippets/src/main/java/GetJob.java | 58 +++++++ batch/snippets/src/main/java/ListJobs.java | 52 +++++++ .../snippets/src/test/java/BatchBasicIT.java | 119 +++++++++++++++ 6 files changed, 567 insertions(+) create mode 100644 batch/snippets/src/main/java/CreateWithContainerNoMounting.java create mode 100644 batch/snippets/src/main/java/CreateWithScriptNoMounting.java create mode 100644 batch/snippets/src/main/java/DeleteJob.java create mode 100644 batch/snippets/src/main/java/GetJob.java create mode 100644 batch/snippets/src/main/java/ListJobs.java create mode 100644 batch/snippets/src/test/java/BatchBasicIT.java diff --git a/batch/snippets/src/main/java/CreateWithContainerNoMounting.java b/batch/snippets/src/main/java/CreateWithContainerNoMounting.java new file mode 100644 index 00000000000..71c6f0b8cf5 --- /dev/null +++ b/batch/snippets/src/main/java/CreateWithContainerNoMounting.java @@ -0,0 +1,140 @@ +// 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. + +// [START batch_create_container_job] + +import com.google.cloud.batch.v1.AllocationPolicy; +import com.google.cloud.batch.v1.AllocationPolicy.InstancePolicy; +import com.google.cloud.batch.v1.AllocationPolicy.InstancePolicyOrTemplate; +import com.google.cloud.batch.v1.BatchServiceClient; +import com.google.cloud.batch.v1.ComputeResource; +import com.google.cloud.batch.v1.CreateJobRequest; +import com.google.cloud.batch.v1.Job; +import com.google.cloud.batch.v1.LogsPolicy; +import com.google.cloud.batch.v1.LogsPolicy.Destination; +import com.google.cloud.batch.v1.Runnable; +import com.google.cloud.batch.v1.Runnable.Container; +import com.google.cloud.batch.v1.TaskGroup; +import com.google.cloud.batch.v1.TaskSpec; +import com.google.protobuf.Duration; +import java.io.IOException; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; + +public class CreateWithContainerNoMounting { + + public static void main(String[] args) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + // TODO(developer): Replace these variables before running the sample. + // Project ID or project number of the Cloud project you want to use. + String projectId = "YOUR_PROJECT_ID"; + + // Name of the region you want to use to run the job. Regions that are + // available for Batch are listed on: https://cloud.google.com/batch/docs/get-started#locations + String region = "europe-central2"; + + // The name of the job that will be created. + // It needs to be unique for each project and region pair. + String jobName = "JOB_NAME"; + + createContainerJob(projectId, region, jobName); + } + + // This method shows how to create a sample Batch Job that will run a simple command inside a + // container on Cloud Compute instances. + public static void createContainerJob(String projectId, String region, String jobName) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + // Initialize client that will be used to send requests. This client only needs to be created + // once, and can be reused for multiple requests. After completing all of your requests, call + // the `batchServiceClient.close()` method on the client to safely + // clean up any remaining background resources. + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + + // Define what will be done as part of the job. + Runnable runnable = + Runnable.newBuilder() + .setContainer( + Container.newBuilder() + .setImageUri("gcr.io/google-containers/busybox") + .setEntrypoint("/bin/sh") + .addCommands("-c") + .addCommands( + "echo Hello world! This is task ${BATCH_TASK_INDEX}. " + + "This job has a total of ${BATCH_TASK_COUNT} tasks.") + .build()) + .build(); + + // We can specify what resources are requested by each task. + ComputeResource computeResource = + ComputeResource.newBuilder() + // In milliseconds per cpu-second. This means the task requires 2 whole CPUs. + .setCpuMilli(2000) + // In MiB. + .setMemoryMib(16) + .build(); + + TaskSpec task = + TaskSpec.newBuilder() + // Jobs can be divided into tasks. In this case, we have only one task. + .addRunnables(runnable) + .setComputeResource(computeResource) + .setMaxRetryCount(2) + .setMaxRunDuration(Duration.newBuilder().setSeconds(3600).build()) + .build(); + + // Tasks are grouped inside a job using TaskGroups. + TaskGroup taskGroup = TaskGroup.newBuilder().setTaskCount(4).setTaskSpec(task).build(); + + // Policies are used to define on what kind of virtual machines the tasks will run on. + // In this case, we tell the system to use "e2-standard-4" machine type. + // Read more about machine types here: https://cloud.google.com/compute/docs/machine-types + InstancePolicy instancePolicy = + InstancePolicy.newBuilder().setMachineType("e2-standard-4").build(); + + AllocationPolicy allocationPolicy = + AllocationPolicy.newBuilder() + .addInstances(InstancePolicyOrTemplate.newBuilder().setPolicy(instancePolicy).build()) + .build(); + + Job job = + Job.newBuilder() + .addTaskGroups(taskGroup) + .setAllocationPolicy(allocationPolicy) + .putLabels("env", "testing") + .putLabels("type", "container") + // We use Cloud Logging as it's an out of the box available option. + .setLogsPolicy( + LogsPolicy.newBuilder().setDestination(Destination.CLOUD_LOGGING).build()) + .build(); + + CreateJobRequest createJobRequest = + CreateJobRequest.newBuilder() + // The job's parent is the region in which the job will run. + .setParent(String.format("projects/%s/locations/%s", projectId, region)) + .setJob(job) + .setJobId(jobName) + .build(); + + Job result = + batchServiceClient + .createJobCallable() + .futureCall(createJobRequest) + .get(3, TimeUnit.MINUTES); + + System.out.printf("Successfully created the job: %s", result.getName()); + } + } +} +// [END batch_create_container_job] diff --git a/batch/snippets/src/main/java/CreateWithScriptNoMounting.java b/batch/snippets/src/main/java/CreateWithScriptNoMounting.java new file mode 100644 index 00000000000..36ed06c9a4b --- /dev/null +++ b/batch/snippets/src/main/java/CreateWithScriptNoMounting.java @@ -0,0 +1,141 @@ +// 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. + +// [START batch_create_script_job] + +import com.google.cloud.batch.v1.AllocationPolicy; +import com.google.cloud.batch.v1.AllocationPolicy.InstancePolicy; +import com.google.cloud.batch.v1.AllocationPolicy.InstancePolicyOrTemplate; +import com.google.cloud.batch.v1.BatchServiceClient; +import com.google.cloud.batch.v1.ComputeResource; +import com.google.cloud.batch.v1.CreateJobRequest; +import com.google.cloud.batch.v1.Job; +import com.google.cloud.batch.v1.LogsPolicy; +import com.google.cloud.batch.v1.LogsPolicy.Destination; +import com.google.cloud.batch.v1.Runnable; +import com.google.cloud.batch.v1.Runnable.Script; +import com.google.cloud.batch.v1.TaskGroup; +import com.google.cloud.batch.v1.TaskSpec; +import com.google.protobuf.Duration; +import java.io.IOException; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; + +public class CreateWithScriptNoMounting { + + public static void main(String[] args) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + // TODO(developer): Replace these variables before running the sample. + // Project ID or project number of the Cloud project you want to use. + String projectId = "YOUR_PROJECT_ID"; + + // Name of the region you want to use to run the job. Regions that are + // available for Batch are listed on: https://cloud.google.com/batch/docs/get-started#locations + String region = "europe-central2"; + + // The name of the job that will be created. + // It needs to be unique for each project and region pair. + String jobName = "JOB_NAME"; + + createScriptJob(projectId, region, jobName); + } + + // This method shows how to create a sample Batch Job that will run + // a simple command on Cloud Compute instances. + public static void createScriptJob(String projectId, String region, String jobName) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + // Initialize client that will be used to send requests. This client only needs to be created + // once, and can be reused for multiple requests. After completing all of your requests, call + // the `batchServiceClient.close()` method on the client to safely + // clean up any remaining background resources. + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + + // Define what will be done as part of the job. + Runnable runnable = + Runnable.newBuilder() + .setScript( + Script.newBuilder() + .setText( + "echo Hello world! This is task ${BATCH_TASK_INDEX}. " + + "This job has a total of ${BATCH_TASK_COUNT} tasks.") + // You can also run a script from a file. Just remember, that needs to be a + // script that's already on the VM that will be running the job. + // Using setText() and setPath() is mutually exclusive. + // .setPath("/tmp/test.sh") + .build()) + .build(); + + // We can specify what resources are requested by each task. + ComputeResource computeResource = + ComputeResource.newBuilder() + // In milliseconds per cpu-second. This means the task requires 2 whole CPUs. + .setCpuMilli(2000) + // In MiB. + .setMemoryMib(16) + .build(); + + TaskSpec task = + TaskSpec.newBuilder() + // Jobs can be divided into tasks. In this case, we have only one task. + .addRunnables(runnable) + .setComputeResource(computeResource) + .setMaxRetryCount(2) + .setMaxRunDuration(Duration.newBuilder().setSeconds(3600).build()) + .build(); + + // Tasks are grouped inside a job using TaskGroups. + TaskGroup taskGroup = TaskGroup.newBuilder().setTaskCount(4).setTaskSpec(task).build(); + + // Policies are used to define on what kind of virtual machines the tasks will run on. + // In this case, we tell the system to use "e2-standard-4" machine type. + // Read more about machine types here: https://cloud.google.com/compute/docs/machine-types + InstancePolicy instancePolicy = + InstancePolicy.newBuilder().setMachineType("e2-standard-4").build(); + + AllocationPolicy allocationPolicy = + AllocationPolicy.newBuilder() + .addInstances(InstancePolicyOrTemplate.newBuilder().setPolicy(instancePolicy).build()) + .build(); + + Job job = + Job.newBuilder() + .addTaskGroups(taskGroup) + .setAllocationPolicy(allocationPolicy) + .putLabels("env", "testing") + .putLabels("type", "script") + // We use Cloud Logging as it's an out of the box available option. + .setLogsPolicy( + LogsPolicy.newBuilder().setDestination(Destination.CLOUD_LOGGING).build()) + .build(); + + CreateJobRequest createJobRequest = + CreateJobRequest.newBuilder() + // The job's parent is the region in which the job will run. + .setParent(String.format("projects/%s/locations/%s", projectId, region)) + .setJob(job) + .setJobId(jobName) + .build(); + + Job result = + batchServiceClient + .createJobCallable() + .futureCall(createJobRequest) + .get(3, TimeUnit.MINUTES); + + System.out.printf("Successfully created the job: %s", result.getName()); + } + } +} +// [END batch_create_script_job] diff --git a/batch/snippets/src/main/java/DeleteJob.java b/batch/snippets/src/main/java/DeleteJob.java new file mode 100644 index 00000000000..a424eca4b6f --- /dev/null +++ b/batch/snippets/src/main/java/DeleteJob.java @@ -0,0 +1,57 @@ +// 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. + +// [START batch_delete_job] + +import com.google.cloud.batch.v1.BatchServiceClient; +import java.io.IOException; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; + +public class DeleteJob { + + public static void main(String[] args) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + // TODO(developer): Replace these variables before running the sample. + // Project ID or project number of the Cloud project you want to use. + String projectId = "YOUR_PROJECT_ID"; + + // Name of the region hosts the job. + String region = "europe-central2"; + + // The name of the job that you want to delete. + String jobName = "JOB_NAME"; + + deleteJob(projectId, region, jobName); + } + + // Triggers the deletion of a Job. + public static void deleteJob(String projectId, String region, String jobName) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + // Initialize client that will be used to send requests. This client only needs to be created + // once, and can be reused for multiple requests. After completing all of your requests, call + // the `batchServiceClient.close()` method on the client to safely + // clean up any remaining background resources. + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + + // Construct the parent path of the job. + String name = String.format("projects/%s/locations/%s/jobs/%s", projectId, region, jobName); + + batchServiceClient.deleteJobAsync(name).get(3, TimeUnit.MINUTES); + System.out.printf("Delete the job: %s", jobName); + } + } +} +// [END batch_delete_job] diff --git a/batch/snippets/src/main/java/GetJob.java b/batch/snippets/src/main/java/GetJob.java new file mode 100644 index 00000000000..c7637f70bb9 --- /dev/null +++ b/batch/snippets/src/main/java/GetJob.java @@ -0,0 +1,58 @@ +// 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. + +// [START batch_get_job] + +import com.google.cloud.batch.v1.BatchServiceClient; +import com.google.cloud.batch.v1.Job; +import com.google.cloud.batch.v1.JobName; +import java.io.IOException; + +public class GetJob { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + // Project ID or project number of the Cloud project you want to use. + String projectId = "YOUR_PROJECT_ID"; + + // Name of the region hosts the job. + String region = "europe-central2"; + + // The name of the job you want to retrieve information about. + String jobName = "JOB_NAME"; + + getJob(projectId, region, jobName); + } + + // Retrieve information about a Batch Job. + public static void getJob(String projectId, String region, String jobName) throws IOException { + // Initialize client that will be used to send requests. This client only needs to be created + // once, and can be reused for multiple requests. After completing all of your requests, call + // the `batchServiceClient.close()` method on the client to safely + // clean up any remaining background resources. + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + + Job job = + batchServiceClient.getJob( + JobName.newBuilder() + .setProject(projectId) + .setLocation(region) + .setJob(jobName) + .build()); + + System.out.printf("Retrieved the job: %s ", job.getName()); + } + } +} +// [END batch_get_job] diff --git a/batch/snippets/src/main/java/ListJobs.java b/batch/snippets/src/main/java/ListJobs.java new file mode 100644 index 00000000000..e58bc80d5db --- /dev/null +++ b/batch/snippets/src/main/java/ListJobs.java @@ -0,0 +1,52 @@ +// 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. + +// [START batch_list_jobs] + +import com.google.cloud.batch.v1.BatchServiceClient; +import com.google.cloud.batch.v1.Job; +import java.io.IOException; + +public class ListJobs { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + // Project ID or project number of the Cloud project you want to use. + String projectId = "YOUR_PROJECT_ID"; + + // Name of the region hosting the jobs. + String region = "europe-central2"; + + listJobs(projectId, region); + } + + // Get a list of all jobs defined in given region. + public static void listJobs(String projectId, String region) throws IOException { + // Initialize client that will be used to send requests. This client only needs to be created + // once, and can be reused for multiple requests. After completing all of your requests, call + // the `batchServiceClient.close()` method on the client to safely + // clean up any remaining background resources. + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + + // Construct the parent path of the job. + String parent = String.format("projects/%s/locations/%s", projectId, region); + + for (Job job : batchServiceClient.listJobs(parent).iterateAll()) { + System.out.println(job.getName()); + } + System.out.println("Listed all batch jobs."); + } + } +} +// [END batch_list_jobs] diff --git a/batch/snippets/src/test/java/BatchBasicIT.java b/batch/snippets/src/test/java/BatchBasicIT.java new file mode 100644 index 00000000000..98c2a04bf4f --- /dev/null +++ b/batch/snippets/src/test/java/BatchBasicIT.java @@ -0,0 +1,119 @@ +// 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. + +import static com.google.common.truth.Truth.assertThat; +import static com.google.common.truth.Truth.assertWithMessage; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.PrintStream; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +@RunWith(JUnit4.class) +public class BatchBasicIT { + + private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); + private static final String REGION = "europe-north1"; + private static String SCRIPT_JOB_NAME; + private static String CONTAINER_JOB_NAME; + + private ByteArrayOutputStream stdOut; + + // Check if the required environment variables are set. + public static void requireEnvVar(String envVarName) { + assertWithMessage(String.format("Missing environment variable '%s' ", envVarName)) + .that(System.getenv(envVarName)) + .isNotEmpty(); + } + + @BeforeClass + public static void setUp() + throws IOException, InterruptedException, ExecutionException, TimeoutException { + final PrintStream out = System.out; + ByteArrayOutputStream stdOut = new ByteArrayOutputStream(); + System.setOut(new PrintStream(stdOut)); + requireEnvVar("GOOGLE_APPLICATION_CREDENTIALS"); + requireEnvVar("GOOGLE_CLOUD_PROJECT"); + + String uuid = String.valueOf(UUID.randomUUID()); + SCRIPT_JOB_NAME = "test-job-script-" + uuid; + CONTAINER_JOB_NAME = "test-job-container-" + uuid; + + CreateWithContainerNoMounting.createContainerJob(PROJECT_ID, REGION, CONTAINER_JOB_NAME); + assertThat(stdOut.toString()) + .contains( + "Successfully created the job: " + + String.format( + "projects/%s/locations/%s/jobs/%s", PROJECT_ID, REGION, CONTAINER_JOB_NAME)); + CreateWithScriptNoMounting.createScriptJob(PROJECT_ID, REGION, SCRIPT_JOB_NAME); + assertThat(stdOut.toString()) + .contains( + "Successfully created the job: " + + String.format( + "projects/%s/locations/%s/jobs/%s", PROJECT_ID, REGION, SCRIPT_JOB_NAME)); + TimeUnit.SECONDS.sleep(10); + + stdOut.close(); + System.setOut(out); + } + + @AfterClass + public static void cleanup() + throws IOException, InterruptedException, ExecutionException, TimeoutException { + final PrintStream out = System.out; + ByteArrayOutputStream stdOut = new ByteArrayOutputStream(); + System.setOut(new PrintStream(stdOut)); + + DeleteJob.deleteJob(PROJECT_ID, REGION, CONTAINER_JOB_NAME); + DeleteJob.deleteJob(PROJECT_ID, REGION, SCRIPT_JOB_NAME); + + stdOut.close(); + System.setOut(out); + } + + @Before + public void beforeEach() { + stdOut = new ByteArrayOutputStream(); + System.setOut(new PrintStream(stdOut)); + } + + @After + public void afterEach() { + stdOut = null; + System.setOut(null); + } + + @Test + public void testGetJob() throws IOException { + GetJob.getJob(PROJECT_ID, REGION, CONTAINER_JOB_NAME); + assertThat(stdOut.toString()).contains("Retrieved the job"); + } + + @Test + public void testListJobs() throws IOException { + ListJobs.listJobs(PROJECT_ID, REGION); + assertThat(stdOut.toString()).contains(CONTAINER_JOB_NAME); + assertThat(stdOut.toString()).contains(SCRIPT_JOB_NAME); + } +} From ea8dbff239392cc373b16170e8e8b0a8aee10d28 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Sep 2022 23:56:59 +0200 Subject: [PATCH 24/32] chore(deps): update dependency com.google.cloud:google-cloud-batch to v0.3.1 (#70) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:google-cloud-batch to v0.3.1 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- batch/install-without-bom/pom.xml | 2 +- batch/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/batch/install-without-bom/pom.xml b/batch/install-without-bom/pom.xml index 0b01a67700f..6ac8c4fb4eb 100644 --- a/batch/install-without-bom/pom.xml +++ b/batch/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-batch - 0.3.0 + 0.3.1 diff --git a/batch/snippets/pom.xml b/batch/snippets/pom.xml index 0d153732b0e..6af135f783c 100644 --- a/batch/snippets/pom.xml +++ b/batch/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.3.0 + 0.3.1 From b9e0351a7eba43880085fe2ce077f78649aa21e1 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 4 Oct 2022 20:04:15 +0000 Subject: [PATCH 25/32] chore(main): release 0.3.2 (#71) :robot: I have created a release *beep* *boop* --- ## [0.3.2](https://togithub.com/googleapis/java-batch/compare/v0.3.1...v0.3.2) (2022-10-03) ### Documentation * **samples:** Added basic samples and tests ([#43](https://togithub.com/googleapis/java-batch/issues/43)) ([62bdc9a](https://togithub.com/googleapis/java-batch/commit/62bdc9a31d657818110b9d2f4560ee391fd27942)) ### Dependencies * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#77](https://togithub.com/googleapis/java-batch/issues/77)) ([bf0394e](https://togithub.com/googleapis/java-batch/commit/bf0394e4a45eaf3a966f7840a69afe0d44faad0a)) * Update dependency google-resumable-media to v2.4.0 ([#74](https://togithub.com/googleapis/java-batch/issues/74)) ([b05cbba](https://togithub.com/googleapis/java-batch/commit/b05cbbaa3b28016d0d5f90f2b18d358f2d3bb535)) * Update dependency protobuf to v3.20.3 ([#75](https://togithub.com/googleapis/java-batch/issues/75)) ([9d639bc](https://togithub.com/googleapis/java-batch/commit/9d639bc48ecfe9bc278e56574207e9745dc8eea5)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index e7ba93ca9ea..f63995b2594 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.3.2-SNAPSHOT + 0.3.2 From 2d76b01899a48df1aff8edca6dfd488b89b5734e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 4 Oct 2022 20:12:13 +0000 Subject: [PATCH 26/32] chore(main): release 0.3.3-SNAPSHOT (#78) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index f63995b2594..97093f48693 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.3.2 + 0.3.3-SNAPSHOT From e263407138ef6524ac90df9d75b369905b0835e8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Oct 2022 03:22:29 +0200 Subject: [PATCH 27/32] chore(deps): update dependency com.google.cloud:google-cloud-batch to v0.3.2 (#80) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-batch](https://togithub.com/googleapis/java-batch) | `0.3.1` -> `0.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.3.2/compatibility-slim/0.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-batch/0.3.2/confidence-slim/0.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-batch). --- batch/install-without-bom/pom.xml | 2 +- batch/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/batch/install-without-bom/pom.xml b/batch/install-without-bom/pom.xml index 6ac8c4fb4eb..61e689615a9 100644 --- a/batch/install-without-bom/pom.xml +++ b/batch/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-batch - 0.3.1 + 0.3.2 diff --git a/batch/snippets/pom.xml b/batch/snippets/pom.xml index 6af135f783c..de28884c4a5 100644 --- a/batch/snippets/pom.xml +++ b/batch/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.3.1 + 0.3.2 From 1cab0647e36b2029f511297e89a195dbdc33982d Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Wed, 26 Oct 2022 17:47:06 +0530 Subject: [PATCH 28/32] updated pom to include product prefix --- batch/install-without-bom/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/batch/install-without-bom/pom.xml b/batch/install-without-bom/pom.xml index 61e689615a9..7c74aa23a06 100644 --- a/batch/install-without-bom/pom.xml +++ b/batch/install-without-bom/pom.xml @@ -25,13 +25,13 @@ - + com.google.cloud google-cloud-batch 0.3.2 - + junit From 6c8c13bafb87923789d76fa1ded4bce9cdd07702 Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Wed, 26 Oct 2022 18:07:15 +0530 Subject: [PATCH 29/32] corrected the library release version --- batch/snapshot/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml index 97093f48693..f63995b2594 100644 --- a/batch/snapshot/pom.xml +++ b/batch/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-batch - 0.3.3-SNAPSHOT + 0.3.2 From 6ceae3d00c6fb3750d2d0112ad3c62356249eaa6 Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Wed, 26 Oct 2022 18:25:26 +0530 Subject: [PATCH 30/32] increased timeout for snippets --- batch/snippets/src/main/java/CreateWithContainerNoMounting.java | 2 +- batch/snippets/src/main/java/CreateWithScriptNoMounting.java | 2 +- batch/snippets/src/main/java/DeleteJob.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/batch/snippets/src/main/java/CreateWithContainerNoMounting.java b/batch/snippets/src/main/java/CreateWithContainerNoMounting.java index 71c6f0b8cf5..0947544c47d 100644 --- a/batch/snippets/src/main/java/CreateWithContainerNoMounting.java +++ b/batch/snippets/src/main/java/CreateWithContainerNoMounting.java @@ -131,7 +131,7 @@ public static void createContainerJob(String projectId, String region, String jo batchServiceClient .createJobCallable() .futureCall(createJobRequest) - .get(3, TimeUnit.MINUTES); + .get(5, TimeUnit.MINUTES); System.out.printf("Successfully created the job: %s", result.getName()); } diff --git a/batch/snippets/src/main/java/CreateWithScriptNoMounting.java b/batch/snippets/src/main/java/CreateWithScriptNoMounting.java index 36ed06c9a4b..70c86813302 100644 --- a/batch/snippets/src/main/java/CreateWithScriptNoMounting.java +++ b/batch/snippets/src/main/java/CreateWithScriptNoMounting.java @@ -132,7 +132,7 @@ public static void createScriptJob(String projectId, String region, String jobNa batchServiceClient .createJobCallable() .futureCall(createJobRequest) - .get(3, TimeUnit.MINUTES); + .get(5, TimeUnit.MINUTES); System.out.printf("Successfully created the job: %s", result.getName()); } diff --git a/batch/snippets/src/main/java/DeleteJob.java b/batch/snippets/src/main/java/DeleteJob.java index a424eca4b6f..d9f1a809668 100644 --- a/batch/snippets/src/main/java/DeleteJob.java +++ b/batch/snippets/src/main/java/DeleteJob.java @@ -49,7 +49,7 @@ public static void deleteJob(String projectId, String region, String jobName) // Construct the parent path of the job. String name = String.format("projects/%s/locations/%s/jobs/%s", projectId, region, jobName); - batchServiceClient.deleteJobAsync(name).get(3, TimeUnit.MINUTES); + batchServiceClient.deleteJobAsync(name).get(5, TimeUnit.MINUTES); System.out.printf("Delete the job: %s", jobName); } } From 364b23df348fd380ebb2aedf2c3ce37620c6d144 Mon Sep 17 00:00:00 2001 From: SitaLakshmi Date: Thu, 27 Oct 2022 00:08:08 +0530 Subject: [PATCH 31/32] restructured and removed non-essential files --- batch/install-without-bom/pom.xml | 84 ------------------- batch/pom.xml | 61 ++++++-------- batch/snapshot/pom.xml | 83 ------------------ batch/snippets/pom.xml | 47 ----------- .../java/CreateWithContainerNoMounting.java | 0 .../main/java/CreateWithScriptNoMounting.java | 0 .../src/main/java/DeleteJob.java | 0 .../{snippets => }/src/main/java/GetJob.java | 0 .../src/main/java/ListJobs.java | 0 .../src/test/java/BatchBasicIT.java | 0 10 files changed, 27 insertions(+), 248 deletions(-) delete mode 100644 batch/install-without-bom/pom.xml delete mode 100644 batch/snapshot/pom.xml delete mode 100644 batch/snippets/pom.xml rename batch/{snippets => }/src/main/java/CreateWithContainerNoMounting.java (100%) rename batch/{snippets => }/src/main/java/CreateWithScriptNoMounting.java (100%) rename batch/{snippets => }/src/main/java/DeleteJob.java (100%) rename batch/{snippets => }/src/main/java/GetJob.java (100%) rename batch/{snippets => }/src/main/java/ListJobs.java (100%) rename batch/{snippets => }/src/test/java/BatchBasicIT.java (100%) diff --git a/batch/install-without-bom/pom.xml b/batch/install-without-bom/pom.xml deleted file mode 100644 index 7c74aa23a06..00000000000 --- a/batch/install-without-bom/pom.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - 4.0.0 - com.google.cloud - -install-without-bom - jar - Google Google Cloud Batch Install Without Bom - https://github.com/googleapis/java-batch - - - - com.google.cloud.samples - shared-configuration - 1.2.0 - - - - 1.8 - 1.8 - UTF-8 - - - - - - - com.google.cloud - google-cloud-batch - 0.3.2 - - - - - junit - junit - 4.13.2 - test - - - com.google.truth - truth - 1.1.3 - test - - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 3.3.0 - - - add-snippets-source - - add-source - - - - ../snippets/src/main/java - - - - - add-snippets-tests - - add-test-source - - - - ../snippets/src/test/java - - - - - - - - diff --git a/batch/pom.xml b/batch/pom.xml index 38aecae35ee..dafd04a2bd9 100644 --- a/batch/pom.xml +++ b/batch/pom.xml @@ -1,15 +1,13 @@ - + 4.0.0 com.google.cloud - google-cloud--samples - 0.0.1-SNAPSHOT - pom - Google Google Cloud Batch Samples Parent + -snippets + jar + Google Google Cloud Batch Snippets https://github.com/googleapis/java-batch - - Java idiomatic client for Google Cloud Platform services. - + + com.google.cloud + google-cloud-batch + 0.3.2 + - - - - org.apache.maven.plugins - maven-deploy-plugin - 3.0.0 - - true - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - - true - - - - - + + junit + junit + 4.13.2 + test + + + com.google.truth + truth + 1.1.3 + test + + + diff --git a/batch/snapshot/pom.xml b/batch/snapshot/pom.xml deleted file mode 100644 index f63995b2594..00000000000 --- a/batch/snapshot/pom.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - 4.0.0 - com.google.cloud - -snapshot - jar - Google Google Cloud Batch Snapshot Samples - https://github.com/googleapis/java-batch - - - - com.google.cloud.samples - shared-configuration - 1.2.0 - - - - 1.8 - 1.8 - UTF-8 - - - - - - com.google.cloud - google-cloud-batch - 0.3.2 - - - - - junit - junit - 4.13.2 - test - - - com.google.truth - truth - 1.1.3 - test - - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 3.3.0 - - - add-snippets-source - - add-source - - - - ../snippets/src/main/java - - - - - add-snippets-tests - - add-test-source - - - - ../snippets/src/test/java - - - - - - - - diff --git a/batch/snippets/pom.xml b/batch/snippets/pom.xml deleted file mode 100644 index de28884c4a5..00000000000 --- a/batch/snippets/pom.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - 4.0.0 - com.google.cloud - -snippets - jar - Google Google Cloud Batch Snippets - https://github.com/googleapis/java-batch - - - - com.google.cloud.samples - shared-configuration - 1.2.0 - - - - 1.8 - 1.8 - UTF-8 - - - - - - com.google.cloud - google-cloud-batch - 0.3.2 - - - - junit - junit - 4.13.2 - test - - - com.google.truth - truth - 1.1.3 - test - - - diff --git a/batch/snippets/src/main/java/CreateWithContainerNoMounting.java b/batch/src/main/java/CreateWithContainerNoMounting.java similarity index 100% rename from batch/snippets/src/main/java/CreateWithContainerNoMounting.java rename to batch/src/main/java/CreateWithContainerNoMounting.java diff --git a/batch/snippets/src/main/java/CreateWithScriptNoMounting.java b/batch/src/main/java/CreateWithScriptNoMounting.java similarity index 100% rename from batch/snippets/src/main/java/CreateWithScriptNoMounting.java rename to batch/src/main/java/CreateWithScriptNoMounting.java diff --git a/batch/snippets/src/main/java/DeleteJob.java b/batch/src/main/java/DeleteJob.java similarity index 100% rename from batch/snippets/src/main/java/DeleteJob.java rename to batch/src/main/java/DeleteJob.java diff --git a/batch/snippets/src/main/java/GetJob.java b/batch/src/main/java/GetJob.java similarity index 100% rename from batch/snippets/src/main/java/GetJob.java rename to batch/src/main/java/GetJob.java diff --git a/batch/snippets/src/main/java/ListJobs.java b/batch/src/main/java/ListJobs.java similarity index 100% rename from batch/snippets/src/main/java/ListJobs.java rename to batch/src/main/java/ListJobs.java diff --git a/batch/snippets/src/test/java/BatchBasicIT.java b/batch/src/test/java/BatchBasicIT.java similarity index 100% rename from batch/snippets/src/test/java/BatchBasicIT.java rename to batch/src/test/java/BatchBasicIT.java From 9f8271bebba5cb1b887d8b8fa4e3632ddcf6b705 Mon Sep 17 00:00:00 2001 From: SitaLakshmi Date: Tue, 1 Nov 2022 22:42:43 +0530 Subject: [PATCH 32/32] add snippets/ directory --- batch/{ => snippets}/pom.xml | 0 .../src/main/java/CreateWithContainerNoMounting.java | 0 .../{ => snippets}/src/main/java/CreateWithScriptNoMounting.java | 0 batch/{ => snippets}/src/main/java/DeleteJob.java | 0 batch/{ => snippets}/src/main/java/GetJob.java | 0 batch/{ => snippets}/src/main/java/ListJobs.java | 0 batch/{ => snippets}/src/test/java/BatchBasicIT.java | 0 7 files changed, 0 insertions(+), 0 deletions(-) rename batch/{ => snippets}/pom.xml (100%) rename batch/{ => snippets}/src/main/java/CreateWithContainerNoMounting.java (100%) rename batch/{ => snippets}/src/main/java/CreateWithScriptNoMounting.java (100%) rename batch/{ => snippets}/src/main/java/DeleteJob.java (100%) rename batch/{ => snippets}/src/main/java/GetJob.java (100%) rename batch/{ => snippets}/src/main/java/ListJobs.java (100%) rename batch/{ => snippets}/src/test/java/BatchBasicIT.java (100%) diff --git a/batch/pom.xml b/batch/snippets/pom.xml similarity index 100% rename from batch/pom.xml rename to batch/snippets/pom.xml diff --git a/batch/src/main/java/CreateWithContainerNoMounting.java b/batch/snippets/src/main/java/CreateWithContainerNoMounting.java similarity index 100% rename from batch/src/main/java/CreateWithContainerNoMounting.java rename to batch/snippets/src/main/java/CreateWithContainerNoMounting.java diff --git a/batch/src/main/java/CreateWithScriptNoMounting.java b/batch/snippets/src/main/java/CreateWithScriptNoMounting.java similarity index 100% rename from batch/src/main/java/CreateWithScriptNoMounting.java rename to batch/snippets/src/main/java/CreateWithScriptNoMounting.java diff --git a/batch/src/main/java/DeleteJob.java b/batch/snippets/src/main/java/DeleteJob.java similarity index 100% rename from batch/src/main/java/DeleteJob.java rename to batch/snippets/src/main/java/DeleteJob.java diff --git a/batch/src/main/java/GetJob.java b/batch/snippets/src/main/java/GetJob.java similarity index 100% rename from batch/src/main/java/GetJob.java rename to batch/snippets/src/main/java/GetJob.java diff --git a/batch/src/main/java/ListJobs.java b/batch/snippets/src/main/java/ListJobs.java similarity index 100% rename from batch/src/main/java/ListJobs.java rename to batch/snippets/src/main/java/ListJobs.java diff --git a/batch/src/test/java/BatchBasicIT.java b/batch/snippets/src/test/java/BatchBasicIT.java similarity index 100% rename from batch/src/test/java/BatchBasicIT.java rename to batch/snippets/src/test/java/BatchBasicIT.java