| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Datastore Java API.
There was a problem hiding this comment.
Good start- PTAL
Sorry, something went wrong.
| Finally, in a new shell, [set the Datastore Emulator environmental variables](https://cloud.google.com/datastore/docs/tools/datastore-emulator#setting_environment_variables) | ||
| and run | ||
|
|
||
| mvn clean appengine:devserver |
There was a problem hiding this comment.
Looks like the old plugin, should be mvn clean appengine:run w/ new.
Sorry, something went wrong.
There was a problem hiding this comment.
ack
Sorry, something went wrong.
|
|
||
| Modify `appengine-web.xml` to reflect your app ID and version, then: | ||
|
|
||
| mvn clean appengine:update |
There was a problem hiding this comment.
mvn clean appengine:run
Sorry, something went wrong.
There was a problem hiding this comment.
You meant deploy, but got it.
Sorry, something went wrong.
| return Objects.hash(key, authorEmail, authorId, content, date); | ||
| } | ||
| } | ||
| //[END all] No newline at end of file |
There was a problem hiding this comment.
newLine
Sorry, something went wrong.
There was a problem hiding this comment.
It's common to add toString() if you are doing equals & hashCode().
Sorry, something went wrong.
There was a problem hiding this comment.
Fair enough, done.
Sorry, something went wrong.
|
|
||
| //[START all] | ||
| public class Guestbook { | ||
| private static final KeyFactory kf = getKeyFactory(Guestbook.class); |
There was a problem hiding this comment.
keys or keyfactory
Sorry, something went wrong.
There was a problem hiding this comment.
ack
Sorry, something went wrong.
| return resultListBuilder.build(); | ||
| } | ||
| } | ||
| //[END all] No newline at end of file |
There was a problem hiding this comment.
newLine
Sorry, something went wrong.
There was a problem hiding this comment.
ack
Sorry, something went wrong.
| @@ -0,0 +1,10 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> | |||
| <application>your-app-id-here</application> | |||
There was a problem hiding this comment.
No longer required
Sorry, something went wrong.
There was a problem hiding this comment.
ack
Sorry, something went wrong.
| <?xml version="1.0" encoding="utf-8"?> | ||
| <appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> | ||
| <application>your-app-id-here</application> | ||
| <version>your-app-version-here</version> |
There was a problem hiding this comment.
No longer required
Sorry, something went wrong.
There was a problem hiding this comment.
ack
Sorry, something went wrong.
| ancestor: yes | ||
| properties: | ||
| - name: date | ||
| direction: desc No newline at end of file |
There was a problem hiding this comment.
NewLine
Sorry, something went wrong.
There was a problem hiding this comment.
ack
Sorry, something went wrong.
| <% | ||
| } else { | ||
| %> | ||
| <p>Messages in Guestbook '${fn:escapeXml(guestbookName)}'.</p> |
There was a problem hiding this comment.
YEA - I forgot this recently in some stuff -- good to see it here.
Sorry, something went wrong.
There was a problem hiding this comment.
😄 It's in the Objectify one! I just copied it.
Sorry, something went wrong.
Current coverage is 50.00% (diff: 50.00%)@@ master #388 diff @@
==========================================
Files 81 4 -77
Lines 2547 98 -2449
Methods 0 0
Messages 0 0
Branches 183 22 -161
==========================================
- Hits 1313 49 -1264
+ Misses 1191 32 -1159
+ Partials 43 17 -26
|
Sorry, something went wrong.
| <plugins> | ||
| <plugin> | ||
| <groupId>com.google.appengine</groupId> | ||
| <artifactId>appengine-maven-plugin</artifactId> |
There was a problem hiding this comment.
Should be:
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>0.1.2</version>
<configuration>
<!-- dev appserver configuration (standard environment only) -->
<!--
<devserver.host>127.0.0.1</devserver.port>
<devserver.port>8080</devserver.port>
-->
<!-- staging configuration (standard/flex-compat environment only) -->
<!--
<stage.enableJarSplitting>true</stage.enableJarSplitting>
-->
<!-- staging configuration (flexible environment only) -->
<!--
<stage.artifact>target/some-customer-artifact.jar</stage.artifact>
-->
<!-- deploy configuration -->
<deploy.promote>true</deploy.promote>
<deploy.stopPreviousVersion>true</deploy.stopPreviousVersion>
</configuration>
</plugin>
Sorry, something went wrong.
…e-plugin to v2.4.2 (#5905) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud.tools:appengine-gradle-plugin](https://togithub.com/GoogleCloudPlatform/app-gradle-plugin) | `2.2.0` -> `2.4.2` | [](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 <details> <summary>GoogleCloudPlatform/app-gradle-plugin</summary> ### [`v2.4.2`](https://togithub.com/GoogleCloudPlatform/app-gradle-plugin/blob/master/CHANGELOG.md#​242) ##### Changed - Update to appengine-plugins-core 0.9.5 ([#​405](../../pull/405)) ### [`v2.4.1`](https://togithub.com/GoogleCloudPlatform/app-gradle-plugin/blob/master/CHANGELOG.md#​241) ##### Fixed - Fixed bug when using `plugins` block in `build.gradle` ([#​388](../../pull/388)) ### [`v2.4.0`](https://togithub.com/GoogleCloudPlatform/app-gradle-plugin/blob/master/CHANGELOG.md#​240) ##### Added - `appengine.tools.verbosity` option for defining gcloud log verbosity ([#​384](../../pull/384)) ### [`v2.3.0`](https://togithub.com/GoogleCloudPlatform/app-gradle-plugin/blob/master/CHANGELOG.md#​230) ##### Changed - Update to appengine-plugins-core 0.9.0 ([#​377](../../pull/377)) - Includes support for binary artifacts for app.yaml based deployments ([appengine-plugins-core:#​840](https://togithub.com/GoogleCloudPlatform/appengine-plugins-core/issues/840)) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/GoogleCloudPlatform/java-docs-samples).
…3.0 (#388) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.2.0` -> `20.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/) | --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- 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-servicedirectory).
…3.0 (#388) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.2.0` -> `20.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/) | --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- 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-servicedirectory).
…3.0 (#388) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.2.0` -> `20.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/) | --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- 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-servicedirectory).
…3.0 (#388) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.2.0` -> `20.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/) | --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- 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-servicedirectory).
…tion to v0.122.7-beta (#388)
…2.0 (#388) [](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `16.1.0` -> `16.2.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- 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-datacatalog).
…388) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `18.1.0` -> `19.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/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- 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-recaptchaenterprise).
…388) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `18.1.0` -> `19.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/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- 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-recaptchaenterprise).
…1.0 (#388) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.0.0` -> `19.1.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/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- 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-document-ai).
…1.0 (#388) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.0.0` -> `19.1.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/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- 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-document-ai).
| Back | FazBrowse Home | New Git URL |
No description provided.