-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathrules.json
51 lines (51 loc) · 2.19 KB
/
rules.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
[
{
"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 }",
"DownstreamIdentifyRules": "links | [?type=='COMPOSITION'].target",
"DownstreamMergeRules": "{\"externalComposition\":{\"eventId\":%IdentifyRulesEventId%}}",
"DownstreamExtractionRules": "{artifacts: [{id : meta.id}]}",
"ArrayMergeOptions": "",
"HistoryIdentifyRules": "links | [?type=='COMPOSITION'].target",
"HistoryExtractionRules": "{internalComposition:{artifacts: [{id : meta.id}]}}",
"HistoryPathRules": "{artifacts: {id: meta.id}}",
"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 }] }",
"ArrayMergeOptions": "",
"HistoryIdentifyRules": "",
"HistoryExtractionRules": "",
"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": "{confidenceLevels :[{ eventId:meta.id, time:meta.time, name:data.name, value:data.value}]}",
"ArrayMergeOptions": "",
"HistoryIdentifyRules": "",
"HistoryExtractionRules": "",
"ProcessRules": null,
"ProcessFunction": null
}
]