forked from eiffel-community/eiffel-intelligence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TestExecutionObjectRules-Eiffel-Toulouse-Version.json
129 lines (129 loc) · 5.37 KB
/
TestExecutionObjectRules-Eiffel-Toulouse-Version.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[
{
"TemplateName": "TEST_EXECUTION_1",
"Type": "EiffelActivityTriggeredEvent",
"TypeRule": "meta.type",
"IdRule": "meta.id",
"StartEvent": "YES",
"IdentifyRules": "[meta.id]",
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
"ExtractionRules": "{ activity_triggered_event_id : meta.id, type : meta.type, time : meta.time, version : meta.version, ongoing : `\"false\"` }",
"MergeResolverRules": null,
"ArrayMergeOptions": "",
"HistoryIdentifyRules": "",
"HistoryExtractionRules": "",
"ProcessRules": null,
"ProcessFunction": null
},
{
"TemplateName": "TEST_EXECUTION_1",
"Type": "EiffelActivityStartedEvent",
"TypeRule": "meta.type",
"IdRule": "meta.id",
"StartEvent": "NO",
"IdentifyRules": "links | [?type=='ACTIVITY_EXECUTION'].target",
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
"ExtractionRules": "{activity_started_event_id: meta.id, ongoing : `\"true\"`}",
"ArrayMergeOptions": "",
"HistoryIdentifyRules": "",
"HistoryExtractionRules": "",
"ProcessRules": null,
"ProcessFunction": null
},
{
"TemplateName": "TEST_EXECUTION_1",
"Type": "EiffelActivityFinishedEvent",
"TypeRule": "meta.type",
"IdRule": "meta.id",
"StartEvent": "NO",
"IdentifyRules": "links | [?type=='ACTIVITY_EXECUTION'].target",
"MatchIdRules": { "$and": [{"activity_triggered_event_id": "%IdentifyRulesEventId%"},{"activity_started_event_id":{"$exists":true}}]},
"ExtractionRules": "{activity_finished_event_id: meta.id, ongoing : `\"false\"`, outcome : data.outcome}",
"MergeResolverRules": "{\"activity_started_event_id\":%IdentifyRulesEventId%}",
"ArrayMergeOptions": "",
"HistoryIdentifyRules": "",
"HistoryExtractionRules": "",
"ProcessRules": null,
"ProcessFunction": null
},
{
"TemplateName": "TEST_EXECUTION_1",
"Type": "EiffelTestExecutionRecipeCollectionCreatedEvent",
"TypeRule": "meta.type",
"IdRule": "meta.id",
"StartEvent": "NO",
"IdentifyRules": "links | [?type=='CONTEXT'].target",
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
"ExtractionRules": "{ test_batches : data.batches }",
"MergeResolverRules": null,
"ArrayMergeOptions": "",
"HistoryIdentifyRules": "",
"HistoryExtractionRules": "",
"ProcessRules": null,
"ProcessFunction": null
},
{
"TemplateName": "TEST_EXECUTION_1",
"Type": "EiffelTestSuiteStartedEvent",
"TypeRule": "meta.type",
"IdRule": "meta.id",
"StartEvent": "NO",
"IdentifyRules": "links | [?type=='CONTEXT'].target",
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
"ExtractionRules": "{test_suite_started_event_id: meta.id, test_suite_name : data.name }",
"MergeResolverRules": "[{NONEPATH:NONE}, {test_suite: [{test_suite_started_event_id: meta.id}]} ]",
"ArrayMergeOptions": "",
"HistoryIdentifyRules": "",
"HistoryExtractionRules": "",
"ProcessRules": null,
"ProcessFunction": null
},
{
"TemplateName": "TEST_EXECUTION_1",
"Type": "EiffelTestCaseTriggeredEvent",
"TypeRule": "meta.type",
"IdRule": "meta.id",
"StartEvent": "NO",
"IdentifyRules": "links | [?type=='IUT'].target",
"MatchIdRules": { "$and": [{"test_suite.test_suite_started_event_id": "%IdentifyRulesEventId%"}]},
"ExtractionRules": "{test_case_triggered_event_id : meta.id, test_data : data.testCase, ongoing : `\"false\"`}",
"MergeResolverRules": "[{test_suite_started_event_id: links | [?type=='IUT'] | [0].target}, {test_case : [{ test_case_triggered_event_id:meta.id}] }]",
"ArrayMergeOptions": "",
"HistoryIdentifyRules": "",
"HistoryExtractionRules": "",
"ProcessRules": null,
"ProcessFunction": null
},
{
"TemplateName": "TEST_EXECUTION_1",
"Type": "EiffelTestCaseStartedEvent",
"TypeRule": "meta.type",
"IdRule": "meta.id",
"StartEvent": "NO",
"IdentifyRules": "links | [?type=='TEST_CASE_EXECUTION'].target",
"MatchIdRules": { "$and": [{"test_suite.test_case.test_case_triggered_event_id": "%IdentifyRulesEventId%"}]},
"ExtractionRules": "{test_case_started_event_id: meta.id, ongoing : `\"true\"`}",
"MergeResolverRules": "[{NONEPATH:NONE}, {test_suite: [{ test_case : [{ test_case_triggered_event_id: links | [?type=='TEST_CASE_EXECUTION'] | [0].target }]} ]}]",
"ArrayMergeOptions": "",
"HistoryIdentifyRules": "",
"HistoryExtractionRules": "",
"ProcessRules": null,
"ProcessFunction": null
},
{
"TemplateName": "TEST_EXECUTION_1",
"Type": "EiffelTestCaseFinishedEvent",
"TypeRule": "meta.type",
"IdRule": "meta.id",
"StartEvent": "NO",
"IdentifyRules": "links | [?type=='TEST_CASE_EXECUTION'].target",
"MatchIdRules": {"test_suite.test_case": {"$elemMatch":{ "$and": [{"test_case_triggered_event_id": "%IdentifyRulesEventId%"},{"test_case_started_event_id":{"$exists":true}}]}}},
"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}",
"MergeResolverRules": "[{NONEPATH:NONE}, {test_suite: [{ test_case : [{ test_case_triggered_event_id: links | [?type=='TEST_CASE_EXECUTION'] | [0].target }]} ]}]",
"ArrayMergeOptions": "",
"HistoryIdentifyRules": "",
"HistoryExtractionRules": "",
"ProcessRules": null,
"ProcessFunction": null
}
]