forked from eiffel-community/eiffel-intelligence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAggregateListRules.json
46 lines (46 loc) · 1.67 KB
/
AggregateListRules.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
[
{
"TemplateName": "ARTIFACT_TEST",
"Type": "EiffelArtifactCreatedEvent",
"TypeRule": "meta.type",
"IdRule": "meta.id",
"StartEvent": "YES",
"IdentifyRules": "[meta.id]",
"MatchIdRules": {
"_id": "%IdentifyRulesEventId%"
},
"ExtractionRules": "{ id : meta.id, type : meta.type, time : meta.time, identity : data.identity, fileInformation : data.fileInformation, buildCommand : data.buildCommand }",
"ArrayMergeOptions": "",
"ProcessRules": null,
"ProcessFunction": null
},
{
"TemplateName": "ARTIFACT_TEST",
"Type": "EiffelArtifactPublishedEvent",
"TypeRule": "meta.type",
"IdRule": "meta.id",
"StartEvent": "NO",
"IdentifyRules": "links | [?type=='ARTIFACT'].target",
"MatchIdRules": {
"_id": "%IdentifyRulesEventId%"
},
"ExtractionRules": "{ publications :[ { eventId : meta.id, time : meta.time, locations : data.locations }] }",
"ProcessRules": null,
"ProcessFunction": null
},
{
"TemplateName": "ARTIFACT_TEST",
"Type": "EiffelConfidenceLevelModifiedEvent",
"TypeRule": "meta.type",
"IdRule": "meta.id",
"StartEvent": "NO",
"IdentifyRules": "links | [?type=='SUBJECT'].target",
"MatchIdRules": {
"_id": "%IdentifyRulesEventId%"
},
"ExtractionRules" : "{ eventId:meta.id, time:meta.time, name:data.name, value:data.value }",
"MergeResolverRules": "[ {NONEPATH:NONE}, {confidenceLevels: [{ eventId: meta.id }]} ]",
"ProcessRules": null,
"ProcessFunction": null
}
]