-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathtest.yaml
More file actions
43 lines (39 loc) · 953 Bytes
/
test.yaml
File metadata and controls
43 lines (39 loc) · 953 Bytes
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
init:
gcpCredentials: viant-e2e
pipeline:
create:
action: msg:setupResource
resources:
- URL: myTopic
type: topic
vendor: gcp
credentials: $gcpCredentials
- URL: mySubscription
type: subscription
vendor: gcp
credentials: $gcpCredentials
config:
topic:
URL: /projects/${msg.projectID}/topics/myTopic
setup:
action: msg:push
dest:
URL: /projects/${msg.projectID}/topics/myTopic
credentials: $gcpCredentials
source:
URL: data.json
validate:
action: msg:pull
count: 2
nack: true
source:
URL: /projects/${msg.projectID}/subscriptions/mySubscription
credentials: $gcpCredentials
expect:
- '@indexBy@': 'Attributes.attr1'
- Data: "this is my 1st message"
Attributes:
attr1: abc
- Data: "this is my 2nd message"
Attributes:
attr1: xyz