-
Notifications
You must be signed in to change notification settings - Fork 0
/
templates.json
65 lines (62 loc) · 1.99 KB
/
templates.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
59
60
61
62
63
64
65
# mainframe
{
"event": "{{ body.event_name }}",
"resource": {
"prefect.resource.id": "prefect.webhook.mainframe",
"prefect.resource.name": "prefect.webhook.mainframe",
"stage": "{{ body.stage }}",
"file_name": "{{ body.file_name }}",
"trackingId": "{{ body.trackingId }}"
}
}
# azure-storage
{
"event": "{{body[0].eventType}}",
"payload": {
"topic": "{{body[0].topic}}",
"subject": "{{body[0].subject}}",
"eventType": "{{body[0].eventType}}",
"eventTime": "{{body[0].eventTime}}",
"id": "{{body[0].id}}",
"data": {
"api": "{{body[0].data.api}}",
"clientRequestId": "{{body[0].data.clientRequestId}}",
"requestId": "{{body[0].data.requestId}}",
"eTag": "{{body[0].data.eTag}}",
"contentType": "{{body[0].data.contentType}}",
"contentLength": "{{body[0].data.contentLength}}",
"blobType": "{{body[0].data.blobType}}",
"url": "{{body[0].data.url}}",
"sequencer": "{{body[0].data.sequencer}}",
"storageDiagnostics": {
"batchId": "{{body[0].data.storageDiagnostics.batchId}}"
}
},
"dataVersion": "",
"metadataVersion": "1"
},
"resource": {
"prefect.resource.id": "{{ body[0].data.url }}",
"url": "{{body[0].data.url}}"
}
}
# summary
{
"event": "Summary",
"resource": {
"prefect.resource.id": "prefect.webhook.summary",
"prefect.resource.name": "prefect.webhook.summary",
"totalRecordsSent": "{{ body.totalRecordsSent }}",
"trackingId": "{{ body.trackingId }}"
}
}
# reconciliation
{
"event": "Reconciliation",
"resource": {
"prefect.resource.id": "prefect.webhook.reconciliation",
"prefect.resource.name": "prefect.webhook.reconciliation",
"totalRecordsReceived": "{{ body.totalRecordsReceived }}",
"trackingId": "{{ body.trackingId }}"
}
}