diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 731a0eb4..8807efca 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,16 @@ +# 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. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:491a007c6bd6e77f9e9b1bebcd6cdf08a4a4ef2c228c123d9696845204cb685d + digest: sha256:7c853edc4136ae8f19f9d46d4569d38de2e446db2eea057f32e412bdba255846 diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 30fdb7b9..5f9903d5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4,7 +4,9 @@ # For syntax help see: # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax -* @googleapis/yoshi-java +# The @googleapis/aap-dpes is the default owner for changes in this repo +* @googleapis/yoshi-java @googleapis/aap-dpes +**/*.java @googleapis/aap-dpes # The java-samples-reviewers team is the default owner for samples changes samples/**/*.java @googleapis/java-samples-reviewers diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index d7580dac..f6398fb9 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -21,7 +21,7 @@ If you are still having issues, please include as much information as possible: General, Core, and Other are also allowed as types 2. OS type and version: 3. Java version: -4. binary-authorization version(s): +4. version(s): #### Steps to reproduce diff --git a/.github/workflows/approve-readme.yaml b/.github/workflows/approve-readme.yaml index 7513acae..c5132427 100644 --- a/.github/workflows/approve-readme.yaml +++ b/.github/workflows/approve-readme.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' steps: - - uses: actions/github-script@v3 + - uses: actions/github-script@v5 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} script: | diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 9b4fd4d8..59c7cadd 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: contains(github.head_ref, 'release-please') steps: - - uses: actions/github-script@v3 + - uses: actions/github-script@v5 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true diff --git a/.kokoro/nightly/java11-integration.cfg b/.kokoro/nightly/java11-integration.cfg new file mode 100644 index 00000000..58049cc3 --- /dev/null +++ b/.kokoro/nightly/java11-integration.cfg @@ -0,0 +1,37 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-public-resources/java11014" +} + +env_vars: { + key: "JOB_TYPE" + value: "integration" +} +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "ENABLE_FLAKYBOT" + value: "true" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} diff --git a/.repo-metadata.json b/.repo-metadata.json index 0e41ddf7..7516b2d5 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -1,10 +1,10 @@ { - "name": "binary-authorization", + "api_shortname": "binaryauthorization", "name_pretty": "Binary Authorization", "product_documentation": "https://cloud.google.com/binary-authorization/docs", "api_description": " 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", "client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/history", - "release_level": "beta", + "release_level": "stable", "transport": "grpc", "language": "java", "repo": "googleapis/java-binary-authorization", @@ -12,5 +12,6 @@ "distribution_name": "com.google.cloud:google-cloud-binary-authorization", "api_id": "binary-authorization.googleapis.com", "requires_billing": true, + "codeowner_team": "@googleapis/aap-dpes", "library_type": "GAPIC_AUTO" } diff --git a/CHANGELOG.md b/CHANGELOG.md index a4f64ba2..a3d30819 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [1.0.0](https://github.com/googleapis/java-binary-authorization/compare/v0.4.1...v1.0.0) (2022-02-03) + + +### Features + +* promote to GA ([#147](https://github.com/googleapis/java-binary-authorization/issues/147)) ([f64e755](https://github.com/googleapis/java-binary-authorization/commit/f64e75577b3cb30db219ee19134e7d02abf0ecc3)) + + +### Dependencies + +* **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-binary-authorization/issues/1339)) ([#151](https://github.com/googleapis/java-binary-authorization/issues/151)) ([6ef4a2c](https://github.com/googleapis/java-binary-authorization/commit/6ef4a2ca0a4673ae5b0788d28e45bafe6d361803)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#154](https://github.com/googleapis/java-binary-authorization/issues/154)) ([010fea6](https://github.com/googleapis/java-binary-authorization/commit/010fea6e7fda31e4c9bc5642560340831337d3ae)) +* update dependency io.grafeas:grafeas to v2.2.0 ([#138](https://github.com/googleapis/java-binary-authorization/issues/138)) ([1d0e567](https://github.com/googleapis/java-binary-authorization/commit/1d0e567bee55a6eff0daa831449e3f090a22981b)) + ### [0.4.1](https://www.github.com/googleapis/java-binary-authorization/compare/v0.4.0...v0.4.1) (2022-01-07) diff --git a/README.md b/README.md index 3b735cbb..76a247ed 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,6 @@ Java idiomatic client for [Binary Authorization][product-docs]. - [Product Documentation][product-docs] - [Client Library Documentation][javadocs] -> Note: This client is a work-in-progress, and may occasionally -> make backwards-incompatible changes. - ## Quickstart @@ -22,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-binary-authorization - 0.4.0 + 0.4.1 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-binary-authorization:0.4.0' +implementation 'com.google.cloud:google-cloud-binary-authorization:0.4.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "0.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "0.4.1" ``` ## Authentication @@ -132,9 +129,6 @@ and on [google-cloud-java][g-c-j]. 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 @@ -175,7 +169,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-binary-authorization/java8-win.html [kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-binary-authorization/java11.svg [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-binary-authorization/java11.html -[stability-image]: https://img.shields.io/badge/stability-beta-yellow +[stability-image]: https://img.shields.io/badge/stability-stable-green [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 diff --git a/google-cloud-binary-authorization-bom/pom.xml b/google-cloud-binary-authorization-bom/pom.xml index ee699441..78e9593b 100644 --- a/google-cloud-binary-authorization-bom/pom.xml +++ b/google-cloud-binary-authorization-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-binary-authorization-bom - 0.4.1 + 1.0.0 pom com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.6 Google Binary Authorization BOM @@ -56,27 +56,27 @@ com.google.cloud google-cloud-binary-authorization - 0.4.1 + 1.0.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1beta1 - 0.4.1 + 0.5.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1 - 0.4.1 + 1.0.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1beta1 - 0.4.1 + 0.5.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1 - 0.4.1 + 1.0.0 diff --git a/google-cloud-binary-authorization/pom.xml b/google-cloud-binary-authorization/pom.xml index c175c9d6..96c806b1 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.4.1 + 1.0.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.4.1 + 1.0.0 google-cloud-binary-authorization diff --git a/grpc-google-cloud-binary-authorization-v1/pom.xml b/grpc-google-cloud-binary-authorization-v1/pom.xml index 629da10e..72322eaf 100644 --- a/grpc-google-cloud-binary-authorization-v1/pom.xml +++ b/grpc-google-cloud-binary-authorization-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1 - 0.4.1 + 1.0.0 grpc-google-cloud-binary-authorization-v1 GRPC library for google-cloud-binary-authorization com.google.cloud google-cloud-binary-authorization-parent - 0.4.1 + 1.0.0 diff --git a/grpc-google-cloud-binary-authorization-v1beta1/pom.xml b/grpc-google-cloud-binary-authorization-v1beta1/pom.xml index 54c439c4..b9d9e652 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.4.1 + 0.5.0 grpc-google-cloud-binary-authorization-v1beta1 GRPC library for google-cloud-binary-authorization com.google.cloud google-cloud-binary-authorization-parent - 0.4.1 + 1.0.0 diff --git a/pom.xml b/pom.xml index 2e6afd37..d812f0cd 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-binary-authorization-parent pom - 0.4.1 + 1.0.0 Google Binary Authorization Parent https://github.com/googleapis/java-binary-authorization @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.6 @@ -60,39 +60,39 @@ com.google.cloud google-cloud-binary-authorization - 0.4.1 + 1.0.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1 - 0.4.1 + 1.0.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1 - 0.4.1 + 1.0.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1beta1 - 0.4.1 + 0.5.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1beta1 - 0.4.1 + 0.5.0 io.grafeas grafeas - 2.1.3 + 2.2.0 com.google.cloud google-cloud-shared-dependencies - 2.6.0 + 2.7.0 pom import diff --git a/proto-google-cloud-binary-authorization-v1/pom.xml b/proto-google-cloud-binary-authorization-v1/pom.xml index 4d89a5fe..607df287 100644 --- a/proto-google-cloud-binary-authorization-v1/pom.xml +++ b/proto-google-cloud-binary-authorization-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1 - 0.4.1 + 1.0.0 proto-google-cloud-binary-authorization-v1 Proto library for google-cloud-binary-authorization com.google.cloud google-cloud-binary-authorization-parent - 0.4.1 + 1.0.0 diff --git a/proto-google-cloud-binary-authorization-v1beta1/pom.xml b/proto-google-cloud-binary-authorization-v1beta1/pom.xml index 1f40cccf..bc983b89 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.4.1 + 0.5.0 proto-google-cloud-binary-authorization-v1beta1 Proto library for google-cloud-binary-authorization com.google.cloud google-cloud-binary-authorization-parent - 0.4.1 + 1.0.0 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index ee13f8a0..702955ca 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.4.0 + 0.4.1 @@ -53,7 +53,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.2.0 + 3.3.0 add-snippets-source diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index f79e2d60..7d4c4c04 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-binary-authorization - 0.4.0 + 0.4.1 @@ -52,7 +52,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.2.0 + 3.3.0 add-snippets-source diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index a214029a..d9768700 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-binary-authorization - 0.4.0 + 0.4.1 diff --git a/versions.txt b/versions.txt index 528b099e..1df8d769 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-binary-authorization:0.4.1:0.4.1 -grpc-google-cloud-binary-authorization-v1beta1:0.4.1:0.4.1 -grpc-google-cloud-binary-authorization-v1:0.4.1:0.4.1 -proto-google-cloud-binary-authorization-v1beta1:0.4.1:0.4.1 -proto-google-cloud-binary-authorization-v1:0.4.1:0.4.1 +google-cloud-binary-authorization:1.0.0:1.0.0 +grpc-google-cloud-binary-authorization-v1beta1:0.5.0:0.5.0 +grpc-google-cloud-binary-authorization-v1:1.0.0:1.0.0 +proto-google-cloud-binary-authorization-v1beta1:0.5.0:0.5.0 +proto-google-cloud-binary-authorization-v1:1.0.0:1.0.0