From 2bd57d74bdbd0786b537bb8adee53a309eb044b1 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Tue, 8 Mar 2022 02:40:20 +0000
Subject: [PATCH 01/13] chore: update java template (#1367) (#898)
* chore: update java template
* chore: fix tests
* chore: fix tests
* chore: update project
Source-Link: https://github.com/googleapis/synthtool/commit/1155a97fed1c195d10ad406d483bc8ac2507f1d7
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa
---
.github/.OwlBot.lock.yaml | 2 +-
.kokoro/nightly/integration.cfg | 4 ++--
README.md | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 3473042c0..426cf83e2 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,4 +13,4 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
- digest: sha256:df8d7b2cc0dbc65871e7edd86601901a0612b272fa3f7f0eb590c5c53aa5f92e
+ digest: sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa
diff --git a/.kokoro/nightly/integration.cfg b/.kokoro/nightly/integration.cfg
index e51c7b4c6..a2907a257 100644
--- a/.kokoro/nightly/integration.cfg
+++ b/.kokoro/nightly/integration.cfg
@@ -13,12 +13,12 @@ env_vars: {
# TODO: remove this after we've migrated all tests and scripts
env_vars: {
key: "GCLOUD_PROJECT"
- value: "gcloud-devel"
+ value: "java-docs-samples-testing"
}
env_vars: {
key: "GOOGLE_CLOUD_PROJECT"
- value: "gcloud-devel"
+ value: "java-docs-samples-testing"
}
env_vars: {
diff --git a/README.md b/README.md
index af561067b..c343b944a 100644
--- a/README.md
+++ b/README.md
@@ -58,13 +58,13 @@ implementation 'com.google.cloud:google-cloud-logging'
If you are using Gradle without BOM, add this to your dependencies
```Groovy
-implementation 'com.google.cloud:google-cloud-logging:3.7.0'
+implementation 'com.google.cloud:google-cloud-logging:3.7.1'
```
If you are using SBT, add this to your dependencies
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "3.7.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "3.7.1"
```
## Authentication
From 5786ffe137326d01cd000b43866fc0d41f1c7f7a Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Tue, 8 Mar 2022 02:50:34 +0000
Subject: [PATCH 02/13] chore(main): release 3.7.2-SNAPSHOT (#895)
: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-logging-bom/pom.xml | 8 ++++----
google-cloud-logging/pom.xml | 4 ++--
grpc-google-cloud-logging-v2/pom.xml | 4 ++--
pom.xml | 8 ++++----
proto-google-cloud-logging-v2/pom.xml | 4 ++--
samples/snapshot/pom.xml | 2 +-
versions.txt | 6 +++---
7 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/google-cloud-logging-bom/pom.xml b/google-cloud-logging-bom/pom.xml
index 177ff8ede..614da34fb 100644
--- a/google-cloud-logging-bom/pom.xml
+++ b/google-cloud-logging-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-logging-bom
- 3.7.1
+ 3.7.2-SNAPSHOT
pom
com.google.cloud
@@ -53,17 +53,17 @@
com.google.cloud
google-cloud-logging
- 3.7.1
+ 3.7.2-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-logging-v2
- 0.96.1
+ 0.96.2-SNAPSHOT
com.google.api.grpc
proto-google-cloud-logging-v2
- 0.96.1
+ 0.96.2-SNAPSHOT
diff --git a/google-cloud-logging/pom.xml b/google-cloud-logging/pom.xml
index b9c513a3c..77d29ae44 100644
--- a/google-cloud-logging/pom.xml
+++ b/google-cloud-logging/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-logging
- 3.7.1
+ 3.7.2-SNAPSHOT
jar
Google Cloud Logging
https://github.com/googleapis/java-logging
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-logging-parent
- 3.7.1
+ 3.7.2-SNAPSHOT
google-cloud-logging
diff --git a/grpc-google-cloud-logging-v2/pom.xml b/grpc-google-cloud-logging-v2/pom.xml
index 23666d151..b8c81b248 100644
--- a/grpc-google-cloud-logging-v2/pom.xml
+++ b/grpc-google-cloud-logging-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-logging-v2
- 0.96.1
+ 0.96.2-SNAPSHOT
grpc-google-cloud-logging-v2
GRPC library for grpc-google-cloud-logging-v2
com.google.cloud
google-cloud-logging-parent
- 3.7.1
+ 3.7.2-SNAPSHOT
diff --git a/pom.xml b/pom.xml
index 9145fe3c5..ce1f1100c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-logging-parent
pom
- 3.7.1
+ 3.7.2-SNAPSHOT
Google Cloud Logging Parent
https://github.com/googleapis/java-logging
@@ -61,17 +61,17 @@
com.google.api.grpc
proto-google-cloud-logging-v2
- 0.96.1
+ 0.96.2-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-logging-v2
- 0.96.1
+ 0.96.2-SNAPSHOT
com.google.cloud
google-cloud-logging
- 3.7.1
+ 3.7.2-SNAPSHOT
diff --git a/proto-google-cloud-logging-v2/pom.xml b/proto-google-cloud-logging-v2/pom.xml
index 8935ac5b4..7370c3b1c 100644
--- a/proto-google-cloud-logging-v2/pom.xml
+++ b/proto-google-cloud-logging-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-logging-v2
- 0.96.1
+ 0.96.2-SNAPSHOT
proto-google-cloud-logging-v2
PROTO library for proto-google-cloud-logging-v2
com.google.cloud
google-cloud-logging-parent
- 3.7.1
+ 3.7.2-SNAPSHOT
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 9588fce5b..33cbe8f6a 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-logging
- 3.7.1
+ 3.7.2-SNAPSHOT
diff --git a/versions.txt b/versions.txt
index 178e205d4..c19f20d6b 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-logging:3.7.1:3.7.1
-grpc-google-cloud-logging-v2:0.96.1:0.96.1
-proto-google-cloud-logging-v2:0.96.1:0.96.1
+google-cloud-logging:3.7.1:3.7.2-SNAPSHOT
+grpc-google-cloud-logging-v2:0.96.1:0.96.2-SNAPSHOT
+proto-google-cloud-logging-v2:0.96.1:0.96.2-SNAPSHOT
From cebc54e9cd21f9f2572bead6104a952968dcceb1 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Tue, 8 Mar 2022 21:38:31 +0100
Subject: [PATCH 03/13] build(deps): update dependency
com.google.cloud:google-cloud-shared-config to v1.3.0 (#899)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](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) | `1.2.7` -> `1.3.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/java-shared-config
### [`v1.3.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#130-httpsgithubcomgoogleapisjava-shared-configcomparev127v130-2022-03-07)
[Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.7...v1.3.0)
##### Features
- increase IT timeout from 20 to 60 mins ([#440](https://togithub.com/googleapis/java-shared-config/issues/440)) ([a4427bc](https://togithub.com/googleapis/java-shared-config/commit/a4427bceebd0624e23f0b02bb24d7ed46ea4b3a6))
##### Dependencies
- update dependency com.google.cloud:native-image-support to v0.12.6 ([#423](https://togithub.com/googleapis/java-shared-config/issues/423)) ([9a0cb79](https://togithub.com/googleapis/java-shared-config/commit/9a0cb79896d5c97dc3c5648a6740d53eb9ada673))
- update dependency com.puppycrawl.tools:checkstyle to v9.3 ([#415](https://togithub.com/googleapis/java-shared-config/issues/415)) ([9e2d3fd](https://togithub.com/googleapis/java-shared-config/commit/9e2d3fd8bd42bc210dae5798f7d5dfe950c29f51))
- update dependency org.graalvm.buildtools:junit-platform-native to v0.9.10 ([#429](https://togithub.com/googleapis/java-shared-config/issues/429)) ([0355f29](https://togithub.com/googleapis/java-shared-config/commit/0355f2988ebcff19615b72bc65523555e4844523))
- update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.10 ([#430](https://togithub.com/googleapis/java-shared-config/issues/430)) ([16984d2](https://togithub.com/googleapis/java-shared-config/commit/16984d25a84aa6a8daf2a0925ea57cd0d3f0ee24))
##### [1.2.7](https://togithub.com/googleapis/java-shared-config/compare/v1.2.6...v1.2.7) (2022-02-04)
##### Dependencies
- update dependency com.google.cloud:native-image-support to v0.12.0 ([#414](https://togithub.com/googleapis/java-shared-config/issues/414)) ([2133cc0](https://togithub.com/googleapis/java-shared-config/commit/2133cc093efd8420e352274f3eab09de819ff796))
##### [1.2.6](https://togithub.com/googleapis/java-shared-config/compare/v1.2.5...v1.2.6) (2022-01-19)
##### Bug Fixes
- library should released as 1.2.6 ([#408](https://togithub.com/googleapis/java-shared-config/issues/408)) ([4972daa](https://togithub.com/googleapis/java-shared-config/commit/4972daa60467797566c4b043cebd322577b8eb73))
##### [1.2.5](https://togithub.com/googleapis/java-shared-config/compare/v1.2.4...v1.2.5) (2022-01-11)
##### Bug Fixes
- **java:** Enable unit tests in generated libraries for native image testing ([#394](https://togithub.com/googleapis/java-shared-config/issues/394)) ([a453b9f](https://togithub.com/googleapis/java-shared-config/commit/a453b9f141c7555f2fd5333eb17d223410ab66eb))
##### [1.2.4](https://www.github.com/googleapis/java-shared-config/compare/v1.2.3...v1.2.4) (2022-01-06)
##### Dependencies
- revert dependency com.google.googlejavaformat:google-java-format to v1.7 ([#391](https://www.togithub.com/googleapis/java-shared-config/issues/391)) ([17077fb](https://www.github.com/googleapis/java-shared-config/commit/17077fb1a58eef7098dc5e1e9b2c78a63c5c11e1))
##### [1.2.3](https://www.github.com/googleapis/java-shared-config/compare/v1.2.2...v1.2.3) (2022-01-04)
##### Bug Fixes
- **java:** add -ntp flag to native image testing command ([#1299](https://www.togithub.com/googleapis/java-shared-config/issues/1299)) ([#376](https://www.togithub.com/googleapis/java-shared-config/issues/376)) ([50e7a10](https://www.github.com/googleapis/java-shared-config/commit/50e7a10a8dca0505fd831e3dd929577d2f82b011))
- **java:** Only enable integration tests for native image testing ([#375](https://www.togithub.com/googleapis/java-shared-config/issues/375)) ([663f421](https://www.github.com/googleapis/java-shared-config/commit/663f421de342afcba24703079f778738045d3ff2))
- **java:** Pass missing integration test flags to native image test commands ([#1309](https://www.togithub.com/googleapis/java-shared-config/issues/1309)) ([#383](https://www.togithub.com/googleapis/java-shared-config/issues/383)) ([b17b44e](https://www.github.com/googleapis/java-shared-config/commit/b17b44e37fe44ba61616417189c6b2271f3a4d18))
##### Dependencies
- update auto-value-annotation.version to v1.9 ([#378](https://www.togithub.com/googleapis/java-shared-config/issues/378)) ([5e1cd0e](https://www.github.com/googleapis/java-shared-config/commit/5e1cd0e39910548ec4eb6639da979c3b66411503))
- update dependency com.google.googlejavaformat:google-java-format to v1.13.0 ([#361](https://www.togithub.com/googleapis/java-shared-config/issues/361)) ([095d60a](https://www.github.com/googleapis/java-shared-config/commit/095d60a061a574dcf84b9fcf26dff48617a306b1))
- update dependency com.puppycrawl.tools:checkstyle to v9.2 ([#366](https://www.togithub.com/googleapis/java-shared-config/issues/366)) ([061df67](https://www.github.com/googleapis/java-shared-config/commit/061df676d8b2fef5bbb0ce9661d3c96fcb57e73a))
- update dependency com.puppycrawl.tools:checkstyle to v9.2.1 ([#382](https://www.togithub.com/googleapis/java-shared-config/issues/382)) ([1a182c5](https://www.github.com/googleapis/java-shared-config/commit/1a182c52e7c5431875296940d68c9bdfcf74be00))
- update dependency org.graalvm.buildtools:junit-platform-native to v0.9.9 ([#379](https://www.togithub.com/googleapis/java-shared-config/issues/379)) ([0a2b05f](https://www.github.com/googleapis/java-shared-config/commit/0a2b05ff7f649331efbc4dd540705da10691a2f1))
- update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.8 ([#372](https://www.togithub.com/googleapis/java-shared-config/issues/372)) ([6fe795e](https://www.github.com/googleapis/java-shared-config/commit/6fe795ede39575656ef1609bf7aac28c1d170976))
- update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.9 ([#380](https://www.togithub.com/googleapis/java-shared-config/issues/380)) ([f2efad5](https://www.github.com/googleapis/java-shared-config/commit/f2efad585b431fe186c7900a8171a999c689405b))
- update dependency org.junit.vintage:junit-vintage-engine to v5.8.2 ([#365](https://www.togithub.com/googleapis/java-shared-config/issues/365)) ([604058d](https://www.github.com/googleapis/java-shared-config/commit/604058d52dc962db9a506762926576542687285e))
##### [1.2.2](https://www.github.com/googleapis/java-shared-config/compare/v1.2.1...v1.2.2) (2021-11-16)
##### Bug Fixes
- update dependency com.google.cloud:native-image-support to v0.10.0 ([#358](https://www.togithub.com/googleapis/java-shared-config/issues/358)) ([0441958](https://www.github.com/googleapis/java-shared-config/commit/044195865a1122d419cadae90fddbf8dc5b4a32d))
##### [1.2.1](https://www.github.com/googleapis/java-shared-config/compare/v1.2.0...v1.2.1) (2021-11-08)
##### Bug Fixes
- Add native image feature to register protobuf reflection in tests ([#347](https://www.togithub.com/googleapis/java-shared-config/issues/347)) ([88c3e3b](https://www.github.com/googleapis/java-shared-config/commit/88c3e3b0ad1e480e0fdbe9f6fe1f9df183066ee6))
##### Dependencies
- update dependency com.google.auto.service:auto-service-annotations to v1.0.1 ([#346](https://www.togithub.com/googleapis/java-shared-config/issues/346)) ([9c1f943](https://www.github.com/googleapis/java-shared-config/commit/9c1f94345fb47346fe66f901976c2347b8102bc8))
- update dependency com.google.cloud:native-image-support to v0.9.0 ([#350](https://www.togithub.com/googleapis/java-shared-config/issues/350)) ([3b496b0](https://www.github.com/googleapis/java-shared-config/commit/3b496b03bd95e59fcd1a3a1eb6cc0dfd330db769))
- update dependency com.puppycrawl.tools:checkstyle to v9.1 ([#345](https://www.togithub.com/googleapis/java-shared-config/issues/345)) ([f5c03d3](https://www.github.com/googleapis/java-shared-config/commit/f5c03d35684ef4e0bb3178ab6056f231f3f4faf6))
---
### 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, click this checkbox.
---
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-logging).
---
google-cloud-logging-bom/pom.xml | 2 +-
pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/google-cloud-logging-bom/pom.xml b/google-cloud-logging-bom/pom.xml
index 614da34fb..66784a84a 100644
--- a/google-cloud-logging-bom/pom.xml
+++ b/google-cloud-logging-bom/pom.xml
@@ -8,7 +8,7 @@
com.google.cloud
google-cloud-shared-config
- 1.2.7
+ 1.3.0
Google Cloud logging BOM
diff --git a/pom.xml b/pom.xml
index ce1f1100c..270bfc7c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,7 @@
com.google.cloud
google-cloud-shared-config
- 1.2.7
+ 1.3.0
From 7e59bf3c3676ebc6bfcdf6e951d3d8f0b6c1589f Mon Sep 17 00:00:00 2001
From: Mridula <66699525+mpeddada1@users.noreply.github.com>
Date: Tue, 8 Mar 2022 16:31:24 -0500
Subject: [PATCH 04/13] docs(sample): Add sample for Native Image support in
Logging (#880)
* docs(sample): Add sample for Native Image support
---
README.md | 1 +
samples/native-image-sample/README.md | 71 ++++++++
samples/native-image-sample/pom.xml | 170 ++++++++++++++++++
.../logging/NativeImageLoggingSample.java | 64 +++++++
.../logging/ITNativeImageLoggingSample.java | 35 ++++
samples/pom.xml | 1 +
6 files changed, 342 insertions(+)
create mode 100644 samples/native-image-sample/README.md
create mode 100644 samples/native-image-sample/pom.xml
create mode 100644 samples/native-image-sample/src/main/java/com/example/logging/NativeImageLoggingSample.java
create mode 100644 samples/native-image-sample/src/test/java/com/example/logging/ITNativeImageLoggingSample.java
diff --git a/README.md b/README.md
index c343b944a..1438e1d24 100644
--- a/README.md
+++ b/README.md
@@ -302,6 +302,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/java-logging/tree/
| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
+| Native Image Logging Sample | [source code](https://github.com/googleapis/java-logging/blob/main/samples/native-image-sample/src/main/java/com/example/logging/NativeImageLoggingSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-logging&page=editor&open_in_editor=samples/native-image-sample/src/main/java/com/example/logging/NativeImageLoggingSample.java) |
| Get Sink Metadata | [source code](https://github.com/googleapis/java-logging/blob/main/samples/snippets/src/main/java/com/example/logging/GetSinkMetadata.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-logging&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/logging/GetSinkMetadata.java) |
| List Log Entries | [source code](https://github.com/googleapis/java-logging/blob/main/samples/snippets/src/main/java/com/example/logging/ListLogEntries.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-logging&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/logging/ListLogEntries.java) |
| List Logs | [source code](https://github.com/googleapis/java-logging/blob/main/samples/snippets/src/main/java/com/example/logging/ListLogs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-logging&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/logging/ListLogs.java) |
diff --git a/samples/native-image-sample/README.md b/samples/native-image-sample/README.md
new file mode 100644
index 000000000..398a55e83
--- /dev/null
+++ b/samples/native-image-sample/README.md
@@ -0,0 +1,71 @@
+# Cloud Logging Client Libraries with Native Image
+
+This application uses the Google Cloud [Logging Client Libraries](https://github.com/googleapis/java-logging) and can be compiled with Native Image Native Image.
+
+## Setup Instructions
+
+You will need to follow these prerequisite steps in order to run the samples:
+
+1. If you have not already, [create a Google Cloud Platform Project](https://cloud.google.com/resource-manager/docs/creating-managing-projects#creating_a_project).
+
+2. Install the [Google Cloud SDK](https://cloud.google.com/sdk/) which will allow you to run the sample with your project's credentials.
+
+ Once installed, log in with Application Default Credentials using the following command:
+
+ ```
+ gcloud auth application-default login
+ ```
+
+ **Note:** Authenticating with Application Default Credentials is convenient to use during development, but we recommend [alternate methods of authentication](https://cloud.google.com/docs/authentication/production) during production use.
+
+3. Install the GraalVM compiler.
+
+ You can follow the [official installation instructions](https://www.graalvm.org/docs/getting-started/#install-graalvm) from the GraalVM website.
+ After following the instructions, ensure that you install the native image extension installed by running:
+
+ ```
+ gu install native-image
+ ```
+
+ Once you finish following the instructions, verify that the default version of Java is set to the GraalVM version by running `java -version` in a terminal.
+
+ You will see something similar to the below output:
+
+ ```
+ $ java -version
+
+ openjdk version "11.0.7" 2020-04-14
+ OpenJDK Runtime Environment GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02)
+ OpenJDK 64-Bit Server VM GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02, mixed mode, sharing)
+ ```
+
+4. Enable the [Logging APIs](https://console.cloud.google.com/flows/enableapi?apiid=logging.googleapis.com).
+
+## Sample
+
+Navigate to this directory in a new terminal.
+
+1. Compile the application using the Native Image Compiler. This step may take a few minutes.
+
+ ```
+ mvn package -P native -DskipTests
+ ```
+
+2. Run the application:
+
+ ```
+ ./target/native-image-sample
+ ```
+
+3. The application will log a message to your local terminal and to Google Cloud Console.
+
+ Navigate to the [Cloud Console Logs Viewer](https://console.cloud.google.com/logs/viewer) to view you logs and find the newly generated log entry in Cloud Console:
+ ```
+ This is a log produced by Native Image.
+ ```
+### Sample Integration test with Native Image Support
+In order to run the sample integration test as a native image, call the following command:
+
+ ```
+ mvn test -Pnative
+ ```
\ No newline at end of file
diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml
new file mode 100644
index 000000000..afc30a7ec
--- /dev/null
+++ b/samples/native-image-sample/pom.xml
@@ -0,0 +1,170 @@
+
+
+
+ 4.0.0
+ com.example.logging
+ native-image-sample
+ Native Image Sample
+ https://github.com/googleapis/java-logging
+
+
+
+ com.google.cloud.samples
+ shared-configuration
+ 1.2.0
+
+
+
+
+ 1.8
+ 1.8
+ UTF-8
+
+
+
+
+
+ com.google.cloud
+ libraries-bom
+ 24.3.0
+ pom
+ import
+
+
+
+
+
+
+ com.google.cloud
+ google-cloud-logging
+
+
+
+ junit
+ junit
+ 4.13.2
+ test
+
+
+ com.google.truth
+ truth
+ 1.1.3
+ test
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 3.2.2
+
+
+
+ true
+ dependency-jars/
+ com.example.logging.NativeImageLoggingSample
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+ 3.2.0
+
+
+ copy-dependencies
+ package
+
+ copy-dependencies
+
+
+
+ ${project.build.directory}/dependency-jars/
+
+
+
+
+
+
+
+
+
+
+
+ native
+
+
+
+ com.google.cloud
+ native-image-support
+ 0.12.0
+
+
+ org.junit.vintage
+ junit-vintage-engine
+ 5.8.2
+ test
+
+
+ org.graalvm.buildtools
+ junit-platform-native
+ 0.9.9
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ 2.22.2
+
+
+ **/IT*
+
+
+
+
+ org.graalvm.buildtools
+ native-maven-plugin
+ 0.9.9
+ true
+
+ com.example.logging.NativeImageLoggingSample
+
+ --no-fallback
+ --no-server
+
+
+
+
+ build-native
+
+ build
+ test
+
+ package
+
+
+ test-native
+
+ test
+
+ test
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/native-image-sample/src/main/java/com/example/logging/NativeImageLoggingSample.java b/samples/native-image-sample/src/main/java/com/example/logging/NativeImageLoggingSample.java
new file mode 100644
index 000000000..6fa688060
--- /dev/null
+++ b/samples/native-image-sample/src/main/java/com/example/logging/NativeImageLoggingSample.java
@@ -0,0 +1,64 @@
+/*
+ * 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
+ *
+ * https://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.
+ */
+
+package com.example.logging;
+
+import com.google.cloud.MonitoredResource;
+import com.google.cloud.logging.LogEntry;
+import com.google.cloud.logging.Logging;
+import com.google.cloud.logging.LoggingOptions;
+import com.google.cloud.logging.Payload.StringPayload;
+import com.google.cloud.logging.Severity;
+import java.time.Duration;
+import java.time.Instant;
+import java.util.Collections;
+
+/** Basic sample application which writes a log message to Cloud Logging. */
+public class NativeImageLoggingSample {
+
+ /** Runs the Logging Sample Application. */
+ public static void main(String[] args) throws Exception {
+ Instant startTime = Instant.now();
+ // Instantiates a client
+ Logging client = LoggingOptions.getDefaultInstance().getService();
+
+ // The name of the log to write to
+ String logName = "nativeimage_logging_sample.log";
+
+ // The data to write to the log
+ String text = "This is a log produced by Native Image.";
+
+ LogEntry entry =
+ LogEntry.newBuilder(StringPayload.of(text))
+ .setSeverity(Severity.INFO)
+ .setLogName(logName)
+ .setResource(MonitoredResource.newBuilder("global").build())
+ .build();
+
+ client.write(Collections.singleton(entry));
+ client.flush();
+ client.close();
+
+ System.out.println(String.format("Logged: %s", text));
+ System.out.println("Log message written to Cloud Logging.");
+ System.out.println(
+ "See your logs in the Cloud Console: https://console.cloud.google.com/logs/viewer "
+ + "(Might take a few seconds to load.)");
+ Instant endTime = Instant.now();
+ Duration duration = Duration.between(startTime, endTime);
+ System.out.println("Duration: " + duration.toString());
+ }
+}
diff --git a/samples/native-image-sample/src/test/java/com/example/logging/ITNativeImageLoggingSample.java b/samples/native-image-sample/src/test/java/com/example/logging/ITNativeImageLoggingSample.java
new file mode 100644
index 000000000..6a4ba67ca
--- /dev/null
+++ b/samples/native-image-sample/src/test/java/com/example/logging/ITNativeImageLoggingSample.java
@@ -0,0 +1,35 @@
+/*
+ * 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
+ *
+ * https://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.
+ */
+
+package com.example.logging;
+
+import static com.google.common.truth.Truth.assertThat;
+
+import com.google.cloud.testing.junit4.StdOutCaptureRule;
+import org.junit.Rule;
+import org.junit.Test;
+
+public class ITNativeImageLoggingSample {
+
+ @Rule public StdOutCaptureRule stdOut = new StdOutCaptureRule();
+
+ @Test
+ public void testLogging() throws Exception {
+ NativeImageLoggingSample.main(new String[] {});
+ assertThat(stdOut.getCapturedOutputAsUtf8String())
+ .contains("Logged: This is a log produced by Native Image.");
+ }
+}
diff --git a/samples/pom.xml b/samples/pom.xml
index b086c0e56..72d7759f9 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -31,6 +31,7 @@
snapshot
install-without-bom
snippets
+ native-image-sample
From 3c44e3ed51c52a84b5a5a517a8b8a105f083532c Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Wed, 9 Mar 2022 18:30:12 +0100
Subject: [PATCH 05/13] deps: update dependency
org.graalvm.buildtools:native-maven-plugin to v0.9.10 (#905)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.graalvm.buildtools:native-maven-plugin](https://togithub.com/graalvm/native-build-tools) | `0.9.9` -> `0.9.10` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
graalvm/native-build-tools
### [`v0.9.10`](https://togithub.com/graalvm/native-build-tools/releases/0.9.10)
[Compare Source](https://togithub.com/graalvm/native-build-tools/compare/0.9.9...0.9.10)
##### What's Changed
Read what's new in the [documentation](https://graalvm.github.io/native-build-tools/latest/index.html#changelog).
- Introduce skipNativeTests flag in Maven plugin by [@sbrannen](https://togithub.com/sbrannen) in [https://github.com/graalvm/native-build-tools/pull/193](https://togithub.com/graalvm/native-build-tools/pull/193)
- Fix system property breaking build cacheability by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/192](https://togithub.com/graalvm/native-build-tools/pull/192)
- Make sure executable ends with `.exe` under Windows by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/199](https://togithub.com/graalvm/native-build-tools/pull/199)
- Make it possible to override the classpath by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/200](https://togithub.com/graalvm/native-build-tools/pull/200)
- Upgrade to Gradle 7.4 by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/202](https://togithub.com/graalvm/native-build-tools/pull/202)
- Fix race condition if tests are executed in parallel by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/195](https://togithub.com/graalvm/native-build-tools/pull/195)
- Add support for `@arg` file by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/205](https://togithub.com/graalvm/native-build-tools/pull/205)
**Full Changelog**: https://github.com/graalvm/native-build-tools/compare/0.9.9...0.9.10
---
### 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, click this checkbox.
---
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-logging).
---
samples/native-image-sample/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml
index afc30a7ec..a87c503c2 100644
--- a/samples/native-image-sample/pom.xml
+++ b/samples/native-image-sample/pom.xml
@@ -136,7 +136,7 @@
org.graalvm.buildtools
native-maven-plugin
- 0.9.9
+ 0.9.10
true
com.example.logging.NativeImageLoggingSample
From b58082e27650bc00117a14dddf6ce111e1cd0ed3 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Mon, 14 Mar 2022 22:52:23 +0100
Subject: [PATCH 06/13] chore(deps): update dependency
com.google.cloud:libraries-bom to v25 (#907)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `24.4.0` -> `25.0.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `24.3.0` -> `25.0.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
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-logging).
---
README.md | 4 ++--
samples/native-image-sample/pom.xml | 2 +-
samples/snippets/pom.xml | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 1438e1d24..74f91930d 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
com.google.cloud
libraries-bom
- 24.4.0
+ 25.0.0
pom
import
@@ -51,7 +51,7 @@ If you are using Maven without BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies
```Groovy
-implementation platform('com.google.cloud:libraries-bom:24.4.0')
+implementation platform('com.google.cloud:libraries-bom:25.0.0')
implementation 'com.google.cloud:google-cloud-logging'
```
diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml
index a87c503c2..d4db60727 100644
--- a/samples/native-image-sample/pom.xml
+++ b/samples/native-image-sample/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
libraries-bom
- 24.3.0
+ 25.0.0
pom
import
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index a867fb0e0..d9aba92ab 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
libraries-bom
- 24.4.0
+ 25.0.0
pom
import
From 3721ef53305e27afb5bad685a10eb8901988c7b9 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 24 Mar 2022 16:14:17 +0100
Subject: [PATCH 07/13] deps: update dependency
org.graalvm.buildtools:native-maven-plugin to v0.9.11 (#911)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.graalvm.buildtools:native-maven-plugin](https://togithub.com/graalvm/native-build-tools) | `0.9.10` -> `0.9.11` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
graalvm/native-build-tools
### [`v0.9.11`](https://togithub.com/graalvm/native-build-tools/releases/0.9.11)
[Compare Source](https://togithub.com/graalvm/native-build-tools/compare/0.9.10...0.9.11)
##### What's Changed
Read what's new in the [documentation](https://graalvm.github.io/native-build-tools/latest/index.html#changelog).
- Add issue templates by [@lazar-mitrovic](https://togithub.com/lazar-mitrovic) in [https://github.com/graalvm/native-build-tools/pull/216](https://togithub.com/graalvm/native-build-tools/pull/216)
- Fix [@arg](https://togithub.com/arg) file not being used for tests in Maven by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/212](https://togithub.com/graalvm/native-build-tools/pull/212)
- Make it possible to use environment variables in native tests by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/217](https://togithub.com/graalvm/native-build-tools/pull/217)
- Fix incorrect declaration of output directory by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/219](https://togithub.com/graalvm/native-build-tools/pull/219)
- Refactor build by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/220](https://togithub.com/graalvm/native-build-tools/pull/220)
- Integrate native configuration repository with Gradle by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/204](https://togithub.com/graalvm/native-build-tools/pull/204)
- Rework argfile generation by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/223](https://togithub.com/graalvm/native-build-tools/pull/223)
- Rename `metadataRepository` and document feature by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/225](https://togithub.com/graalvm/native-build-tools/pull/225)
- Support applications with custom packaging types by [@alvarosanchez](https://togithub.com/alvarosanchez) in [https://github.com/graalvm/native-build-tools/pull/226](https://togithub.com/graalvm/native-build-tools/pull/226)
##### New Contributors
- [@alvarosanchez](https://togithub.com/alvarosanchez) made their first contribution in [https://github.com/graalvm/native-build-tools/pull/226](https://togithub.com/graalvm/native-build-tools/pull/226)
**Full Changelog**: https://github.com/graalvm/native-build-tools/compare/0.9.10...0.9.11
---
### 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, click this checkbox.
---
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-logging).
---
samples/native-image-sample/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml
index d4db60727..303690f19 100644
--- a/samples/native-image-sample/pom.xml
+++ b/samples/native-image-sample/pom.xml
@@ -136,7 +136,7 @@
org.graalvm.buildtools
native-maven-plugin
- 0.9.10
+ 0.9.11
true
com.example.logging.NativeImageLoggingSample
From d834a0a5f10cda8a1327714f8a93c0c6e41143df Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 24 Mar 2022 17:33:08 +0100
Subject: [PATCH 08/13] deps: update dependency
org.graalvm.buildtools:junit-platform-native to v0.9.10 (#904)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* deps: update dependency org.graalvm.buildtools:junit-platform-native to v0.9.10
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot
---
samples/native-image-sample/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml
index 303690f19..2a8b14220 100644
--- a/samples/native-image-sample/pom.xml
+++ b/samples/native-image-sample/pom.xml
@@ -115,7 +115,7 @@
org.graalvm.buildtools
junit-platform-native
- 0.9.9
+ 0.9.10
test
From a8f3a58d4089f58276c3c03dee2f8114ac3e4fb0 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 24 Mar 2022 17:33:43 +0100
Subject: [PATCH 09/13] chore(deps): update dependency
com.google.cloud:google-cloud-logging to v3.7.1 (#896)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* chore(deps): update dependency com.google.cloud:google-cloud-logging to v3.7.1
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot
---
README.md | 2 +-
samples/install-without-bom/pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 74f91930d..43ab9da56 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,7 @@ If you are using Maven without BOM, add this to your dependencies:
com.google.cloud
google-cloud-logging
- 3.7.0
+ 3.7.1
```
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 05b9c6819..8e2a7e9da 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-logging
- 3.7.0
+ 3.7.1
From 3632f38d826e059460bd639a1ca1c7440efcc0d2 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 24 Mar 2022 17:35:42 +0100
Subject: [PATCH 10/13] build(deps): update dependency
org.apache.maven.plugins:maven-dependency-plugin to v3.3.0 (#906)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* build(deps): update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.3.0
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot
---
samples/native-image-sample/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml
index 2a8b14220..eee5c9982 100644
--- a/samples/native-image-sample/pom.xml
+++ b/samples/native-image-sample/pom.xml
@@ -76,7 +76,7 @@
org.apache.maven.plugins
maven-dependency-plugin
- 3.2.0
+ 3.3.0
copy-dependencies
From b692e0247ea61b290aad0f0245184fd3c026629b Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 24 Mar 2022 23:03:18 +0100
Subject: [PATCH 11/13] deps: update dependency
com.google.cloud:native-image-support to v0.12.10 (#903)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* deps: update dependency com.google.cloud:native-image-support to v0.12.10
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot
---
samples/native-image-sample/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml
index eee5c9982..8f6b631b5 100644
--- a/samples/native-image-sample/pom.xml
+++ b/samples/native-image-sample/pom.xml
@@ -104,7 +104,7 @@
com.google.cloud
native-image-support
- 0.12.0
+ 0.12.10
org.junit.vintage
From c1d65597ee8ce95dc6276c4f19d13a922c819f0d Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Fri, 25 Mar 2022 00:50:14 +0100
Subject: [PATCH 12/13] deps: update dependency
org.graalvm.buildtools:junit-platform-native to v0.9.11 (#912)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.graalvm.buildtools:junit-platform-native](https://togithub.com/graalvm/native-build-tools) | `0.9.10` -> `0.9.11` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
graalvm/native-build-tools
### [`v0.9.11`](https://togithub.com/graalvm/native-build-tools/releases/0.9.11)
[Compare Source](https://togithub.com/graalvm/native-build-tools/compare/0.9.10...0.9.11)
#### What's Changed
Read what's new in the [documentation](https://graalvm.github.io/native-build-tools/latest/index.html#changelog).
- Add issue templates by [@lazar-mitrovic](https://togithub.com/lazar-mitrovic) in [https://github.com/graalvm/native-build-tools/pull/216](https://togithub.com/graalvm/native-build-tools/pull/216)
- Fix [@arg](https://togithub.com/arg) file not being used for tests in Maven by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/212](https://togithub.com/graalvm/native-build-tools/pull/212)
- Make it possible to use environment variables in native tests by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/217](https://togithub.com/graalvm/native-build-tools/pull/217)
- Fix incorrect declaration of output directory by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/219](https://togithub.com/graalvm/native-build-tools/pull/219)
- Refactor build by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/220](https://togithub.com/graalvm/native-build-tools/pull/220)
- Integrate native configuration repository with Gradle by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/204](https://togithub.com/graalvm/native-build-tools/pull/204)
- Rework argfile generation by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/223](https://togithub.com/graalvm/native-build-tools/pull/223)
- Rename `metadataRepository` and document feature by [@melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/225](https://togithub.com/graalvm/native-build-tools/pull/225)
- Support applications with custom packaging types by [@alvarosanchez](https://togithub.com/alvarosanchez) in [https://github.com/graalvm/native-build-tools/pull/226](https://togithub.com/graalvm/native-build-tools/pull/226)
#### New Contributors
- [@alvarosanchez](https://togithub.com/alvarosanchez) made their first contribution in [https://github.com/graalvm/native-build-tools/pull/226](https://togithub.com/graalvm/native-build-tools/pull/226)
**Full Changelog**: https://github.com/graalvm/native-build-tools/compare/0.9.10...0.9.11
---
### 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, click this checkbox.
---
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-logging).
---
samples/native-image-sample/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml
index 8f6b631b5..196a75d86 100644
--- a/samples/native-image-sample/pom.xml
+++ b/samples/native-image-sample/pom.xml
@@ -115,7 +115,7 @@
org.graalvm.buildtools
junit-platform-native
- 0.9.10
+ 0.9.11
test
From aefb9bd0226187f3bdde613e72594eb026a7c958 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Mon, 28 Mar 2022 12:08:01 -0700
Subject: [PATCH 13/13] chore(main): release 3.7.2 (#902)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
---
CHANGELOG.md | 16 ++++++++++++++++
google-cloud-logging-bom/pom.xml | 8 ++++----
google-cloud-logging/pom.xml | 4 ++--
grpc-google-cloud-logging-v2/pom.xml | 4 ++--
pom.xml | 8 ++++----
proto-google-cloud-logging-v2/pom.xml | 4 ++--
samples/snapshot/pom.xml | 2 +-
versions.txt | 6 +++---
8 files changed, 34 insertions(+), 18 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 256d7bfc4..00967bbf6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,21 @@
# Changelog
+### [3.7.2](https://github.com/googleapis/java-logging/compare/v3.7.1...v3.7.2) (2022-03-24)
+
+
+### Documentation
+
+* **sample:** Add sample for Native Image support in Logging ([#880](https://github.com/googleapis/java-logging/issues/880)) ([7e59bf3](https://github.com/googleapis/java-logging/commit/7e59bf3c3676ebc6bfcdf6e951d3d8f0b6c1589f))
+
+
+### Dependencies
+
+* update dependency com.google.cloud:native-image-support to v0.12.10 ([#903](https://github.com/googleapis/java-logging/issues/903)) ([b692e02](https://github.com/googleapis/java-logging/commit/b692e0247ea61b290aad0f0245184fd3c026629b))
+* update dependency org.graalvm.buildtools:junit-platform-native to v0.9.10 ([#904](https://github.com/googleapis/java-logging/issues/904)) ([d834a0a](https://github.com/googleapis/java-logging/commit/d834a0a5f10cda8a1327714f8a93c0c6e41143df))
+* update dependency org.graalvm.buildtools:junit-platform-native to v0.9.11 ([#912](https://github.com/googleapis/java-logging/issues/912)) ([c1d6559](https://github.com/googleapis/java-logging/commit/c1d65597ee8ce95dc6276c4f19d13a922c819f0d))
+* update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.10 ([#905](https://github.com/googleapis/java-logging/issues/905)) ([3c44e3e](https://github.com/googleapis/java-logging/commit/3c44e3ed51c52a84b5a5a517a8b8a105f083532c))
+* update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.11 ([#911](https://github.com/googleapis/java-logging/issues/911)) ([3721ef5](https://github.com/googleapis/java-logging/commit/3721ef53305e27afb5bad685a10eb8901988c7b9))
+
### [3.7.1](https://github.com/googleapis/java-logging/compare/v3.7.0...v3.7.1) (2022-03-03)
diff --git a/google-cloud-logging-bom/pom.xml b/google-cloud-logging-bom/pom.xml
index 66784a84a..0c608916e 100644
--- a/google-cloud-logging-bom/pom.xml
+++ b/google-cloud-logging-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-logging-bom
- 3.7.2-SNAPSHOT
+ 3.7.2
pom
com.google.cloud
@@ -53,17 +53,17 @@
com.google.cloud
google-cloud-logging
- 3.7.2-SNAPSHOT
+ 3.7.2
com.google.api.grpc
grpc-google-cloud-logging-v2
- 0.96.2-SNAPSHOT
+ 0.96.2
com.google.api.grpc
proto-google-cloud-logging-v2
- 0.96.2-SNAPSHOT
+ 0.96.2
diff --git a/google-cloud-logging/pom.xml b/google-cloud-logging/pom.xml
index 77d29ae44..d530ee296 100644
--- a/google-cloud-logging/pom.xml
+++ b/google-cloud-logging/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-logging
- 3.7.2-SNAPSHOT
+ 3.7.2
jar
Google Cloud Logging
https://github.com/googleapis/java-logging
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-logging-parent
- 3.7.2-SNAPSHOT
+ 3.7.2
google-cloud-logging
diff --git a/grpc-google-cloud-logging-v2/pom.xml b/grpc-google-cloud-logging-v2/pom.xml
index b8c81b248..8baa042f7 100644
--- a/grpc-google-cloud-logging-v2/pom.xml
+++ b/grpc-google-cloud-logging-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-logging-v2
- 0.96.2-SNAPSHOT
+ 0.96.2
grpc-google-cloud-logging-v2
GRPC library for grpc-google-cloud-logging-v2
com.google.cloud
google-cloud-logging-parent
- 3.7.2-SNAPSHOT
+ 3.7.2
diff --git a/pom.xml b/pom.xml
index 270bfc7c8..c47d7abdc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-logging-parent
pom
- 3.7.2-SNAPSHOT
+ 3.7.2
Google Cloud Logging Parent
https://github.com/googleapis/java-logging
@@ -61,17 +61,17 @@
com.google.api.grpc
proto-google-cloud-logging-v2
- 0.96.2-SNAPSHOT
+ 0.96.2
com.google.api.grpc
grpc-google-cloud-logging-v2
- 0.96.2-SNAPSHOT
+ 0.96.2
com.google.cloud
google-cloud-logging
- 3.7.2-SNAPSHOT
+ 3.7.2
diff --git a/proto-google-cloud-logging-v2/pom.xml b/proto-google-cloud-logging-v2/pom.xml
index 7370c3b1c..52bd3303a 100644
--- a/proto-google-cloud-logging-v2/pom.xml
+++ b/proto-google-cloud-logging-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-logging-v2
- 0.96.2-SNAPSHOT
+ 0.96.2
proto-google-cloud-logging-v2
PROTO library for proto-google-cloud-logging-v2
com.google.cloud
google-cloud-logging-parent
- 3.7.2-SNAPSHOT
+ 3.7.2
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 33cbe8f6a..976ed748f 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-logging
- 3.7.2-SNAPSHOT
+ 3.7.2
diff --git a/versions.txt b/versions.txt
index c19f20d6b..4c886f57b 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-logging:3.7.1:3.7.2-SNAPSHOT
-grpc-google-cloud-logging-v2:0.96.1:0.96.2-SNAPSHOT
-proto-google-cloud-logging-v2:0.96.1:0.96.2-SNAPSHOT
+google-cloud-logging:3.7.2:3.7.2
+grpc-google-cloud-logging-v2:0.96.2:0.96.2
+proto-google-cloud-logging-v2:0.96.2:0.96.2