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/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 2aa17122..b51e3a33 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. functions 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 dd5cfe1b..894b081d 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 ed1b3280..73d4facc 100644
--- a/.repo-metadata.json
+++ b/.repo-metadata.json
@@ -1,10 +1,10 @@
{
- "name": "functions",
+ "api_shortname": "cloudfunctions",
"name_pretty": "Cloud Functions",
"product_documentation": "https://cloud.google.com/functions",
"api_description": "is a scalable pay as you go Functions-as-a-Service (FaaS) to run your code with zero server management.",
"client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-functions/latest/history",
- "release_level": "ga",
+ "release_level": "stable",
"transport": "grpc",
"language": "java",
"repo": "googleapis/java-functions",
@@ -12,5 +12,6 @@
"distribution_name": "com.google.cloud:google-cloud-functions",
"api_id": "cloudfunctions.googleapis.com",
"requires_billing": true,
- "library_type": "GAPIC_AUTO"
- }
\ No newline at end of file
+ "library_type": "GAPIC_AUTO",
+ "codeowner_team": "@googleapis/aap-dpes"
+ }
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5ee664d6..c92ae225 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,14 @@
# Changelog
+### [2.3.2](https://github.com/googleapis/java-functions/compare/v2.3.1...v2.3.2) (2022-02-03)
+
+
+### Dependencies
+
+* **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-functions/issues/1339)) ([#366](https://github.com/googleapis/java-functions/issues/366)) ([850ea5a](https://github.com/googleapis/java-functions/commit/850ea5aa20e0c95bbb2252c18a7b75277a756abf))
+* update actions/github-script action to v5 ([#365](https://github.com/googleapis/java-functions/issues/365)) ([2c4854a](https://github.com/googleapis/java-functions/commit/2c4854a4a41284da8eaa3620ae5732dc918a71f6))
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#368](https://github.com/googleapis/java-functions/issues/368)) ([f2f9d3b](https://github.com/googleapis/java-functions/commit/f2f9d3b097a208067449bcae7dc923b7947dcb38))
+
### [2.3.1](https://www.github.com/googleapis/java-functions/compare/v2.3.0...v2.3.1) (2022-01-07)
diff --git a/README.md b/README.md
index af3e3d07..a9d35dbc 100644
--- a/README.md
+++ b/README.md
@@ -19,21 +19,20 @@ If you are using Maven, add this to your pom.xml file:
com.google.cloud
google-cloud-functions
- 2.3.0
+ 2.3.1
-
```
If you are using Gradle without BOM, add this to your dependencies
```Groovy
-implementation 'com.google.cloud:google-cloud-functions:2.3.0'
+implementation 'com.google.cloud:google-cloud-functions:2.3.1'
```
If you are using SBT, add this to your dependencies
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.3.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.3.1"
```
## Authentication
@@ -170,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-functions/java8-win.html
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-functions/java11.svg
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-functions/java11.html
-[stability-image]: https://img.shields.io/badge/stability-ga-green
+[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-functions.svg
[maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-functions&core=gav
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
diff --git a/google-cloud-functions-bom/pom.xml b/google-cloud-functions-bom/pom.xml
index bc91b4f3..a9c97e23 100644
--- a/google-cloud-functions-bom/pom.xml
+++ b/google-cloud-functions-bom/pom.xml
@@ -3,12 +3,12 @@
4.0.0
com.google.cloud
google-cloud-functions-bom
- 2.3.1
+ 2.3.2
pom
com.google.cloud
google-cloud-shared-config
- 1.2.4
+ 1.2.6
Google Cloud Functions BOM
@@ -56,17 +56,17 @@
com.google.cloud
google-cloud-functions
- 2.3.1
+ 2.3.2
com.google.api.grpc
grpc-google-cloud-functions-v1
- 2.3.1
+ 2.3.2
com.google.api.grpc
proto-google-cloud-functions-v1
- 2.3.1
+ 2.3.2
diff --git a/google-cloud-functions/pom.xml b/google-cloud-functions/pom.xml
index d33df7c4..b6df9f3e 100644
--- a/google-cloud-functions/pom.xml
+++ b/google-cloud-functions/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-functions
- 2.3.1
+ 2.3.2
jar
Google Cloud Functions
https://github.com/googleapis/java-functions
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-functions-parent
- 2.3.1
+ 2.3.2
google-cloud-functions
diff --git a/grpc-google-cloud-functions-v1/pom.xml b/grpc-google-cloud-functions-v1/pom.xml
index 7be1f75d..67d4d940 100644
--- a/grpc-google-cloud-functions-v1/pom.xml
+++ b/grpc-google-cloud-functions-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-functions-v1
- 2.3.1
+ 2.3.2
grpc-google-cloud-functions-v1
GRPC library for grpc-google-cloud-functions-v1
com.google.cloud
google-cloud-functions-parent
- 2.3.1
+ 2.3.2
diff --git a/pom.xml b/pom.xml
index 200d8e7d..13fb1935 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-functions-parent
pom
- 2.3.1
+ 2.3.2
Google Cloud Functions Parent
https://github.com/googleapis/java-functions
@@ -14,7 +14,7 @@
com.google.cloud
google-cloud-shared-config
- 1.2.4
+ 1.2.6
@@ -61,23 +61,23 @@
com.google.cloud
google-cloud-functions
- 2.3.1
+ 2.3.2
com.google.api.grpc
proto-google-cloud-functions-v1
- 2.3.1
+ 2.3.2
com.google.api.grpc
grpc-google-cloud-functions-v1
- 2.3.1
+ 2.3.2
com.google.cloud
google-cloud-shared-dependencies
- 2.6.0
+ 2.7.0
pom
import
@@ -120,7 +120,7 @@
org.apache.maven.plugins
maven-project-info-reports-plugin
- 3.1.1
+ 3.1.2
diff --git a/proto-google-cloud-functions-v1/pom.xml b/proto-google-cloud-functions-v1/pom.xml
index f7e452ba..3be6be49 100644
--- a/proto-google-cloud-functions-v1/pom.xml
+++ b/proto-google-cloud-functions-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-functions-v1
- 2.3.1
+ 2.3.2
proto-google-cloud-functions-v1
PROTO library for proto-google-cloud-functions-v1
com.google.cloud
google-cloud-functions-parent
- 2.3.1
+ 2.3.2
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 7a7fc5ce..9e3d9d6e 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-functions
- 2.3.0
+ 2.3.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 001d64ad..38351b23 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-functions
- 2.3.0
+ 2.3.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 40bba61c..6136a3a6 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-functions
- 2.3.0
+ 2.3.1
diff --git a/versions.txt b/versions.txt
index 19d33225..871fd2a8 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-functions:2.3.1:2.3.1
-grpc-google-cloud-functions-v1:2.3.1:2.3.1
-proto-google-cloud-functions-v1:2.3.1:2.3.1
+google-cloud-functions:2.3.2:2.3.2
+grpc-google-cloud-functions-v1:2.3.2:2.3.2
+proto-google-cloud-functions-v1:2.3.2:2.3.2