-
Notifications
You must be signed in to change notification settings - Fork 1k
[Cloud Tasks] Add HTTP task sample #866
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
Conversation
grayside
left a comment
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.
Overall the changes look good, but similar to my feedback for GoogleCloudPlatform/golang-samples#799, with this new feature not being App Engine-specific we should either move this to a top-level tasks/ directory or split it between /appengine/tasks and /tasks.
bshaffer
left a comment
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.
The README needs fixing, otherwise this looks great!
tasks/phpunit.xml.dist
Outdated
| @@ -0,0 +1,31 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <!-- | |||
| Copyright 2018 Google LLC. | |||
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.
nit: 2019! And should be for all new files!
tasks/README.md
Outdated
|
|
||
| First, your project ID: | ||
|
|
||
| export PROJECT_ID=my-project-id |
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.
Setting environment variables for PROJECT_ID, LOCATION_ID, and QUEUE_ID are not required, as we pass them into the script directly. The only environment variable required should be GOOGLE_APPLICATION_CREDENTIALS
|
Thanks for the review. Can I go ahead and merge? |
|
Looks great!! Thank you! |
Test projects will have to be granted permission for HTTP targets or wait until whitelisting is off.