From 2b31eac8555460313e7db1278ad415b57c5d7acc Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Jun 2021 19:26:15 +0000 Subject: [PATCH 01/25] chore: release 0.1.2-SNAPSHOT (#19) :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). --- google-cloud-binary-authorization-bom/pom.xml | 8 ++++---- google-cloud-binary-authorization/pom.xml | 4 ++-- grpc-google-cloud-binary-authorization-v1beta1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-binary-authorization-v1beta1/pom.xml | 4 ++-- versions.txt | 6 +++--- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/google-cloud-binary-authorization-bom/pom.xml b/google-cloud-binary-authorization-bom/pom.xml index 8f716206..108ec10c 100644 --- a/google-cloud-binary-authorization-bom/pom.xml +++ b/google-cloud-binary-authorization-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-binary-authorization-bom - 0.1.1 + 0.1.2-SNAPSHOT pom com.google.cloud @@ -56,17 +56,17 @@ com.google.cloud google-cloud-binary-authorization - 0.1.1 + 0.1.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-binary-authorization-v1beta1 - 0.1.1 + 0.1.2-SNAPSHOT com.google.api.grpc proto-google-cloud-binary-authorization-v1beta1 - 0.1.1 + 0.1.2-SNAPSHOT diff --git a/google-cloud-binary-authorization/pom.xml b/google-cloud-binary-authorization/pom.xml index 98202ed3..4fbeb6d8 100644 --- a/google-cloud-binary-authorization/pom.xml +++ b/google-cloud-binary-authorization/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-binary-authorization - 0.1.1 + 0.1.2-SNAPSHOT jar Google Binary Authorization https://github.com/googleapis/java-binary-authorization @@ -11,7 +11,7 @@ com.google.cloud google-cloud-binary-authorization-parent - 0.1.1 + 0.1.2-SNAPSHOT google-cloud-binary-authorization diff --git a/grpc-google-cloud-binary-authorization-v1beta1/pom.xml b/grpc-google-cloud-binary-authorization-v1beta1/pom.xml index cebe0498..36c72524 100644 --- a/grpc-google-cloud-binary-authorization-v1beta1/pom.xml +++ b/grpc-google-cloud-binary-authorization-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1beta1 - 0.1.1 + 0.1.2-SNAPSHOT grpc-google-cloud-binary-authorization-v1beta1 GRPC library for google-cloud-binary-authorization com.google.cloud google-cloud-binary-authorization-parent - 0.1.1 + 0.1.2-SNAPSHOT diff --git a/pom.xml b/pom.xml index 92cec48a..c0da31cb 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-binary-authorization-parent pom - 0.1.1 + 0.1.2-SNAPSHOT Google Binary Authorization Parent https://github.com/googleapis/java-binary-authorization @@ -60,17 +60,17 @@ com.google.cloud google-cloud-binary-authorization - 0.1.1 + 0.1.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-binary-authorization-v1beta1 - 0.1.1 + 0.1.2-SNAPSHOT com.google.api.grpc proto-google-cloud-binary-authorization-v1beta1 - 0.1.1 + 0.1.2-SNAPSHOT diff --git a/proto-google-cloud-binary-authorization-v1beta1/pom.xml b/proto-google-cloud-binary-authorization-v1beta1/pom.xml index 31f3635b..ccb7e5f3 100644 --- a/proto-google-cloud-binary-authorization-v1beta1/pom.xml +++ b/proto-google-cloud-binary-authorization-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1beta1 - 0.1.1 + 0.1.2-SNAPSHOT proto-google-cloud-binary-authorization-v1beta1 Proto library for google-cloud-binary-authorization com.google.cloud google-cloud-binary-authorization-parent - 0.1.1 + 0.1.2-SNAPSHOT diff --git a/versions.txt b/versions.txt index 038952a1..c29ee757 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-binary-authorization:0.1.1:0.1.1 -grpc-google-cloud-binary-authorization-v1beta1:0.1.1:0.1.1 -proto-google-cloud-binary-authorization-v1beta1:0.1.1:0.1.1 +google-cloud-binary-authorization:0.1.1:0.1.2-SNAPSHOT +grpc-google-cloud-binary-authorization-v1beta1:0.1.1:0.1.2-SNAPSHOT +proto-google-cloud-binary-authorization-v1beta1:0.1.1:0.1.2-SNAPSHOT From 73fdf7023fe45fbe3d03013397843872baa2ab50 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 15 Jun 2021 18:04:21 +0000 Subject: [PATCH 02/25] chore: release gapic-generator-java v1.0.11 (#21) Committer: @miraleung PiperOrigin-RevId: 378266372 Source-Link: https://github.com/googleapis/googleapis/commit/9e3105549a35520f215359065c11e8dce15e18af Source-Link: https://github.com/googleapis/googleapis-gen/commit/14629f6b39dfee67009f79a96d2077d5bb17d1c3 --- .../v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java b/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java index c7877052..6f97d6db 100644 --- a/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java +++ b/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java @@ -48,8 +48,8 @@ public class BinauthzManagementServiceV1Beta1ClientTest { private static MockBinauthzManagementServiceV1Beta1 mockBinauthzManagementServiceV1Beta1; private static MockServiceHelper mockServiceHelper; - private BinauthzManagementServiceV1Beta1Client client; private LocalChannelProvider channelProvider; + private BinauthzManagementServiceV1Beta1Client client; @BeforeClass public static void startStaticServer() { From dd7ad221f6702fb043ef942b9cc4a4bdae7be194 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 15 Jun 2021 18:04:35 +0000 Subject: [PATCH 03/25] chore: release gapic-generator-java v1.0.12 (#22) Committer: @miraleung PiperOrigin-RevId: 378718217 Source-Link: https://github.com/googleapis/googleapis/commit/08c4eeb531c01ad031134dca94b18e3f7dd35902 Source-Link: https://github.com/googleapis/googleapis-gen/commit/9a27cb4181a8823727458705f4343f0dccdb40d6 --- .../stub/BinauthzManagementServiceV1Beta1StubSettings.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java b/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java index 17415033..bd3293d1 100644 --- a/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java +++ b/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java @@ -224,6 +224,11 @@ public static String getDefaultEndpoint() { return "binaryauthorization.googleapis.com:443"; } + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "binaryauthorization.mtls.googleapis.com:443"; + } + /** Returns the default service scopes. */ public static List getDefaultServiceScopes() { return DEFAULT_SERVICE_SCOPES; @@ -394,6 +399,8 @@ private static Builder createDefault() { builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); return initDefaults(builder); } From 79a75712825b04a82c936ec24b40a768f6e44212 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 15 Jun 2021 19:36:19 +0000 Subject: [PATCH 04/25] chore: new owl bot post processor docker image (#23) Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:3796fe5c26bbf814f0a82a2eab2749b5710f87e7197dc011e5fa3c694e532462 --- .github/.OwlBot.lock.yaml | 4 ++-- .kokoro/dependencies.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index a32a9e04..be22516e 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: - digest: sha256:ee698481139bf3df35cd83d2f17f9670ee914d6184f8909a81d672a6abaf0e72 - image: gcr.io/repo-automation-bots/owlbot-java:latest \ No newline at end of file + image: gcr.io/repo-automation-bots/owlbot-java:latest + digest: sha256:3796fe5c26bbf814f0a82a2eab2749b5710f87e7197dc011e5fa3c694e532462 diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index 59d2aafc..a7e999d3 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -46,7 +46,7 @@ function completenessCheck() { # This is stripped from the output as it is not present in the flattened pom. # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt + mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) msg "Generating dependency list using flattened pom..." @@ -70,7 +70,7 @@ function completenessCheck() { set +e error_count=0 -for path in $(find -name ".flattened-pom.xml") +for path in **/.flattened-pom.xml do # Check flattened pom in each dir that contains it for completeness dir=$(dirname "$path") From ee8697c19d34c92b9fb2de4575c8980927734227 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 16 Jun 2021 21:33:31 +0200 Subject: [PATCH 05/25] chore(deps): update dependency com.google.cloud:google-cloud-binary-authorization to v0.1.1 (#20) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index aec34f73..565a891d 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-binary-authorization - 0.1.0 + 0.1.1 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 8684feb2..10db73d1 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-binary-authorization - 0.1.0 + 0.1.1 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 18c127f4..1a1401ff 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-binary-authorization - 0.1.0 + 0.1.1 From a344d0bde016b3fbe80faae0c6bfffae557138f7 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 16 Jun 2021 23:10:16 +0000 Subject: [PATCH 06/25] chore: release gapic-generator-java v1.0.13 (#24) Committer: @miraleung PiperOrigin-RevId: 379784268 Source-Link: https://github.com/googleapis/googleapis/commit/551681f25e36b11829e87e580281350461f4f3f5 Source-Link: https://github.com/googleapis/googleapis-gen/commit/478f36572d7bcf1dc66038d0e76b9b3fa2abae63 --- .../cloud/binaryauthorization/v1beta1/AttestorName.java | 4 ++-- .../google/cloud/binaryauthorization/v1beta1/PolicyName.java | 2 +- .../google/cloud/binaryauthorization/v1beta1/ProjectName.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java b/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java index c5356a3d..450da7b8 100644 --- a/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java +++ b/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java @@ -181,8 +181,8 @@ public Builder setAttestor(String attestor) { } private Builder(AttestorName attestorName) { - project = attestorName.project; - attestor = attestorName.attestor; + this.project = attestorName.project; + this.attestor = attestorName.attestor; } public AttestorName build() { diff --git a/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java b/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java index aedfaefb..80c0bb2a 100644 --- a/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java +++ b/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java @@ -158,7 +158,7 @@ public Builder setProject(String project) { } private Builder(PolicyName policyName) { - project = policyName.project; + this.project = policyName.project; } public PolicyName build() { diff --git a/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java b/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java index 74860388..657e1a23 100644 --- a/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java +++ b/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java @@ -158,7 +158,7 @@ public Builder setProject(String project) { } private Builder(ProjectName projectName) { - project = projectName.project; + this.project = projectName.project; } public ProjectName build() { From 98ccb877b1d105c4ef4231f7454290c5846e20cf Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 18 Jun 2021 22:04:17 +0000 Subject: [PATCH 07/25] chore: minimize noise from build scripts (#1091) (#25) This should limit the amount of scrolling client devs have to do when debugging a test failure Co-authored-by: Elliotte Rusty Harold Co-authored-by: Neenu Shaji Source-Link: https://github.com/googleapis/synthtool/commit/1c0c698705e668ccb3d68556ae7260f16ce63a6e Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:117d9f1bef3342ea256419068dfaf65e5b2d126534ef0773c25ce71b8474f346 --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/coerce_logs.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index be22516e..cd2e6d39 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:3796fe5c26bbf814f0a82a2eab2749b5710f87e7197dc011e5fa3c694e532462 + digest: sha256:117d9f1bef3342ea256419068dfaf65e5b2d126534ef0773c25ce71b8474f346 diff --git a/.kokoro/coerce_logs.sh b/.kokoro/coerce_logs.sh index 5cf7ba49..46edbf7f 100755 --- a/.kokoro/coerce_logs.sh +++ b/.kokoro/coerce_logs.sh @@ -28,7 +28,6 @@ job=$(basename ${KOKORO_JOB_NAME}) echo "coercing sponge logs..." for xml in `find . -name *-sponge_log.xml` do - echo "processing ${xml}" class=$(basename ${xml} | cut -d- -f2) dir=$(dirname ${xml})/${job}/${class} text=$(dirname ${xml})/${class}-sponge_log.txt From 0b7ea968aedb1824a84e1a9abd35feae17ee3b3b Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 23 Jun 2021 16:28:38 +0000 Subject: [PATCH 08/25] fix: Add `shopt -s nullglob` to dependencies script (#1130) (#26) This prevents processing the unexpanded glob "**/.flattened-pom.xml" in repos which do not flatten any POMs. Source-Link: https://github.com/googleapis/synthtool/commit/87254ac89a9559864c0a245d6b150406439ce3d8 Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:a9b83a276c82987d284b733713fe86a3c8a2cc457933767eeb2688b882e54c6a --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/dependencies.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index cd2e6d39..a86dc465 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:117d9f1bef3342ea256419068dfaf65e5b2d126534ef0773c25ce71b8474f346 + digest: sha256:a9b83a276c82987d284b733713fe86a3c8a2cc457933767eeb2688b882e54c6a diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index a7e999d3..9030ba8f 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -14,6 +14,7 @@ # limitations under the License. set -eo pipefail +shopt -s nullglob ## Get the directory of the build script scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) From 4dda105fe56704810a5157afd17af47aadb4e67e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 2 Jul 2021 01:23:25 +0200 Subject: [PATCH 09/25] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v1.4.0 (#28) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource 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-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `1.3.0` -> `1.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.4.0/compatibility-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.4.0/confidence-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v1.4.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​140-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare130v140-2021-06-30) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v1.3.0...v1.4.0) ##### Features - add grpc-gcp to dependencyManagement ([#​389](https://www.github.com/googleapis/java-shared-dependencies/issues/389)) ([57fd2e6](https://www.github.com/googleapis/java-shared-dependencies/commit/57fd2e646e28e37e0b5e4e1b37425d4897a8776f)) ##### Bug Fixes - Add `shopt -s nullglob` to dependencies script ([#​392](https://www.github.com/googleapis/java-shared-dependencies/issues/392)) ([f8f29df](https://www.github.com/googleapis/java-shared-dependencies/commit/f8f29df1c9cc6eca517c99113fb9509fd611ac92)) - Add common httpclient and oauth dependencies ([#​391](https://www.github.com/googleapis/java-shared-dependencies/issues/391)) ([09660e1](https://www.github.com/googleapis/java-shared-dependencies/commit/09660e1e50c96dcd7df4e80d8ad357f8256eda6c)) - Update dependencies.sh to not break on mac ([#​384](https://www.github.com/googleapis/java-shared-dependencies/issues/384)) ([0ae2841](https://www.github.com/googleapis/java-shared-dependencies/commit/0ae2841d7ce2885d041795c58a38d2d3973c2e5a)) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.32.1 ([#​390](https://www.github.com/googleapis/java-shared-dependencies/issues/390)) ([00288c1](https://www.github.com/googleapis/java-shared-dependencies/commit/00288c18d09616582c8bec961ecc5c00ef1d4288)) - update dependency com.google.api:api-common to v1.10.4 ([#​385](https://www.github.com/googleapis/java-shared-dependencies/issues/385)) ([5f2b39b](https://www.github.com/googleapis/java-shared-dependencies/commit/5f2b39b5bdc4cec9d5ab2f050e11000ed372d057)) - update dependency com.google.api:gax-grpc to v1.65.1 ([#​382](https://www.github.com/googleapis/java-shared-dependencies/issues/382)) ([a2a1547](https://www.github.com/googleapis/java-shared-dependencies/commit/a2a15471dee21207a0b97b3bc8f6f59d6a4a2d13)) - update dependency com.google.protobuf:protobuf-bom to v3.17.3 ([#​379](https://www.github.com/googleapis/java-shared-dependencies/issues/379)) ([6f43eb5](https://www.github.com/googleapis/java-shared-dependencies/commit/6f43eb553dca98140d343bee3f1003096d79ee6c)) - update dependency io.grpc:grpc-bom to v1.38.1 ([#​386](https://www.github.com/googleapis/java-shared-dependencies/issues/386)) ([7b1d4cf](https://www.github.com/googleapis/java-shared-dependencies/commit/7b1d4cf317fbd75b91d6a63f82b5fc2f46eaf3ca)) - update dependency io.grpc:grpc-bom to v1.39.0 ([#​394](https://www.github.com/googleapis/java-shared-dependencies/issues/394)) ([ebc8af6](https://www.github.com/googleapis/java-shared-dependencies/commit/ebc8af6b3f850b58b35d9720a7a0b1545d4616bd)) - update gax.version to v1.66.0 ([#​395](https://www.github.com/googleapis/java-shared-dependencies/issues/395)) ([c73f73e](https://www.github.com/googleapis/java-shared-dependencies/commit/c73f73e84740a8117be342a66e179eaf3e29c6fd)) - update google.core.version to v1.95.1 ([#​381](https://www.github.com/googleapis/java-shared-dependencies/issues/381)) ([4496153](https://www.github.com/googleapis/java-shared-dependencies/commit/44961532f621b0ab19e9e7feebb7d588aef5d423)) - update google.core.version to v1.95.2 ([#​383](https://www.github.com/googleapis/java-shared-dependencies/issues/383)) ([7216859](https://www.github.com/googleapis/java-shared-dependencies/commit/7216859bcd67fa1ce1119831c33c50a2d5b79324)) - update google.core.version to v1.95.3 ([#​388](https://www.github.com/googleapis/java-shared-dependencies/issues/388)) ([354e4e8](https://www.github.com/googleapis/java-shared-dependencies/commit/354e4e811f4ba886406681a4261ac0455a9eb2d2)) - update google.core.version to v1.95.4 ([#​393](https://www.github.com/googleapis/java-shared-dependencies/issues/393)) ([be78ad8](https://www.github.com/googleapis/java-shared-dependencies/commit/be78ad85e31d8876eabafee7aa8242712573cb46))
--- ### Configuration 📅 **Schedule**: 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, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-binary-authorization). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c0da31cb..417fd8b7 100644 --- a/pom.xml +++ b/pom.xml @@ -76,7 +76,7 @@ com.google.cloud google-cloud-shared-dependencies - 1.3.0 + 1.4.0 pom import From 2cdff046a7192846cc69a55dffc4427665a69f6a Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 9 Jul 2021 19:06:15 +0000 Subject: [PATCH 10/25] chore: remove All rights reserved clause from java.header (#1148) (#30) After discussion with OSPO, it has been decided to remove "All rights reserved" clause from the java.header file to better reflect the [correct license header](https://g3doc.corp.google.com/company/teams/opensource/releasing/preparing.md?cl=head#Apache-header). Source-Link: https://github.com/googleapis/synthtool/commit/09c59c20a4bf0daed1665af59035ff240fe356df Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:2e88a4a7fe3377cf8de1fa5982134f6ef2768980fa2f94edcc1ba6604ae2e7ca --- .github/.OwlBot.lock.yaml | 2 +- java.header | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index a86dc465..23bcdc9b 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:a9b83a276c82987d284b733713fe86a3c8a2cc457933767eeb2688b882e54c6a + digest: sha256:2e88a4a7fe3377cf8de1fa5982134f6ef2768980fa2f94edcc1ba6604ae2e7ca diff --git a/java.header b/java.header index 3a9b503a..d0970ba7 100644 --- a/java.header +++ b/java.header @@ -1,5 +1,5 @@ ^/\*$ -^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)( All [rR]ights [rR]eserved\.)?$ +^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)$ ^ \*$ ^ \* Licensed under the Apache License, Version 2\.0 \(the "License"\);$ ^ \* you may not use this file except in compliance with the License\.$ From d40ffa289be02aa3e6bcfe9c50d688e2905addd1 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 14 Jul 2021 21:18:47 +0000 Subject: [PATCH 11/25] fix: owlbot post-processor should generate README (#1154) (#31) Fixes #1146 Fixes #1147 Source-Link: https://github.com/googleapis/synthtool/commit/387851d0e88ca4a5b1771ad63d915bed1bd4a740 Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:69045edb77ff7c78fdfad02eae2b4493b2c358cd9778ab5b6dba0c2b578df0ec --- .github/.OwlBot.lock.yaml | 2 +- README.md | 70 +++++++++++++++++++++++++++++++++------ 2 files changed, 61 insertions(+), 11 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 23bcdc9b..18561afe 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:2e88a4a7fe3377cf8de1fa5982134f6ef2768980fa2f94edcc1ba6604ae2e7ca + digest: sha256:69045edb77ff7c78fdfad02eae2b4493b2c358cd9778ab5b6dba0c2b578df0ec diff --git a/README.md b/README.md index e07c8d04..84191b0d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Binary Authorization Client for Java +# Google Binary Authorization Client for Java Java idiomatic client for [Binary Authorization][product-docs]. @@ -20,18 +20,18 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-binary-authorization - 0.0.0 + 0.1.1 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-binary-authorization:0.0.0' +compile 'com.google.cloud:google-cloud-binary-authorization:0.1.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "0.0.0" +libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "0.1.1" ``` ## Authentication @@ -43,7 +43,7 @@ See the [Authentication][authentication] section in the base directory's README. ### Prerequisites You will need a [Google Cloud Platform Console][developer-console] project with the Binary Authorization [API enabled][enable-api]. -You will need to [enable billing][enable-billing] to use Binary Authorization. +You will need to [enable billing][enable-billing] to use Google Binary Authorization. [Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by [installing the Google Cloud SDK][cloud-sdk] and running the following commands in command line: `gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`. @@ -56,12 +56,16 @@ to add `google-cloud-binary-authorization` as a dependency in your code. ## About Binary Authorization -[Binary Authorization][product-docs] is a service on Google Cloud that provides centralized software supply-chain security for applications that run on Google Kubernetes Engine (GKE) and Anthos clusters on VMware. - +[Binary Authorization][product-docs] is a service on Google Cloud that provides centralized software supply-chain security for applications that run on Google Kubernetes Engine (GKE) and Anthos clusters on VMware See the [Binary Authorization client library docs][javadocs] to learn how to use this Binary Authorization Client Library. + + + + + ## Troubleshooting To get help, follow the instructions in the [shared Troubleshooting document][troubleshooting]. @@ -70,10 +74,50 @@ To get help, follow the instructions in the [shared Troubleshooting document][tr Binary Authorization uses gRPC for the transport layer. -## Java Versions +## Supported Java Versions Java 7 or above is required for using this client. +Google's Java client libraries, +[Google Cloud Client Libraries][cloudlibs] +and +[Google Cloud API Libraries][apilibs], +follow the +[Oracle Java SE support roadmap][oracle] +(see the Oracle Java SE Product Releases section). + +### For new development + +In general, new feature development occurs with support for the lowest Java +LTS version covered by Oracle's Premier Support (which typically lasts 5 years +from initial General Availability). If the minimum required JVM for a given +library is changed, it is accompanied by a [semver][semver] major release. + +Java 11 and (in September 2021) Java 17 are the best choices for new +development. + +### Keeping production systems current + +Google tests its client libraries with all current LTS versions covered by +Oracle's Extended Support (which typically lasts 8 years from initial +General Availability). + +#### Legacy support + +Google's client libraries support legacy versions of Java runtimes with long +term stable libraries that don't receive feature updates on a best efforts basis +as it may not be possible to backport all patches. + +Google provides updates on a best efforts basis to apps that continue to use +Java 7, though apps might need to upgrade to current versions of the library +that supports their JVM. + +#### Where to find specific information + +The latest versions and the supported Java versions are identified on +the individual GitHub repository `github.com/GoogleAPIs/java-SERVICENAME` +and on [google-cloud-java][g-c-j]. + ## Versioning @@ -110,7 +154,7 @@ Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5] Java is a registered trademark of Oracle and/or its affiliates. -[product-docs]: https://cloud.google.com/binary-authorization/docs/ +[product-docs]: https://cloud.google.com/binary-authorization/docs [javadocs]: https://googleapis.dev/java/google-cloud-binary-authorization/latest/index.html [kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-binary-authorization/java7.svg [kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-binary-authorization/java7.html @@ -136,4 +180,10 @@ Java is a registered trademark of Oracle and/or its affiliates. [enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing [enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=binary-authorization.googleapis.com [libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM -[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png \ No newline at end of file +[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png + +[semver]: https://semver.org/ +[cloudlibs]: https://cloud.google.com/apis/docs/client-libraries-explained +[apilibs]: https://cloud.google.com/apis/docs/client-libraries-explained#google_api_client_libraries +[oracle]: https://www.oracle.com/java/technologies/java-se-support-roadmap.html +[g-c-j]: http://github.com/googleapis/google-cloud-java From cb918ee8b3a184248b46c9c71929b0f994c91a24 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 15 Jul 2021 12:44:39 -0400 Subject: [PATCH 12/25] chore: make owlbot check required (#32) --- .github/sync-repo-settings.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index e100454f..807ec483 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -39,6 +39,7 @@ branchProtectionRules: - "units (11)" - "Kokoro - Test: Integration" - "cla/google" + - "OwlBot Post Processor" # List of explicit permissions to add (additive only) permissionRules: - team: yoshi-admins From 088078b086029d57d2872681afe35150aa0000a2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Jul 2021 22:56:25 +0200 Subject: [PATCH 13/25] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.13.1 (#38) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource 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-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.12.0` -> `0.13.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/compatibility-slim/0.12.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/confidence-slim/0.12.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v0.13.1`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0131-httpswwwgithubcomgoogleapisjava-shared-configcomparev0130v0131-2021-07-27) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.13.0...v0.13.1) ### [`v0.13.0`](https://togithub.com/googleapis/java-shared-config/releases/v0.13.0) ##### Features - add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#​264](https://www.github.com/googleapis/java-shared-config/issues/264)) ([d274af8](https://www.github.com/googleapis/java-shared-config/commit/d274af836ac9b3e98be84e551b7e9e552397ecc1)) ##### Bug Fixes - Add shopt -s nullglob to dependencies script ([865ca3c](https://www.github.com/googleapis/java-shared-config/commit/865ca3cbf106a7aaae1a989320a1ad5a47b6ffaf)) - Update dependencies.sh to not break on mac ([#​276](https://www.github.com/googleapis/java-shared-config/issues/276)) ([865ca3c](https://www.github.com/googleapis/java-shared-config/commit/865ca3cbf106a7aaae1a989320a1ad5a47b6ffaf)) ##### Dependencies - update auto-value-annotation.version to v1.8.2 ([#​275](https://www.github.com/googleapis/java-shared-config/issues/275)) ([4d15246](https://www.github.com/googleapis/java-shared-config/commit/4d152461a5592940a8be762c7a8698a02dbe26cf)) - update dependency com.puppycrawl.tools:checkstyle to v8.43 ([#​266](https://www.github.com/googleapis/java-shared-config/issues/266)) ([fae7961](https://www.github.com/googleapis/java-shared-config/commit/fae7961412b33e34e8fcfec78d1451894d4e61d9)) - update dependency com.puppycrawl.tools:checkstyle to v8.44 ([#​274](https://www.github.com/googleapis/java-shared-config/issues/274)) ([d53d0e0](https://www.github.com/googleapis/java-shared-config/commit/d53d0e0935e908d16f4e7cf763577cf3fd8128d3)) ***
--- ### Configuration 📅 **Schedule**: 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, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-binary-authorization). --- google-cloud-binary-authorization-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-binary-authorization-bom/pom.xml b/google-cloud-binary-authorization-bom/pom.xml index 108ec10c..a167dd8b 100644 --- a/google-cloud-binary-authorization-bom/pom.xml +++ b/google-cloud-binary-authorization-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.12.0 + 0.13.1 Google Binary Authorization BOM diff --git a/pom.xml b/pom.xml index 417fd8b7..f6fca404 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.12.0 + 0.13.1 From 06c67c0e735cc64edb435b3fe5b24eb70ffc9a0f Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 28 Jul 2021 00:45:11 +0000 Subject: [PATCH 14/25] chore(docs): add Authorization section to Java README template (#1161) (#37) as a part of the PR 582 for java-logging an authorization section is added to the Java README template. Fixing googleapis/java-logging#570. Source-Link: https://github.com/googleapis/synthtool/commit/3d32990b6f4b57be77455e3ca89e6e21cd0c06b3 Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:2904b9ad921ecc1343d1cf815bfaafbcc1115c1f39593aef9f8e333ffda552f7 --- .github/.OwlBot.lock.yaml | 2 +- README.md | 13 +++++++++++++ renovate.json | 5 ++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 18561afe..419ccb9a 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:69045edb77ff7c78fdfad02eae2b4493b2c358cd9778ab5b6dba0c2b578df0ec + digest: sha256:2904b9ad921ecc1343d1cf815bfaafbcc1115c1f39593aef9f8e333ffda552f7 diff --git a/README.md b/README.md index 84191b0d..bd64b5f9 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,13 @@ Java idiomatic client for [Binary Authorization][product-docs]. > Note: This client is a work-in-progress, and may occasionally > make backwards-incompatible changes. + ## Quickstart If you are using Maven, add this to your pom.xml file: + ```xml com.google.cloud @@ -25,11 +27,13 @@ If you are using Maven, add this to your pom.xml file: ``` If you are using Gradle without BOM, add this to your dependencies + ```Groovy compile 'com.google.cloud:google-cloud-binary-authorization:0.1.1' ``` If you are using SBT, add this to your dependencies + ```Scala libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "0.1.1" ``` @@ -38,6 +42,10 @@ libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" See the [Authentication][authentication] section in the base directory's README. +## Authorization + +The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Binary Authorization APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Binary Authorization API calls. + ## Getting Started ### Prerequisites @@ -127,6 +135,7 @@ This library follows [Semantic Versioning](http://semver.org/). It is currently in major version zero (``0.y.z``), which means that anything may change at any time and the public API should not be considered stable. + ## Contributing @@ -138,6 +147,7 @@ Please note that this project is released with a Contributor Code of Conduct. By this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information. + ## License Apache 2.0 - See [LICENSE][license] for more information. @@ -170,6 +180,9 @@ Java is a registered trademark of Oracle and/or its affiliates. [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-binary-authorization.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-binary-authorization&core=gav [authentication]: https://github.com/googleapis/google-cloud-java#authentication +[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes +[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles +[iam-policy]: https://cloud.google.com/iam/docs/overview#cloud-iam-policy [developer-console]: https://console.developers.google.com/ [create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects [cloud-sdk]: https://cloud.google.com/sdk/ diff --git a/renovate.json b/renovate.json index 91da438b..8f1535f2 100644 --- a/renovate.json +++ b/renovate.json @@ -69,5 +69,8 @@ } ], "semanticCommits": true, - "masterIssue": true + "dependencyDashboard": true, + "dependencyDashboardLabels": [ + "type: process" + ] } From 1cb9e57bef21648b1a11e16779736011143f7b29 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 28 Jul 2021 16:06:50 +0000 Subject: [PATCH 15/25] chore(java): add a method to copy a java method and rename it (#1162) (#35) chore: add method to deprecate java methods Source-Link: https://github.com/googleapis/synthtool/commit/f7d068c270fafbb7154516f5f48d9839c974409d Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:8aaf4b4336ac8ca344681866b3a78f73be5999750179022393ecbedd7069acb5 --- .github/.OwlBot.lock.yaml | 2 +- README.md | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 419ccb9a..7c4c1dfb 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:2904b9ad921ecc1343d1cf815bfaafbcc1115c1f39593aef9f8e333ffda552f7 + digest: sha256:8aaf4b4336ac8ca344681866b3a78f73be5999750179022393ecbedd7069acb5 diff --git a/README.md b/README.md index bd64b5f9..84191b0d 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,11 @@ Java idiomatic client for [Binary Authorization][product-docs]. > Note: This client is a work-in-progress, and may occasionally > make backwards-incompatible changes. - ## Quickstart If you are using Maven, add this to your pom.xml file: - ```xml com.google.cloud @@ -27,13 +25,11 @@ If you are using Maven, add this to your pom.xml file: ``` If you are using Gradle without BOM, add this to your dependencies - ```Groovy compile 'com.google.cloud:google-cloud-binary-authorization:0.1.1' ``` If you are using SBT, add this to your dependencies - ```Scala libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "0.1.1" ``` @@ -42,10 +38,6 @@ libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" See the [Authentication][authentication] section in the base directory's README. -## Authorization - -The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Binary Authorization APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Binary Authorization API calls. - ## Getting Started ### Prerequisites @@ -135,7 +127,6 @@ This library follows [Semantic Versioning](http://semver.org/). It is currently in major version zero (``0.y.z``), which means that anything may change at any time and the public API should not be considered stable. - ## Contributing @@ -147,7 +138,6 @@ Please note that this project is released with a Contributor Code of Conduct. By this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information. - ## License Apache 2.0 - See [LICENSE][license] for more information. @@ -180,9 +170,6 @@ Java is a registered trademark of Oracle and/or its affiliates. [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-binary-authorization.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-binary-authorization&core=gav [authentication]: https://github.com/googleapis/google-cloud-java#authentication -[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes -[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles -[iam-policy]: https://cloud.google.com/iam/docs/overview#cloud-iam-policy [developer-console]: https://console.developers.google.com/ [create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects [cloud-sdk]: https://cloud.google.com/sdk/ From caf1a810e8c84fdafdec112ccb697e43c5cd2819 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 29 Jul 2021 15:48:46 -0400 Subject: [PATCH 16/25] build: configure branch java7 as a release branch (#41) enable releases --- .github/release-please.yml | 5 ++ .github/sync-repo-settings.yaml | 85 ++++++++++++++++----------------- 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.github/release-please.yml b/.github/release-please.yml index 8ca7f9ca..7bf58076 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -1,3 +1,8 @@ bumpMinorPreMajor: true handleGHRelease: true releaseType: java-yoshi +branches: + - bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-yoshi + branch: java7 diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 807ec483..84b918e8 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -1,50 +1,45 @@ - -# Whether or not rebase-merging is enabled on this repository. -# Defaults to `true` rebaseMergeAllowed: false - -# Whether or not squash-merging is enabled on this repository. -# Defaults to `true` squashMergeAllowed: true - -# Whether or not PRs are merged with a merge commit on this repository. -# Defaults to `false` mergeCommitAllowed: false - -# Rules for master branch protection branchProtectionRules: -# Identifies the protection rule pattern. Name of the branch to be protected. -# Defaults to `master` -- pattern: master - # Can admins overwrite branch protection. - # Defaults to `true` - isAdminEnforced: true - # Number of approving reviews required to update matching branches. - # Defaults to `1` - requiredApprovingReviewCount: 1 - # Are reviews from code owners required to update matching branches. - # Defaults to `false` - requiresCodeOwnerReviews: true - # Require up to date branches - requiresStrictStatusChecks: false - # List of required status check contexts that must pass for commits to be accepted to matching branches. - requiredStatusCheckContexts: - - "dependencies (8)" - - "dependencies (11)" - - "linkage-monitor" - - "lint" - - "clirr" - - "units (7)" - - "units (8)" - - "units (11)" - - "Kokoro - Test: Integration" - - "cla/google" - - "OwlBot Post Processor" -# List of explicit permissions to add (additive only) + - pattern: master + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - linkage-monitor + - lint + - clirr + - units (7) + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor + - pattern: java7 + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - linkage-monitor + - lint + - clirr + - units (7) + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor permissionRules: -- team: yoshi-admins - permission: admin -- team: yoshi-java-admins - permission: admin -- team: yoshi-java - permission: push + - team: yoshi-admins + permission: admin + - team: yoshi-java-admins + permission: admin + - team: yoshi-java + permission: push From d058f790cff908a17554479e847739ab12e91fee Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 5 Aug 2021 00:52:39 +0200 Subject: [PATCH 17/25] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1 (#43) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource 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-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.13.1` -> `1.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/compatibility-slim/0.13.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/confidence-slim/0.13.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.0.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​100-httpswwwgithubcomgoogleapisjava-shared-configcomparev0131v100-2021-07-29) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.13.1...v1.0.0) ##### âš  BREAKING CHANGES - update shared-config to java 1.8 ([#​277](https://togithub.com/googleapis/java-shared-config/issues/277)) ##### Features - update shared-config to java 1.8 ([#​277](https://www.github.com/googleapis/java-shared-config/issues/277)) ([9c297a2](https://www.github.com/googleapis/java-shared-config/commit/9c297a27bc236092aab3ae292c7bed206293bc51)) ##### [0.13.1](https://www.github.com/googleapis/java-shared-config/compare/v0.13.0...v0.13.1) (2021-07-27) ##### Bug Fixes - revert update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.2.0 ([#​280](https://www.github.com/googleapis/java-shared-config/issues/280)) ([bdbbb9c](https://www.github.com/googleapis/java-shared-config/commit/bdbbb9c13571d0ef06009ebf03bc25c6e6fcbc17))
--- ### Configuration 📅 **Schedule**: 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, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-binary-authorization). --- google-cloud-binary-authorization-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-binary-authorization-bom/pom.xml b/google-cloud-binary-authorization-bom/pom.xml index a167dd8b..0c520054 100644 --- a/google-cloud-binary-authorization-bom/pom.xml +++ b/google-cloud-binary-authorization-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.13.1 + 1.0.0 Google Binary Authorization BOM diff --git a/pom.xml b/pom.xml index f6fca404..70618459 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.13.1 + 1.0.0 From 29895f3f843578e5753c182cdb4e1fa104c87a86 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 4 Aug 2021 23:05:23 +0000 Subject: [PATCH 18/25] chore: release gapic-generator-java v1.0.17 (#46) Committer: @miraleung PiperOrigin-RevId: 388499329 Source-Link: https://github.com/googleapis/googleapis/commit/bb0a090d9204110042ab5dee2ce9e06e8071ce54 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d196f38277f745f7d99d468c5af0950bc9925b44 --- .../stub/GrpcBinauthzManagementServiceV1Beta1Stub.java | 8 +++++++- .../google/cloud/binaryauthorization/v1beta1/Policy.java | 8 ++++---- .../cloud/binaryauthorization/v1beta1/resources.proto | 4 ++-- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java b/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java index 9d6d8f6c..95a088ed 100644 --- a/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java +++ b/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java @@ -352,7 +352,13 @@ public UnaryCallable deleteAttestorCallable() { @Override public final void close() { - shutdown(); + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } } @Override diff --git a/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java b/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java index bf0c612f..c8e61918 100644 --- a/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java +++ b/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java @@ -230,7 +230,7 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe * * *
-     * Enables global policy evaluation.
+     * Enables system policy evaluation.
      * 
* * ENABLE = 1; @@ -240,7 +240,7 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe * * *
-     * Disables global policy evaluation.
+     * Disables system policy evaluation.
      * 
* * DISABLE = 2; @@ -263,7 +263,7 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe * * *
-     * Enables global policy evaluation.
+     * Enables system policy evaluation.
      * 
* * ENABLE = 1; @@ -273,7 +273,7 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe * * *
-     * Disables global policy evaluation.
+     * Disables system policy evaluation.
      * 
* * DISABLE = 2; diff --git a/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto b/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto index ea674a7c..b596df9b 100644 --- a/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto +++ b/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto @@ -43,10 +43,10 @@ message Policy { // Not specified: DISABLE is assumed. GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED = 0; - // Enables global policy evaluation. + // Enables system policy evaluation. ENABLE = 1; - // Disables global policy evaluation. + // Disables system policy evaluation. DISABLE = 2; } From 6e8fd4b1fb93b8075af8c2536655e7d213c1622a Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 4 Aug 2021 23:27:23 +0000 Subject: [PATCH 19/25] feat!: release gapic-generator-java v2.0.0 (#47) Committer: @miraleung PiperOrigin-RevId: 388535346 Source-Link: https://github.com/googleapis/googleapis/commit/d9eaf41de44d953458b18712a3f240bb4c564e48 Source-Link: https://github.com/googleapis/googleapis-gen/commit/976c5ab6f24b58c91fe04847ead1953f99d19e6a --- ...inauthzManagementServiceV1Beta1Client.java | 8 +- ...authzManagementServiceV1Beta1Settings.java | 3 +- ...zManagementServiceV1Beta1StubSettings.java | 3 +- ...cBinauthzManagementServiceV1Beta1Stub.java | 79 +++++++------------ 4 files changed, 31 insertions(+), 62 deletions(-) diff --git a/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java b/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java index 3eeb3e63..99b13ea5 100644 --- a/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java +++ b/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java @@ -16,7 +16,6 @@ package com.google.cloud.binaryauthorization.v1beta1; -import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; @@ -981,12 +980,7 @@ public static ApiFuture createAsync( ListAttestorsPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListAttestorsPagedResponse apply(ListAttestorsPage input) { - return new ListAttestorsPagedResponse(input); - } - }, + input -> new ListAttestorsPagedResponse(input), MoreExecutors.directExecutor()); } diff --git a/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java b/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java index 58888917..a088c822 100644 --- a/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java +++ b/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java @@ -202,14 +202,13 @@ public BinauthzManagementServiceV1Beta1StubSettings.Builder getStubSettingsBuild return ((BinauthzManagementServiceV1Beta1StubSettings.Builder) getStubSettings()); } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; diff --git a/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java b/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java index bd3293d1..c7ff00a5 100644 --- a/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java +++ b/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java @@ -444,14 +444,13 @@ private static Builder initDefaults(Builder builder) { return builder; } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; } diff --git a/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java b/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java index 95a088ed..1a27b55a 100644 --- a/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java +++ b/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java @@ -24,7 +24,6 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.RequestParamsExtractor; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.binaryauthorization.v1beta1.Attestor; import com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest; @@ -42,7 +41,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; @@ -188,91 +186,70 @@ protected GrpcBinauthzManagementServiceV1Beta1Stub( GrpcCallSettings.newBuilder() .setMethodDescriptor(getPolicyMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetPolicyRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings updatePolicyTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(updatePolicyMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(UpdatePolicyRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("policy.name", String.valueOf(request.getPolicy().getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("policy.name", String.valueOf(request.getPolicy().getName())); + return params.build(); }) .build(); GrpcCallSettings createAttestorTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(createAttestorMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(CreateAttestorRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings getAttestorTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getAttestorMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetAttestorRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings updateAttestorTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(updateAttestorMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(UpdateAttestorRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("attestor.name", String.valueOf(request.getAttestor().getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("attestor.name", String.valueOf(request.getAttestor().getName())); + return params.build(); }) .build(); GrpcCallSettings listAttestorsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listAttestorsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListAttestorsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings deleteAttestorTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteAttestorMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteAttestorRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); From 29be188f5b2d0354cd07de063713713ae78b6d0e Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 5 Aug 2021 14:54:46 +0000 Subject: [PATCH 20/25] chore: remove java 7 units check (#1168) (#39) Source-Link: https://github.com/googleapis/synthtool/commit/1a2878d6909dd10ca4e3c1b5943d6622e996054e Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:12cbdc4f137152a1a8b83f50ebc1a4098be0d3baff78b46efaec306f7cfafd13 --- .github/.OwlBot.lock.yaml | 2 +- .github/workflows/ci.yaml | 2 +- README.md | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 7c4c1dfb..3f7432a5 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:8aaf4b4336ac8ca344681866b3a78f73be5999750179022393ecbedd7069acb5 + digest: sha256:12cbdc4f137152a1a8b83f50ebc1a4098be0d3baff78b46efaec306f7cfafd13 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0195b32f..65ae6ecd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [7, 8, 11] + java: [8, 11] steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 diff --git a/README.md b/README.md index 84191b0d..bd64b5f9 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,13 @@ Java idiomatic client for [Binary Authorization][product-docs]. > Note: This client is a work-in-progress, and may occasionally > make backwards-incompatible changes. + ## Quickstart If you are using Maven, add this to your pom.xml file: + ```xml com.google.cloud @@ -25,11 +27,13 @@ If you are using Maven, add this to your pom.xml file: ``` If you are using Gradle without BOM, add this to your dependencies + ```Groovy compile 'com.google.cloud:google-cloud-binary-authorization:0.1.1' ``` If you are using SBT, add this to your dependencies + ```Scala libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "0.1.1" ``` @@ -38,6 +42,10 @@ libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" See the [Authentication][authentication] section in the base directory's README. +## Authorization + +The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Binary Authorization APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Binary Authorization API calls. + ## Getting Started ### Prerequisites @@ -127,6 +135,7 @@ This library follows [Semantic Versioning](http://semver.org/). It is currently in major version zero (``0.y.z``), which means that anything may change at any time and the public API should not be considered stable. + ## Contributing @@ -138,6 +147,7 @@ Please note that this project is released with a Contributor Code of Conduct. By this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information. + ## License Apache 2.0 - See [LICENSE][license] for more information. @@ -170,6 +180,9 @@ Java is a registered trademark of Oracle and/or its affiliates. [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-binary-authorization.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-binary-authorization&core=gav [authentication]: https://github.com/googleapis/google-cloud-java#authentication +[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes +[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles +[iam-policy]: https://cloud.google.com/iam/docs/overview#cloud-iam-policy [developer-console]: https://console.developers.google.com/ [create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects [cloud-sdk]: https://cloud.google.com/sdk/ From 9a63166fad4e666f5a9fa937526e307c1dc4cf96 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 5 Aug 2021 15:22:39 -0400 Subject: [PATCH 21/25] chore: remove java7 units check from required checks in master (#50) --- .github/sync-repo-settings.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 84b918e8..ffd39f6f 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -13,7 +13,6 @@ branchProtectionRules: - linkage-monitor - lint - clirr - - units (7) - units (8) - units (11) - 'Kokoro - Test: Integration' From c06965200207f3784ff1517c8e5da7275649d254 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 6 Aug 2021 21:01:02 +0200 Subject: [PATCH 22/25] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2 (#48) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource 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-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `1.4.0` -> `2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.0.0/compatibility-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.0.0/confidence-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes

googleapis/java-shared-dependencies ### [`v2.0.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​200-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare140v200-2021-08-03) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v1.4.0...v2.0.0) ##### âš  BREAKING CHANGES - promote to 2.0.0 ([#​428](https://togithub.com/googleapis/java-shared-dependencies/issues/428)) ##### Features - promote to 2.0.0 ([#​428](https://www.github.com/googleapis/java-shared-dependencies/issues/428)) ([4db31f2](https://www.github.com/googleapis/java-shared-dependencies/commit/4db31f29f1668d4743e8af8996b0c4b30e6831b3)) ##### Documentation - we don't use this as a parent pom ([#​407](https://www.github.com/googleapis/java-shared-dependencies/issues/407)) ([4c86aaf](https://www.github.com/googleapis/java-shared-dependencies/commit/4c86aafc05097b6702056f5cb37736127b6df306)) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.12.4 ([#​398](https://www.github.com/googleapis/java-shared-dependencies/issues/398)) ([f0d49b5](https://www.github.com/googleapis/java-shared-dependencies/commit/f0d49b54ba334f9351c66c9924e3d0d2ed7c0016)) - update dependency com.google.api:api-common to v1.10.6 ([#​411](https://www.github.com/googleapis/java-shared-dependencies/issues/411)) ([79801b5](https://www.github.com/googleapis/java-shared-dependencies/commit/79801b5fee08a8c97e275ed3674ab6c83b204a90)) - update dependency com.google.api:api-common to v2 ([#​414](https://www.github.com/googleapis/java-shared-dependencies/issues/414)) ([17f6e68](https://www.github.com/googleapis/java-shared-dependencies/commit/17f6e68a2792843dd41d3877c095e97c052c5ac0)) - update dependency com.google.auth:google-auth-library-bom to v0.27.0 ([#​400](https://www.github.com/googleapis/java-shared-dependencies/issues/400)) ([0d5a95b](https://www.github.com/googleapis/java-shared-dependencies/commit/0d5a95b84076684f84b0fdbb93a706113f44457d)) - update dependency com.google.auth:google-auth-library-bom to v1 ([#​413](https://www.github.com/googleapis/java-shared-dependencies/issues/413)) ([94897d3](https://www.github.com/googleapis/java-shared-dependencies/commit/94897d30bb1cac0059e272b058f6221fb7e4733f)) - update dependency com.google.cloud:grpc-gcp to v1.1.0 ([#​403](https://www.github.com/googleapis/java-shared-dependencies/issues/403)) ([3cc59f1](https://www.github.com/googleapis/java-shared-dependencies/commit/3cc59f15ebb31a7f97c9f3d78057022afabe75e9)) - update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#​406](https://www.github.com/googleapis/java-shared-dependencies/issues/406)) ([2905787](https://www.github.com/googleapis/java-shared-dependencies/commit/29057879adeda8bc40a903ef3b5feafc83c3d972)) - update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#​426](https://www.github.com/googleapis/java-shared-dependencies/issues/426)) ([853b68b](https://www.github.com/googleapis/java-shared-dependencies/commit/853b68b16c88c3abb745ee1f71ba4bb317cbc680)) - update gax.version to v1.67.0 ([#​405](https://www.github.com/googleapis/java-shared-dependencies/issues/405)) ([632dcd0](https://www.github.com/googleapis/java-shared-dependencies/commit/632dcd0a9f10b034a2a2ec92c7c3413490dd2a03)) - update gax.version to v2 (major) ([#​418](https://www.github.com/googleapis/java-shared-dependencies/issues/418)) ([670a9e0](https://www.github.com/googleapis/java-shared-dependencies/commit/670a9e0a9588a7e592eb5dd8c0cb9ab08e07293e)) - update google.core.version to v1.96.1 ([#​417](https://www.github.com/googleapis/java-shared-dependencies/issues/417)) ([49db9cb](https://www.github.com/googleapis/java-shared-dependencies/commit/49db9cb473c8d3d794ad57a41cfc223239482174)) - update google.core.version to v2 (major) ([#​427](https://www.github.com/googleapis/java-shared-dependencies/issues/427)) ([8cc7a92](https://www.github.com/googleapis/java-shared-dependencies/commit/8cc7a922cc3ba10a157e3649d7a783bbbcbee010)) - update guava to 30.1.1-jre ([#​423](https://www.github.com/googleapis/java-shared-dependencies/issues/423)) ([94aca59](https://www.github.com/googleapis/java-shared-dependencies/commit/94aca597804d7b45aae22811b277c44281e62d64))
--- ### Configuration 📅 **Schedule**: 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, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-binary-authorization). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 70618459..1482a397 100644 --- a/pom.xml +++ b/pom.xml @@ -76,7 +76,7 @@ com.google.cloud google-cloud-shared-dependencies - 1.4.0 + 2.0.0 pom import From 7d21cd3acbccd41754ad52ff3474055b9c351eae Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 9 Aug 2021 18:06:14 +0000 Subject: [PATCH 23/25] chore: add preserve_gapic to java library generation options (#1160) (#33) There are cases when generating a library the gapic directory prefix should be preserved (veneer clients for example). This feature adds a new parameter `preserve_gapic` to `java.gapic_library` and `java.bazel_library` Source-Link: https://github.com/googleapis/synthtool/commit/f3309620b6d0a4003489c9fb179973a44ae19860 Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:177dd09a218f3a4f613685cb775ac1abbb1b0f0269781cbbd825fb3e28ebc410 --- .github/.OwlBot.lock.yaml | 2 +- .github/workflows/ci.yaml | 2 +- README.md | 13 ------------- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 3f7432a5..4679ddcc 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:12cbdc4f137152a1a8b83f50ebc1a4098be0d3baff78b46efaec306f7cfafd13 + digest: sha256:177dd09a218f3a4f613685cb775ac1abbb1b0f0269781cbbd825fb3e28ebc410 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 65ae6ecd..0195b32f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [8, 11] + java: [7, 8, 11] steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 diff --git a/README.md b/README.md index bd64b5f9..84191b0d 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,11 @@ Java idiomatic client for [Binary Authorization][product-docs]. > Note: This client is a work-in-progress, and may occasionally > make backwards-incompatible changes. - ## Quickstart If you are using Maven, add this to your pom.xml file: - ```xml com.google.cloud @@ -27,13 +25,11 @@ If you are using Maven, add this to your pom.xml file: ``` If you are using Gradle without BOM, add this to your dependencies - ```Groovy compile 'com.google.cloud:google-cloud-binary-authorization:0.1.1' ``` If you are using SBT, add this to your dependencies - ```Scala libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "0.1.1" ``` @@ -42,10 +38,6 @@ libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" See the [Authentication][authentication] section in the base directory's README. -## Authorization - -The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Binary Authorization APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Binary Authorization API calls. - ## Getting Started ### Prerequisites @@ -135,7 +127,6 @@ This library follows [Semantic Versioning](http://semver.org/). It is currently in major version zero (``0.y.z``), which means that anything may change at any time and the public API should not be considered stable. - ## Contributing @@ -147,7 +138,6 @@ Please note that this project is released with a Contributor Code of Conduct. By this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information. - ## License Apache 2.0 - See [LICENSE][license] for more information. @@ -180,9 +170,6 @@ Java is a registered trademark of Oracle and/or its affiliates. [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-binary-authorization.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-binary-authorization&core=gav [authentication]: https://github.com/googleapis/google-cloud-java#authentication -[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes -[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles -[iam-policy]: https://cloud.google.com/iam/docs/overview#cloud-iam-policy [developer-console]: https://console.developers.google.com/ [create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects [cloud-sdk]: https://cloud.google.com/sdk/ From 7ee7f88b06bd51c018f7e43b28b415b069d92ccd Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 9 Aug 2021 18:36:12 +0000 Subject: [PATCH 24/25] docs: Replace "global policy" with "system policy" in Binary Authorization documentation (#45) PiperOrigin-RevId: 387843916 Source-Link: https://github.com/googleapis/googleapis/commit/c03bfe0cdadaa62342a98617e2888da9a9ccd757 Source-Link: https://github.com/googleapis/googleapis-gen/commit/7598408747c43bef42446697c1c6adf40ff519cb From cc2d5d79467ba2943f2a6c9d67f9e8d43d47f69e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 9 Aug 2021 19:30:16 +0000 Subject: [PATCH 25/25] chore: release 0.2.0 (#27) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit :robot: I have created a release \*beep\* \*boop\* --- ## [0.2.0](https://www.github.com/googleapis/java-binary-authorization/compare/v0.1.1...v0.2.0) (2021-08-09) ### ⚠ BREAKING CHANGES * release gapic-generator-java v2.0.0 (#47) ### Features * release gapic-generator-java v2.0.0 ([#47](https://www.github.com/googleapis/java-binary-authorization/issues/47)) ([6e8fd4b](https://www.github.com/googleapis/java-binary-authorization/commit/6e8fd4b1fb93b8075af8c2536655e7d213c1622a)) ### Bug Fixes * Add `shopt -s nullglob` to dependencies script ([#1130](https://www.github.com/googleapis/java-binary-authorization/issues/1130)) ([#26](https://www.github.com/googleapis/java-binary-authorization/issues/26)) ([0b7ea96](https://www.github.com/googleapis/java-binary-authorization/commit/0b7ea968aedb1824a84e1a9abd35feae17ee3b3b)) * owlbot post-processor should generate README ([#1154](https://www.github.com/googleapis/java-binary-authorization/issues/1154)) ([#31](https://www.github.com/googleapis/java-binary-authorization/issues/31)) ([d40ffa2](https://www.github.com/googleapis/java-binary-authorization/commit/d40ffa289be02aa3e6bcfe9c50d688e2905addd1)), closes [#1146](https://www.github.com/googleapis/java-binary-authorization/issues/1146) [#1147](https://www.github.com/googleapis/java-binary-authorization/issues/1147) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v1.4.0 ([#28](https://www.github.com/googleapis/java-binary-authorization/issues/28)) ([4dda105](https://www.github.com/googleapis/java-binary-authorization/commit/4dda105fe56704810a5157afd17af47aadb4e67e)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2 ([#48](https://www.github.com/googleapis/java-binary-authorization/issues/48)) ([c069652](https://www.github.com/googleapis/java-binary-authorization/commit/c06965200207f3784ff1517c8e5da7275649d254)) ### Documentation * Replace "global policy" with "system policy" in Binary Authorization documentation ([#45](https://www.github.com/googleapis/java-binary-authorization/issues/45)) ([7ee7f88](https://www.github.com/googleapis/java-binary-authorization/commit/7ee7f88b06bd51c018f7e43b28b415b069d92ccd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 28 +++++++++++++++++++ google-cloud-binary-authorization-bom/pom.xml | 8 +++--- google-cloud-binary-authorization/pom.xml | 4 +-- .../pom.xml | 4 +-- pom.xml | 8 +++--- .../pom.xml | 4 +-- versions.txt | 6 ++-- 7 files changed, 45 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 187a3894..331cacb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +## [0.2.0](https://www.github.com/googleapis/java-binary-authorization/compare/v0.1.1...v0.2.0) (2021-08-09) + + +### ⚠ BREAKING CHANGES + +* release gapic-generator-java v2.0.0 (#47) + +### Features + +* release gapic-generator-java v2.0.0 ([#47](https://www.github.com/googleapis/java-binary-authorization/issues/47)) ([6e8fd4b](https://www.github.com/googleapis/java-binary-authorization/commit/6e8fd4b1fb93b8075af8c2536655e7d213c1622a)) + + +### Bug Fixes + +* Add `shopt -s nullglob` to dependencies script ([#1130](https://www.github.com/googleapis/java-binary-authorization/issues/1130)) ([#26](https://www.github.com/googleapis/java-binary-authorization/issues/26)) ([0b7ea96](https://www.github.com/googleapis/java-binary-authorization/commit/0b7ea968aedb1824a84e1a9abd35feae17ee3b3b)) +* owlbot post-processor should generate README ([#1154](https://www.github.com/googleapis/java-binary-authorization/issues/1154)) ([#31](https://www.github.com/googleapis/java-binary-authorization/issues/31)) ([d40ffa2](https://www.github.com/googleapis/java-binary-authorization/commit/d40ffa289be02aa3e6bcfe9c50d688e2905addd1)), closes [#1146](https://www.github.com/googleapis/java-binary-authorization/issues/1146) [#1147](https://www.github.com/googleapis/java-binary-authorization/issues/1147) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.4.0 ([#28](https://www.github.com/googleapis/java-binary-authorization/issues/28)) ([4dda105](https://www.github.com/googleapis/java-binary-authorization/commit/4dda105fe56704810a5157afd17af47aadb4e67e)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2 ([#48](https://www.github.com/googleapis/java-binary-authorization/issues/48)) ([c069652](https://www.github.com/googleapis/java-binary-authorization/commit/c06965200207f3784ff1517c8e5da7275649d254)) + + +### Documentation + +* Replace "global policy" with "system policy" in Binary Authorization documentation ([#45](https://www.github.com/googleapis/java-binary-authorization/issues/45)) ([7ee7f88](https://www.github.com/googleapis/java-binary-authorization/commit/7ee7f88b06bd51c018f7e43b28b415b069d92ccd)) + ### [0.1.1](https://www.github.com/googleapis/java-binary-authorization/compare/v0.1.0...v0.1.1) (2021-06-09) diff --git a/google-cloud-binary-authorization-bom/pom.xml b/google-cloud-binary-authorization-bom/pom.xml index 0c520054..7f20e72d 100644 --- a/google-cloud-binary-authorization-bom/pom.xml +++ b/google-cloud-binary-authorization-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-binary-authorization-bom - 0.1.2-SNAPSHOT + 0.2.0 pom com.google.cloud @@ -56,17 +56,17 @@ com.google.cloud google-cloud-binary-authorization - 0.1.2-SNAPSHOT + 0.2.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1beta1 - 0.1.2-SNAPSHOT + 0.2.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1beta1 - 0.1.2-SNAPSHOT + 0.2.0
diff --git a/google-cloud-binary-authorization/pom.xml b/google-cloud-binary-authorization/pom.xml index 4fbeb6d8..39d566b7 100644 --- a/google-cloud-binary-authorization/pom.xml +++ b/google-cloud-binary-authorization/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-binary-authorization - 0.1.2-SNAPSHOT + 0.2.0 jar Google Binary Authorization https://github.com/googleapis/java-binary-authorization @@ -11,7 +11,7 @@ com.google.cloud google-cloud-binary-authorization-parent - 0.1.2-SNAPSHOT + 0.2.0 google-cloud-binary-authorization diff --git a/grpc-google-cloud-binary-authorization-v1beta1/pom.xml b/grpc-google-cloud-binary-authorization-v1beta1/pom.xml index 36c72524..87dc081c 100644 --- a/grpc-google-cloud-binary-authorization-v1beta1/pom.xml +++ b/grpc-google-cloud-binary-authorization-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1beta1 - 0.1.2-SNAPSHOT + 0.2.0 grpc-google-cloud-binary-authorization-v1beta1 GRPC library for google-cloud-binary-authorization com.google.cloud google-cloud-binary-authorization-parent - 0.1.2-SNAPSHOT + 0.2.0 diff --git a/pom.xml b/pom.xml index 1482a397..b061c912 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-binary-authorization-parent pom - 0.1.2-SNAPSHOT + 0.2.0 Google Binary Authorization Parent https://github.com/googleapis/java-binary-authorization @@ -60,17 +60,17 @@ com.google.cloud google-cloud-binary-authorization - 0.1.2-SNAPSHOT + 0.2.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1beta1 - 0.1.2-SNAPSHOT + 0.2.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1beta1 - 0.1.2-SNAPSHOT + 0.2.0 diff --git a/proto-google-cloud-binary-authorization-v1beta1/pom.xml b/proto-google-cloud-binary-authorization-v1beta1/pom.xml index ccb7e5f3..1d0106f3 100644 --- a/proto-google-cloud-binary-authorization-v1beta1/pom.xml +++ b/proto-google-cloud-binary-authorization-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1beta1 - 0.1.2-SNAPSHOT + 0.2.0 proto-google-cloud-binary-authorization-v1beta1 Proto library for google-cloud-binary-authorization com.google.cloud google-cloud-binary-authorization-parent - 0.1.2-SNAPSHOT + 0.2.0 diff --git a/versions.txt b/versions.txt index c29ee757..3cfcbb02 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-binary-authorization:0.1.1:0.1.2-SNAPSHOT -grpc-google-cloud-binary-authorization-v1beta1:0.1.1:0.1.2-SNAPSHOT -proto-google-cloud-binary-authorization-v1beta1:0.1.1:0.1.2-SNAPSHOT +google-cloud-binary-authorization:0.2.0:0.2.0 +grpc-google-cloud-binary-authorization-v1beta1:0.2.0:0.2.0 +proto-google-cloud-binary-authorization-v1beta1:0.2.0:0.2.0