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 sample and instructions to use queue.xml #222

Merged
merged 6 commits into from
May 3, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions appengine/taskqueue/pull/src/main/webapp/WEB-INF/queue.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<queue-entries>
<queue>
<name>pull-queue</name>
<mode>pull</mode>
<acl>
<user-email>bar@foo.com</user-email> <!-- can list, get, lease, delete, and update tasks -->
<writer-email>user@gmail.com</user-email> <!-- can insert tasks, in addition to rights granted by being a user_email above -->
<writer-email>bar@foo.com</writer-email> <!-- can insert tasks, in addition to rights granted by being a user_email above -->
</acl>
</queue>
</queue-entries>
7 changes: 0 additions & 7 deletions appengine/taskqueue/pull/src/main/webapp/WEB-INF/queue.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions taskqueue/pull/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ reuse an existing project by clicking on it.
1. Install [Google Cloud SDK](https://cloud.google.com/sdk/)
1. Run the following command to authorize the Cloud SDK and configure your project:
<pre>gcloud init</pre>
1. Add your authenticated email account as 'user_email' and 'writer_email' elements to the queue.yaml
1. Add your authenticated email account as '&lt;user-email&gt;' and '&lt;writer-email&gt;' elements to the queue.xml
file of the App Engine app that created the pull queue task you're trying to access. For more details, please see
[Defining Pull Queues](https://cloud.google.com/appengine/docs/java/taskqueue/overview-pull#Java_Defining_pull_queues).
* Running the sample on a Google Compute Engine VM using Default Application Credentials:
Expand All @@ -29,7 +29,7 @@ reuse an existing project by clicking on it.
section click "Create credentials" and choose "Service account key".
1. On the "Create service account key" page, select "Compute Engine default service account" from the "Service Account" drop-down menu. Leave the Key type set to JSON and click the "Create" button.
1. Once the service account is created, click the "Manage service accounts" link and copy the "Service account ID" of the "Compute Engine default service account".
1. Add the "Service account ID" as 'user_email' and 'writer_email' elements to the queue.yaml file of the
1. Add the "Service account ID" as '&lt;user-email&gt;' and '&lt;writer-email&gt;' elements to the queue.xml file of the
App Engine app that created the pull queue task you're trying to access. For more details, please see
[Defining Pull Queues](https://cloud.google.com/appengine/docs/java/taskqueue/overview-pull#Java_Defining_pull_queues).

Expand Down