|
6 | 6 | "IdRule": "meta.id",
|
7 | 7 | "StartEvent": "YES",
|
8 | 8 | "IdentifyRules": "[meta.id]",
|
9 |
| - "MatchIdRules": { |
10 |
| - "_id": "%IdentifyRules_objid%" |
11 |
| - }, |
12 |
| - "ExtractionRules": "{ id : meta.id, type : meta.type, time : meta.time, version : meta.version, ongoing : `\"false\"` }", |
| 9 | + "MatchIdRules": {"_id": "%IdentifyRules_objid%"}, |
| 10 | + "ExtractionRules": "{ activity_triggered_event_id : meta.id, type : meta.type, time : meta.time, version : meta.version, ongoing : `\"false\"` }", |
13 | 11 | "MergeResolverRules": null,
|
14 | 12 | "ArrayMergeOptions": "",
|
15 | 13 | "HistoryIdentifyRules": "",
|
|
24 | 22 | "IdRule": "meta.id",
|
25 | 23 | "StartEvent": "NO",
|
26 | 24 | "IdentifyRules": "links | [?type=='ACTIVITY_EXECUTION'].target",
|
27 |
| - "MatchIdRules": { |
28 |
| - "_id": "%IdentifyRules_objid%" |
29 |
| - }, |
30 |
| - "ExtractionRules": "{ ongoing : `\"true\"`}", |
| 25 | + "MatchIdRules": {"_id": "%IdentifyRules_objid%"}, |
| 26 | + "ExtractionRules": "{activity_started_event_id: meta.id, ongoing : `\"true\"`}", |
31 | 27 | "ArrayMergeOptions": "",
|
32 | 28 | "HistoryIdentifyRules": "",
|
33 | 29 | "HistoryExtractionRules": "",
|
|
42 | 38 | "StartEvent": "NO",
|
43 | 39 | "IdentifyRules": "links | [?type=='ACTIVITY_EXECUTION'].target",
|
44 | 40 | "MatchIdRules": {"_id": "%IdentifyRules_objid%"},
|
45 |
| - "ExtractionRules": "{ ongoing : `\"false\"`, outcome : data.outcome}", |
46 |
| - "MergeResolverRules": null, |
| 41 | + "ExtractionRules": "{activity_finished_event_id: meta.id, ongoing : `\"false\"`, outcome : data.outcome}", |
| 42 | + "MergeResolverRules": "{\"activity_started_event_id\":%IdentifyRules%}", |
47 | 43 | "ArrayMergeOptions": "",
|
48 | 44 | "HistoryIdentifyRules": "",
|
49 | 45 | "HistoryExtractionRules": "",
|
|
57 | 53 | "IdRule": "meta.id",
|
58 | 54 | "StartEvent": "NO",
|
59 | 55 | "IdentifyRules": "links | [?type=='CONTEXT'].target",
|
60 |
| - "MatchIdRules": { |
61 |
| - "_id": "%IdentifyRules_objid%" |
62 |
| - }, |
| 56 | + "MatchIdRules": {"_id": "%IdentifyRules_objid%"}, |
63 | 57 | "ExtractionRules": "{ test_batches : data.batches }",
|
64 | 58 | "MergeResolverRules": null,
|
65 | 59 | "ArrayMergeOptions": "",
|
|
75 | 69 | "IdRule": "meta.id",
|
76 | 70 | "StartEvent": "NO",
|
77 | 71 | "IdentifyRules": "links | [?type=='CONTEXT'].target",
|
78 |
| - "MatchIdRules": { |
79 |
| - "_id": "%IdentifyRules_objid%" |
80 |
| - }, |
81 |
| - "ExtractionRules": "{ test_suite_name : data.name }", |
82 |
| - "MergeResolverRules": null, |
| 72 | + "MatchIdRules": {"_id": "%IdentifyRules_objid%"}, |
| 73 | + "ExtractionRules": "{test_suite_started_event_id: meta.id, test_suite_name : data.name }", |
| 74 | + "MergeResolverRules": "[{NONEPATH:NONE}, {test_suite: [{test_suite_started_event_id: meta.id}]} ]", |
83 | 75 | "ArrayMergeOptions": "",
|
84 | 76 | "HistoryIdentifyRules": "",
|
85 | 77 | "HistoryExtractionRules": "",
|
|
92 | 84 | "TypeRule": "meta.type",
|
93 | 85 | "IdRule": "meta.id",
|
94 | 86 | "StartEvent": "NO",
|
95 |
| - "IdentifyRules": "links | [?type=='CONTEXT'].target", |
96 |
| - "MatchIdRules": { |
97 |
| - "_id": "%IdentifyRules_objid%" |
98 |
| - }, |
99 |
| - "ExtractionRules": "{ test_cases : [{trigger_event_id : meta.id, test_data : data.testcase, ongoing : `\"false\"`}]}", |
100 |
| - "MergeResolverRules": "{\"trigger_event_id:\":%IdentifyRules%}", |
| 87 | + "IdentifyRules": "links | [?type=='IUT'].target", |
| 88 | + "MatchIdRules": {"_id": "%IdentifyRules_objid%"}, |
| 89 | + "ExtractionRules": "{test_case_triggered_event_id : meta.id, test_data : data.testCase, ongoing : `\"false\"`}", |
| 90 | + "MergeResolverRules": "[{test_suite_started_event_id: links | [?type=='IUT'] | [0].target}, {test_case : [{ test_case_triggered_event_id:meta.id}] }]", |
101 | 91 | "ArrayMergeOptions": "",
|
102 | 92 | "HistoryIdentifyRules": "",
|
103 | 93 | "HistoryExtractionRules": "",
|
|
111 | 101 | "IdRule": "meta.id",
|
112 | 102 | "StartEvent": "NO",
|
113 | 103 | "IdentifyRules": "links | [?type=='TEST_CASE_EXECUTION'].target",
|
114 |
| - "MatchIdRules": { |
115 |
| - "_id": "%IdentifyRules_objid%" |
116 |
| - }, |
117 |
| - "ExtractionRules": "{ test_cases : [{trigger_event_id : links | [] | [?type=='TEST_CASE_EXECUTION'].target | [0], ongoing : `\"true\"`}]}", |
118 |
| - "MergeResolverRules": "{\"trigger_event_id:\":%IdentifyRules%}", |
| 104 | + "MatchIdRules": {"_id": "%IdentifyRules_objid%"}, |
| 105 | + "ExtractionRules": "{test_case_started_event_id: meta.id, ongoing : `\"true\"`}", |
| 106 | + "MergeResolverRules": "[{NONEPATH:NONE}, {test_suite: [{ test_case : [{ test_case_triggered_event_id: links | [?type=='TEST_CASE_EXECUTION'] | [0].target }]} ]}]", |
119 | 107 | "ArrayMergeOptions": "",
|
120 | 108 | "HistoryIdentifyRules": "",
|
121 | 109 | "HistoryExtractionRules": "",
|
|
129 | 117 | "IdRule": "meta.id",
|
130 | 118 | "StartEvent": "NO",
|
131 | 119 | "IdentifyRules": "links | [?type=='TEST_CASE_EXECUTION'].target",
|
132 |
| - "MatchIdRules": { |
133 |
| - "_id": "%IdentifyRules_objid%" |
134 |
| - }, |
135 |
| - "ExtractionRules": "{ test_cases : [{trigger_event_id : links | [] | [?type=='TEST_CASE_EXECUTION'].target | [0], ongoing : `\"false\"`, verdict : data.outcome.verdict, conclusion : data.outcome.conclusion}]}", |
136 |
| - "MergeResolverRules": "{\"trigger_event_id:\":%IdentifyRules%}", |
| 120 | + "MatchIdRules": {"_id": "%IdentifyRules_objid%"}, |
| 121 | + "ExtractionRules": "{test_case_finished_event_id: meta.id, ongoing : `\"false\"`, verdict : data.outcome.verdict, conclusion : data.outcome.conclusion, metrics : data.outcome.metrics, description : data.outcome.description}", |
| 122 | + "MergeResolverRules": "[{NONEPATH:NONE}, {test_suite: [{ test_case : [{ test_case_started_event_id: links | [?type=='TEST_CASE_EXECUTION'] | [0].target }]} ]}]", |
137 | 123 | "ArrayMergeOptions": "",
|
138 | 124 | "HistoryIdentifyRules": "",
|
139 | 125 | "HistoryExtractionRules": "",
|
|
0 commit comments