Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(sample): Add sample for native image support in Datastore #640

Merged
merged 5 commits into from Feb 25, 2022

Conversation

mpeddada1
Copy link
Contributor

This PR copies over the Datastore sample, Setup Instructions and README for native image support from GoogleCloudPlatform/native-image-support-java. Some things note:

  1. It adds an integration test that can be run as a native image.
  2. It slightly modifies the output of the sample to be more readable.

Calling mvn package -Pnative builds the native image for the application and calling mvn test -Pnative runs the test as a native image.

For more information: https://graalvm.github.io/native-build-tools/latest/maven-plugin.html#configuration

@mpeddada1 mpeddada1 requested a review from a team as a code owner February 10, 2022 15:30
@generated-files-bot
Copy link

Warning: This pull request is touching the following templated files:

  • samples/pom.xml

@product-auto-label product-auto-label bot added api: datastore Issues related to the googleapis/java-datastore API. samples Issues that are directly related to samples. labels Feb 10, 2022
@mpeddada1 mpeddada1 merged commit f728901 into main Feb 25, 2022
@mpeddada1 mpeddada1 deleted the add-native-sample branch February 25, 2022 02:04
gcf-merge-on-green bot pushed a commit that referenced this pull request Mar 2, 2022
🤖 I have created a release *beep* *boop*
---


### [2.2.5](v2.2.4...v2.2.5) (2022-03-02)


### Bug Fixes

* Use ImmutableMap.Bulder.buildOrThrow() instead of build(). ([#632](#632)) ([5d0f484](5d0f484))


### Documentation

* **sample:** Add sample for native image support in Datastore ([#640](#640)) ([f728901](f728901))
* **sample:** Use Java 8 for Native Image sample ([#656](#656)) ([b95ee96](b95ee96))


### Dependencies

* update actions/setup-java action to v3 ([#648](#648)) ([8d85b64](8d85b64))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.8.0 ([#653](#653)) ([03162a6](03162a6))
* update dependency com.google.cloud:native-image-support to v0.12.5 ([#650](#650)) ([b449554](b449554))
* update dependency com.google.cloud:native-image-support to v0.12.6 ([#654](#654)) ([5e69833](5e69833))
* update dependency org.graalvm.buildtools:junit-platform-native to v0.9.10 ([#646](#646)) ([c62a390](c62a390))
* update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.10 ([#647](#647)) ([d6e2a16](d6e2a16))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the googleapis/java-datastore API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants