diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 3d2f8282..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:a4d7b2cfc6a9d6b378a6b2458740eae15fcab28854bd23dad3a15102d2e47c87 + digest: sha256:7c853edc4136ae8f19f9d46d4569d38de2e446db2eea057f32e412bdba255846 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index b0560192..c9ce4b33 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. notebooks 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/build.sh b/.kokoro/build.sh index 24ad54c2..efdf39d1 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -47,15 +47,15 @@ set +e case ${JOB_TYPE} in test) - mvn test -B -Dclirr.skip=true -Denforcer.skip=true + mvn test -B -ntp -Dclirr.skip=true -Denforcer.skip=true RETURN_CODE=$? ;; lint) - mvn com.coveo:fmt-maven-plugin:check + mvn com.coveo:fmt-maven-plugin:check -B -ntp RETURN_CODE=$? ;; javadoc) - mvn javadoc:javadoc javadoc:test-javadoc + mvn javadoc:javadoc javadoc:test-javadoc -B -ntp RETURN_CODE=$? ;; integration) @@ -71,7 +71,7 @@ integration) ;; graalvm) # Run Unit and Integration Tests with Native Image - mvn -ntp -Pnative -Penable-integration-tests test + mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; samples) @@ -104,7 +104,7 @@ samples) fi ;; clirr) - mvn -B -Denforcer.skip=true clirr:check + mvn -B -ntp -Denforcer.skip=true clirr:check RETURN_CODE=$? ;; *) 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 22f61c34..296cd68e 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -1,10 +1,10 @@ { - "name": "notebooks", + "api_shortname": "notebooks", "name_pretty": "AI Platform Notebooks", "product_documentation": "https://cloud.google.com/ai-platform-notebooks", "api_description": "is a managed service that offers an integrated and secure JupyterLab environment for data scientists and machine learning developers to experiment, develop, and deploy models into production. Users can create instances running JupyterLab that come pre-installed with the latest data science and machine learning frameworks in a single click.", "client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/history", - "release_level": "beta", + "release_level": "stable", "transport": "grpc", "language": "java", "repo": "googleapis/java-notebooks", diff --git a/CHANGELOG.md b/CHANGELOG.md index 6933f0d2..5e96b882 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [1.0.0](https://github.com/googleapis/java-notebooks/compare/v0.6.2...v1.0.0) (2022-02-03) + + +### Features + +* promote to GA ([#311](https://github.com/googleapis/java-notebooks/issues/311)) ([b711d42](https://github.com/googleapis/java-notebooks/commit/b711d422b4f49e91e984400f400e721c8304ddcd)) + + +### Dependencies + +* **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-notebooks/issues/1339)) ([#314](https://github.com/googleapis/java-notebooks/issues/314)) ([b50f1d5](https://github.com/googleapis/java-notebooks/commit/b50f1d5086d34c839d0d248ddd4c572cc4a96093)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#316](https://github.com/googleapis/java-notebooks/issues/316)) ([6698ede](https://github.com/googleapis/java-notebooks/commit/6698edef85f9a5c7cc043557741f62a0298cb1ea)) + ### [0.6.2](https://www.github.com/googleapis/java-notebooks/compare/v0.6.1...v0.6.2) (2022-01-07) diff --git a/README.md b/README.md index 84e8c9e4..bf7d5570 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,6 @@ Java idiomatic client for [AI Platform Notebooks][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,7 +19,7 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-notebooks - 0.6.1 + 0.6.2 ``` @@ -30,13 +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 -implementation 'com.google.cloud:google-cloud-notebooks:0.6.1' +implementation 'com.google.cloud:google-cloud-notebooks:0.6.2' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-notebooks" % "0.6.1" +libraryDependencies += "com.google.cloud" % "google-cloud-notebooks" % "0.6.2" ``` ## Authentication @@ -133,9 +130,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 @@ -176,7 +170,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-notebooks/java8-win.html [kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-notebooks/java11.svg [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-notebooks/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-notebooks.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-notebooks&core=gav [authentication]: https://github.com/googleapis/google-cloud-java#authentication diff --git a/google-cloud-notebooks-bom/pom.xml b/google-cloud-notebooks-bom/pom.xml index 80f06918..a95ca3d9 100644 --- a/google-cloud-notebooks-bom/pom.xml +++ b/google-cloud-notebooks-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-notebooks-bom - 0.6.2 + 1.0.0 pom com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.6 Google AI Platform Notebooks BOM @@ -56,27 +56,27 @@ com.google.cloud google-cloud-notebooks - 0.6.2 + 1.0.0 com.google.api.grpc grpc-google-cloud-notebooks-v1beta1 - 0.6.2 + 0.7.0 com.google.api.grpc grpc-google-cloud-notebooks-v1 - 0.6.2 + 1.0.0 com.google.api.grpc proto-google-cloud-notebooks-v1beta1 - 0.6.2 + 0.7.0 com.google.api.grpc proto-google-cloud-notebooks-v1 - 0.6.2 + 1.0.0 diff --git a/google-cloud-notebooks/pom.xml b/google-cloud-notebooks/pom.xml index cc721e7c..a7e8bb95 100644 --- a/google-cloud-notebooks/pom.xml +++ b/google-cloud-notebooks/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-notebooks - 0.6.2 + 1.0.0 jar Google AI Platform Notebooks https://github.com/googleapis/java-notebooks @@ -11,7 +11,7 @@ com.google.cloud google-cloud-notebooks-parent - 0.6.2 + 1.0.0 google-cloud-notebooks diff --git a/grpc-google-cloud-notebooks-v1/pom.xml b/grpc-google-cloud-notebooks-v1/pom.xml index ec021cf2..abb58e2b 100644 --- a/grpc-google-cloud-notebooks-v1/pom.xml +++ b/grpc-google-cloud-notebooks-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-notebooks-v1 - 0.6.2 + 1.0.0 grpc-google-cloud-notebooks-v1 GRPC library for google-cloud-notebooks com.google.cloud google-cloud-notebooks-parent - 0.6.2 + 1.0.0 diff --git a/grpc-google-cloud-notebooks-v1beta1/pom.xml b/grpc-google-cloud-notebooks-v1beta1/pom.xml index d6bbac4e..372538d7 100644 --- a/grpc-google-cloud-notebooks-v1beta1/pom.xml +++ b/grpc-google-cloud-notebooks-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-notebooks-v1beta1 - 0.6.2 + 0.7.0 grpc-google-cloud-notebooks-v1beta1 GRPC library for grpc-google-cloud-notebooks-v1beta1 com.google.cloud google-cloud-notebooks-parent - 0.6.2 + 1.0.0 diff --git a/pom.xml b/pom.xml index 07e04849..3e124542 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-notebooks-parent pom - 0.6.2 + 1.0.0 Google AI Platform Notebooks Parent https://github.com/googleapis/java-notebooks @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.6 @@ -61,33 +61,33 @@ com.google.cloud google-cloud-notebooks - 0.6.2 + 1.0.0 com.google.api.grpc proto-google-cloud-notebooks-v1 - 0.6.2 + 1.0.0 com.google.api.grpc grpc-google-cloud-notebooks-v1 - 0.6.2 + 1.0.0 com.google.api.grpc proto-google-cloud-notebooks-v1beta1 - 0.6.2 + 0.7.0 com.google.api.grpc grpc-google-cloud-notebooks-v1beta1 - 0.6.2 + 0.7.0 com.google.cloud google-cloud-shared-dependencies - 2.6.0 + 2.7.0 pom import diff --git a/proto-google-cloud-notebooks-v1/pom.xml b/proto-google-cloud-notebooks-v1/pom.xml index e998f3bc..f01a3952 100644 --- a/proto-google-cloud-notebooks-v1/pom.xml +++ b/proto-google-cloud-notebooks-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-notebooks-v1 - 0.6.2 + 1.0.0 proto-google-cloud-notebooks-v1 Proto library for google-cloud-notebooks com.google.cloud google-cloud-notebooks-parent - 0.6.2 + 1.0.0 diff --git a/proto-google-cloud-notebooks-v1beta1/pom.xml b/proto-google-cloud-notebooks-v1beta1/pom.xml index d93358ff..fdce4234 100644 --- a/proto-google-cloud-notebooks-v1beta1/pom.xml +++ b/proto-google-cloud-notebooks-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-notebooks-v1beta1 - 0.6.2 + 0.7.0 proto-google-cloud-notebooks-v1beta1 PROTO library for proto-google-cloud-notebooks-v1beta1 com.google.cloud google-cloud-notebooks-parent - 0.6.2 + 1.0.0 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 44b2810a..4c3b9a39 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-notebooks - 0.6.1 + 0.6.2 @@ -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 3d74879c..db460492 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-notebooks - 0.6.2 + 1.0.0 @@ -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 4659597c..a0c34a0d 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-notebooks - 0.6.1 + 0.6.2 diff --git a/versions.txt b/versions.txt index d78153a9..d1798698 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-notebooks:0.6.2:0.6.2 -grpc-google-cloud-notebooks-v1beta1:0.6.2:0.6.2 -grpc-google-cloud-notebooks-v1:0.6.2:0.6.2 -proto-google-cloud-notebooks-v1beta1:0.6.2:0.6.2 -proto-google-cloud-notebooks-v1:0.6.2:0.6.2 +google-cloud-notebooks:1.0.0:1.0.0 +grpc-google-cloud-notebooks-v1beta1:0.7.0:0.7.0 +grpc-google-cloud-notebooks-v1:1.0.0:1.0.0 +proto-google-cloud-notebooks-v1beta1:0.7.0:0.7.0 +proto-google-cloud-notebooks-v1:1.0.0:1.0.0