-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1137 from mrtamm/develop-task-ownership
Task ownership and access-control
- Loading branch information
Showing
56 changed files
with
1,697 additions
and
805 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Google Datastore Usage | ||
|
||
When Funnel is configured to use the Google Datastore as its database, some | ||
additional configuration steps need to be taken. | ||
|
||
## Datastore Access | ||
|
||
Authentication to the Google Datastore needs to be configured through Google | ||
Cloud CLI as described here: | ||
https://cloud.google.com/datastore/docs/reference/libraries?hl=en#authentication | ||
|
||
## Datastore Indexes | ||
|
||
For retrieving a list of tasks, Funnel needs [composite | ||
indexes](https://cloud.google.com/datastore/docs/concepts/indexes?hl=en) to be | ||
defined in the Datastore using the Google Cloud CLI and the | ||
[index.yaml](./index.yaml) file: | ||
|
||
```shell | ||
gcloud datastore indexes create path/to/index.yaml --database='funnel' | ||
``` | ||
|
||
Note that it will take a bit of time before the indexes are ready for accepting | ||
requests. You can see the status of those indexes through the Google Cloud | ||
console: https://console.cloud.google.com/datastore/databases/ (**Indexes** | ||
view under the target database). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# These index-definitions need to be imported to Datastore (if `database: datastore`) | ||
# Using Google Cloud CLI: gcloud datastore indexes create path/to/index.yaml | ||
|
||
indexes: | ||
|
||
- kind: Task | ||
properties: | ||
- name: Owner | ||
- name: State | ||
- name: TagStrings | ||
- name: CreationTime | ||
direction: desc | ||
|
||
- kind: Task | ||
properties: | ||
- name: Owner | ||
- name: State | ||
- name: CreationTime | ||
direction: desc | ||
|
||
- kind: Task | ||
properties: | ||
- name: Owner | ||
- name: TagStrings | ||
- name: CreationTime | ||
direction: desc | ||
|
||
- kind: Task | ||
properties: | ||
- name: Owner | ||
- name: CreationTime | ||
direction: desc | ||
|
||
- kind: Task | ||
properties: | ||
- name: State | ||
- name: TagStrings | ||
- name: CreationTime | ||
direction: desc | ||
|
||
- kind: Task | ||
properties: | ||
- name: State | ||
- name: CreationTime | ||
direction: desc | ||
|
||
- kind: Task | ||
properties: | ||
- name: TagStrings | ||
- name: CreationTime | ||
direction: desc |
Oops, something went wrong.