-
Notifications
You must be signed in to change notification settings - Fork 5
/
test-scenario.json
58 lines (57 loc) · 1.43 KB
/
test-scenario.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
{
"schema_version": 1,
"name": "Test Scenario",
"description": "No description provided",
"source_url": false,
"guid": "7e5b350d98fccb66eeecae6cbdebda95",
"tag_fg_color": "#ffffff",
"tag_bg_color": "#5bc0de",
"icon": "gear",
"exported_at": "2017-01-16T05:46:27Z",
"agents": [
{
"type": "Agents::WebsiteAgent",
"name": "Test Scenario - Hit JSON Placeholder",
"disabled": false,
"guid": "386a6c77598ea7362ba46432b441103c",
"options": {
"expected_update_period_in_days": "365",
"url": "https://jsonplaceholder.typicode.com/posts/1",
"type": "json",
"mode": "all",
"extract": {
"id": {
"path": "$.id"
},
"title": {
"path": "$.title"
}
}
},
"schedule": "every_30m",
"keep_events_for": 3600,
"propagate_immediately": false
},
{
"type": "Agents::EmailAgent",
"name": "Test Scenario - Send Email",
"disabled": false,
"guid": "e1423b479112a9fad665faddc2c079f5",
"options": {
"subject": "You have a notification!",
"headline": "Your notification:",
"expected_receive_period_in_days": "365",
"body": "Blog post {{ id }} has gone up with the title {{ title }}."
},
"propagate_immediately": false
}
],
"links": [
{
"source": 0,
"receiver": 1
}
],
"control_links": [
]
}