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

updating Firebase on App Engine sample to use latest libs #862

Merged
merged 3 commits into from
Sep 25, 2017

Conversation

jabubake
Copy link
Contributor

Fixing issue in running app locally as reported by customer:
https://cloud.google.com/appengine/docs/deprecations/channel

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 25, 2017
@jabubake jabubake requested a review from lesv September 25, 2017 17:07
Copy link
Contributor

@lesv lesv left a 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/)
Copy link
Contributor

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?

Copy link
Contributor Author

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant phrase

Copy link
Contributor Author

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
Copy link
Contributor

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?

Copy link
Contributor Author

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 ");
Copy link
Contributor

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.

Copy link
Contributor Author

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

@jabubake jabubake merged commit 1ec2907 into master Sep 25, 2017
@jabubake jabubake deleted the patch-appengine-firestore branch September 25, 2017 20:30
minherz pushed a commit that referenced this pull request Nov 9, 2022
…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>
minherz pushed a commit that referenced this pull request Nov 10, 2022
…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>
minherz pushed a commit that referenced this pull request Nov 10, 2022
…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>
Sita04 pushed a commit that referenced this pull request Feb 7, 2023
🤖 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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants