-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
updating Firebase on App Engine sample to use latest libs #862
Conversation
fixing issue in running locally
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - comments are nits
@@ -29,26 +23,36 @@ for realtime notifications when the board changes. | |||
[fb-overview]: https://console.firebase.google.com/project/_/overview | |||
[maven]: https://maven.apache.org | |||
|
|||
## Setup | |||
|
|||
* If you haven't already, Download and initialize the [Cloud SDK](https://cloud.google.com/sdk/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be a Prerequisite?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
``` | ||
gcloud init | ||
``` | ||
* If you haven't already, Create an App Engine app within the current Google Cloud Project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Redundant phrase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cleaned up
Download [service account credentials][creds] and set the `GOOGLE_APPLICATION_CREDENTIALS` | ||
environment variable to its path: | ||
``` | ||
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/credentials.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have them set GOOGLE_CLOUD_PROJECT? Look at gcloud config to verify their project?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
given we still ask users to use gcloud init
: added a note there that this sets the project.
servletUnderTest.doPost(mockRequest, mockResponse); | ||
|
||
game = ofy.load().type(Game.class).id(gameKey).safe(); | ||
assertThat(game.board).isEqualTo(" X "); | ||
assertEquals(game.board, " X "); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Truth might make this cleaner.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minimizing test dependencies, so leaving this as-is
…3.0 (#862) * chore(deps): update dependency com.google.cloud:libraries-bom to v25.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 <gcf-owl-bot[bot]@users.noreply.github.com>
…3.0 (#862) * chore(deps): update dependency com.google.cloud:libraries-bom to v25.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 <gcf-owl-bot[bot]@users.noreply.github.com>
…3.0 (#862) * chore(deps): update dependency com.google.cloud:libraries-bom to v25.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 <gcf-owl-bot[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [3.3.0](googleapis/java-dlp@v3.2.1...v3.3.0) (2022-04-15) ### Features * add DataProfilePubSubMessage supporting pub/sub integration ([#855](googleapis/java-dlp#855)) ([86eeaaa](googleapis/java-dlp@86eeaaa)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.10.0 ([#863](googleapis/java-dlp#863)) ([a0a3164](googleapis/java-dlp@a0a3164)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Fixing issue in running app locally as reported by customer:
https://cloud.google.com/appengine/docs/deprecations/channel