This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
/
url.json
58 lines (58 loc) · 2.28 KB
/
url.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"setup":{
"license":"Licensed under the Apache License, Version 2.0",
"copyright":"Copyright 2021 Google LLC"
},
"tasks": [
{ "dataset":{
"auth":"service",
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"StarThinker_Test_URL_", "default": "Manual"}},
"clear":true
}},
{ "url":{
"auth":{"field":{ "name":"auth_bigquery", "kind":"authentication", "order":3, "default":"service", "description":"BigQuery read/ write credentials." }},
"status":true,
"read":true,
"urls":{
"bigquery":{
"dataset":{"field":{ "name":"recipe_slug", "kind":"string", "order":5, "default":"", "description":"name of dataset in BigQuery." }},
"query":"
SELECT 'https://www.gstatic.com/webp/gallery3/1_webp_a.webp' AS URL, 'rose' AS URI
UNION ALL
SELECT 'https://www.gstatic.com/webp/gallery3/2_webp_a.webp' AS URL, 'penguin' AS URI
UNION ALL
SELECT 'https://www.gstatic.com/webp/gallery3/3_webp_a.webp' AS URL, 'dice' AS URI
",
"legacy":false
}
},
"to":{
"bigquery":{
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"StarThinker_Test_URL_", "default": "Manual"}},
"table":"URL_Data"
}
}
}},
{ "test": {
"auth":"service",
"bigquery":{
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"StarThinker_Test_URL_", "default": "Manual"}},
"table":"URL_Data",
"schema":[
{ "name": "URI", "type": "STRING", "mode": "NULLABLE" },
{ "name": "URL", "type": "STRING", "mode": "REQUIRED" },
{ "name": "Status", "type": "INTEGER", "mode": "NULLABLE" },
{ "name": "Read", "type": "BYTES", "mode": "NULLABLE" }
]
}
}},
{ "dataset":{
"auth":"service",
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"StarThinker_Test_URL_", "default": "Manual"}},
"delete":true
}},
{ "test": {
"assert":"Completed all tasks."
}}
]
}