Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

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

Merged
mpeddada1 merged 5 commits into
maingoogleapis/java-datastore:mainfrom
add-native-samplegoogleapis/java-datastore:add-native-sampleCopy head branch name to clipboard
Feb 25, 2022
Merged

docs(sample): Add sample for native image support in Datastore#640
mpeddada1 merged 5 commits into
maingoogleapis/java-datastore:mainfrom
add-native-samplegoogleapis/java-datastore:add-native-sampleCopy head branch name to clipboard

Conversation

@mpeddada1

Copy link
Copy Markdown
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 February 10, 2022 15:30
@generated-files-bot

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.