GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Replaced queue.xml with queue.yaml (#211) · blackbird921/java-docs-samples@f2212b5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • appengine/taskqueue/pull/src/main/webapp/WEB-INF
    • queue.xml
    • queue.yaml
  • taskqueue/pull
    • README.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎appengine/taskqueue/pull/src/main/webapp/WEB-INF/queue.xml‎

Copy file name to clipboardExpand all lines: appengine/taskqueue/pull/src/main/webapp/WEB-INF/queue.xml
-10Lines changed: 0 additions & 10 deletions
This file was deleted.
Collapse file

‎appengine/taskqueue/pull/src/main/webapp/WEB-INF/queue.yaml‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
queue:
2+
- name: pull-queue
3+
mode: pull
4+
acl:
5+
- user_email: [email protected] # can list, get, lease, delete, and update tasks
6+
- writer_email: [email protected] # can insert tasks
7+
- writer_email: [email protected] # can insert tasks, in addition to rights granted by being a user_email above
Collapse file

‎taskqueue/pull/README.md‎

Copy file name to clipboardExpand all lines: taskqueue/pull/README.md
+6-8Lines changed: 6 additions & 8 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,24 @@ to create one first and then come back and run this sample.
1414
reuse an existing project by clicking on it.
1515
1. Note: You will need to enable billing for the project to use Compute
1616
Engine.
17-
1. Click "Overview" in the left-side navigation menu and copy your Project ID
18-
for use in step 3.3 below.
1917

2018
1. Authentication instructions to run the sample (on your local machine or on a Compute Engine VM):
2119
* Running the sample locally on your development machine:
2220
1. Install [Google Cloud SDK](https://cloud.google.com/sdk/)
2321
1. Run the following command to authorize the Cloud SDK and configure your project:
2422
<pre>gcloud init</pre>
25-
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
26-
[Defining Pull Queues](https://cloud.google.com/appengine/docs/java/config/queue#Defining_Pull_Queues)
27-
on the Task Queue configuration page.
23+
1. Add your authenticated email account as 'user_email' and 'writer_email' elements to the queue.yaml
24+
file of the App Engine app that created the pull queue task you're trying to access. For more details, please see
25+
[Defining Pull Queues](https://cloud.google.com/appengine/docs/java/taskqueue/overview-pull#Java_Defining_pull_queues).
2826
* Running the sample on a Google Compute Engine VM using Default Application Credentials:
2927
1. Create a service account and add it to queue.xml
3028
1. In the API Manager > [Credentials](https://pantheon.corp.google.com/apis/credentials)
3129
section click "Create credentials" and choose "Service account key".
3230
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.
3331
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".
34-
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
35-
[Defining Pull Queues](https://cloud.google.com/appengine/docs/java/config/queue#Defining_Pull_Queues)
36-
on the Task Queue configuration page.
32+
1. Add the "Service account ID" as 'user_email' and 'writer_email' elements to the queue.yaml file of the
33+
App Engine app that created the pull queue task you're trying to access. For more details, please see
34+
[Defining Pull Queues](https://cloud.google.com/appengine/docs/java/taskqueue/overview-pull#Java_Defining_pull_queues).
3735

3836
1. Create a Compute Engine VM Instance.
3937
1. In the [Cloud Console](https://console.cloud.google.com/project)

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.