|
1 | 1 | { |
| 2 | + "name": "projects/102128743119/locations/us-west1/integrations/sample/versions/a87f7b88-73fa-4ff0-9fac-135c12a2caff/testCases/a11fcb3c-bd72-4ad2-83ea-f2c8c50b6f5c", |
2 | 3 | "displayName": "test1", |
3 | | - "name": "projects/100000000000/locations/us-west1/integrations/sample/versions/f8145f7e-173c-4c1e-ad35-c6392853b628/testCases/dc4a4be5-1625-4f0b-a8c6-b81dce8f8620", |
| 4 | + "triggerId": "api_trigger/sample_API_1", |
4 | 5 | "testTaskConfigs": [ |
5 | 6 | { |
6 | | - "assertions": [ |
7 | | - { |
8 | | - "assertionStrategy": "ASSERT_SUCCESSFUL_EXECUTION", |
9 | | - "parameter": { |
10 | | - "value": {} |
11 | | - } |
12 | | - } |
13 | | - ], |
| 7 | + "taskNumber": "1", |
14 | 8 | "mockConfig": { |
15 | | - "mockStrategy": "SPECIFIC_MOCK_STRATEGY" |
| 9 | + "mockStrategy": "NO_MOCK_STRATEGY" |
16 | 10 | }, |
17 | 11 | "task": "JsonnetMapperTask", |
18 | 12 | "taskConfig": { |
19 | | - "displayName": "Data Transformer (Preview)", |
| 13 | + "task": "JsonnetMapperTask", |
| 14 | + "taskId": "1", |
20 | 15 | "nextTasks": [ |
21 | 16 | { |
22 | 17 | "taskId": "2" |
23 | 18 | } |
24 | 19 | ], |
25 | | - "task": "JsonnetMapperTask", |
26 | 20 | "taskExecutionStrategy": "WHEN_ALL_SUCCEED", |
27 | | - "taskId": "1" |
28 | | - }, |
29 | | - "taskNumber": "1" |
| 21 | + "displayName": "Data Transformer (Preview)", |
| 22 | + "position": { |
| 23 | + "x": -210, |
| 24 | + "y": 126 |
| 25 | + } |
| 26 | + } |
30 | 27 | }, |
31 | 28 | { |
| 29 | + "taskNumber": "2", |
| 30 | + "mockConfig": { |
| 31 | + "mockStrategy": "SKIP_MOCK_STRATEGY" |
| 32 | + }, |
32 | 33 | "assertions": [ |
33 | 34 | { |
34 | | - "assertionStrategy": "ASSERT_SUCCESSFUL_EXECUTION", |
35 | | - "parameter": { |
36 | | - "value": {} |
37 | | - } |
| 35 | + "assertionStrategy": "ASSERT_SUCCESSFUL_EXECUTION" |
38 | 36 | } |
39 | 37 | ], |
40 | | - "mockConfig": { |
41 | | - "mockStrategy": "SPECIFIC_MOCK_STRATEGY", |
42 | | - "parameters": [ |
43 | | - { |
44 | | - "key": "`Task_2_responseHeader`", |
45 | | - "value": { |
46 | | - "stringValue": "test" |
47 | | - } |
48 | | - }, |
49 | | - { |
50 | | - "key": "`Task_2_responseBody`", |
51 | | - "value": { |
52 | | - "stringValue": "test" |
53 | | - } |
54 | | - }, |
55 | | - { |
56 | | - "key": "`Task_2_responseStatus`", |
57 | | - "value": { |
58 | | - "stringValue": "tesst" |
59 | | - } |
60 | | - } |
61 | | - ] |
62 | | - }, |
63 | 38 | "task": "GenericRestV2Task", |
64 | 39 | "taskConfig": { |
65 | | - "displayName": "Call REST Endpoint", |
66 | 40 | "task": "GenericRestV2Task", |
| 41 | + "taskId": "2", |
67 | 42 | "taskExecutionStrategy": "WHEN_ALL_SUCCEED", |
68 | | - "taskId": "2" |
69 | | - }, |
70 | | - "taskNumber": "2" |
| 43 | + "displayName": "Call REST Endpoint", |
| 44 | + "position": { |
| 45 | + "x": -210, |
| 46 | + "y": 252 |
| 47 | + } |
| 48 | + } |
71 | 49 | } |
72 | 50 | ], |
| 51 | + "createTime": "2025-02-02T22:17:04.257119Z", |
| 52 | + "updateTime": "2025-02-02T22:18:32.915372Z", |
73 | 53 | "triggerConfig": { |
74 | 54 | "label": "API Trigger", |
75 | | - "properties": { |
76 | | - "Trigger name": "sample_API_1" |
77 | | - }, |
78 | 55 | "startTasks": [ |
79 | 56 | { |
80 | 57 | "taskId": "1" |
81 | 58 | } |
82 | 59 | ], |
83 | | - "triggerId": "api_trigger/sample_API_1", |
| 60 | + "properties": { |
| 61 | + "Trigger name": "sample_API_1" |
| 62 | + }, |
| 63 | + "triggerType": "API", |
84 | 64 | "triggerNumber": "1", |
85 | | - "triggerType": "API" |
86 | | - }, |
87 | | - "triggerId": "api_trigger/sample_API_1" |
| 65 | + "triggerId": "api_trigger/sample_API_1", |
| 66 | + "position": { |
| 67 | + "x": -210 |
| 68 | + } |
| 69 | + } |
88 | 70 | } |
0 commit comments