Uh oh!
There was an error while loading. Please reload this page.
Standard guestbook using Cloud Datastore API rather than Objectify - #388
Merged
Conversation
wshforce-pushed
the
wsh/standard-guestbook-sans-objectify
branch
from
October 26, 2016 22:19
48473a5 to
5328ac0Comparewshforce-pushed
the
wsh/standard-guestbook-sans-objectify
branch
from
October 26, 2016 22:53
c6c7539 to
367e7bdComparelesv
suggested changes
Oct 26, 2016
| 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 |
Contributor
There was a problem hiding this comment.
Looks like the old plugin, should be mvn clean appengine:run w/ new.
| Modify `appengine-web.xml` to reflect your app ID and version, then: | ||
| mvn clean appengine:update |
ContributorAuthor
There was a problem hiding this comment.
You meant deploy, but got it.
| return Objects.hash(key, authorEmail, authorId, content, date); | ||
| } | ||
| } | ||
| //[END all] No newline at end of file |
Contributor
There was a problem hiding this comment.
It's common to add toString() if you are doing equals & hashCode().
| //[START all] | ||
| public class Guestbook { | ||
| private static final KeyFactory kf = getKeyFactory(Guestbook.class); |
| return resultListBuilder.build(); | ||
| } | ||
| } | ||
| //[END all] No newline at end of file |
| @@ -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> | |||
| <?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> |
| ancestor: yes | ||
| properties: | ||
| - name: date | ||
| direction: desc No newline at end of file |
| <% | ||
| } else { | ||
| %> | ||
| <p>Messages in Guestbook '${fn:escapeXml(guestbookName)}'.</p> |
Contributor
There was a problem hiding this comment.
YEA - I forgot this recently in some stuff -- good to see it here.
ContributorAuthor
There was a problem hiding this comment.
😄 It's in the Objectify one! I just copied it.
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
|
lesv
suggested changes
Oct 27, 2016
| <plugins> | ||
| <plugin> | ||
| <groupId>com.google.appengine</groupId> | ||
| <artifactId>appengine-maven-plugin</artifactId> |
Contributor
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>wshforce-pushed
the
wsh/standard-guestbook-sans-objectify
branch
2 times, most recently
from
October 27, 2016 00:52
b4b680b to
476642fComparelesv
approved these changes
Oct 27, 2016
wshforce-pushed
the
wsh/standard-guestbook-sans-objectify
branch
from
October 27, 2016 01:00
476642f to
3778448Comparelesv
approved these changes
Oct 27, 2016
gcf-merge-on-greenBot
pushed a commit
that referenced
this pull request
Sep 1, 2021
…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).
Shabirmean pushed a commit
that referenced
this pull request
Nov 9, 2022
…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).
This was referenced Nov 9, 2022
Shabirmean pushed a commit
that referenced
this pull request
Nov 9, 2022
…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).
9 tasks
Shabirmean pushed a commit
that referenced
this pull request
Nov 9, 2022
…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).
9 tasks
Shabirmean pushed a commit
that referenced
this pull request
Nov 10, 2022
…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).
9 tasks
olivi-eh pushed a commit
that referenced
this pull request
Nov 11, 2022
…tion to v0.122.7-beta (#388)
9 tasks
charlieyu1996 pushed a commit
that referenced
this pull request
Nov 11, 2022
…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).
Sita04 pushed a commit
that referenced
this pull request
Nov 11, 2022
…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).
9 tasks
Sita04 pushed a commit
that referenced
this pull request
Nov 15, 2022
…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).
Shabirmean pushed a commit
that referenced
this pull request
Nov 15, 2022
…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).
9 tasks
Shabirmean pushed a commit
that referenced
this pull request
Nov 15, 2022
…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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.