Skip to content

Commit 99cbe15

Browse files
extract artifact name into aggregated artifact object
Change rules for artifact object to aggregate name from ArtifactNewCreated event.
1 parent 713c7f2 commit 99cbe15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/resources/rules/ArtifactRules-Eiffel-Agen-Version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"StartEvent": "YES",
88
"IdentifyRules" : "[meta.id]",
99
"MatchIdRules": {"_id": "%IdentifyRules_objid%"},
10-
"ExtractionRules" : "{ id : meta.id, type : meta.type, time : meta.time, identity : data.identity, fileInformation : data.fileInformation, buildCommand : data.buildCommand, artifactCustomData : data.customData }",
10+
"ExtractionRules" : "{ id : meta.id, type : meta.type, time : meta.time, name : data.name, identity : data.identity, fileInformation : data.fileInformation, buildCommand : data.buildCommand, artifactCustomData : data.customData }",
1111
"DownstreamIdentifyRules" : "links | [?type=='COMPOSITION'].target",
1212
"DownstreamMergeRules": "{\"externalComposition\":{\"eventId\":%IdentifyRules%}}",
1313
"DownstreamExtractionRules" : "{artifacts: [{id : meta.id}]}",

src/main/resources/rules/ArtifactRules-Eiffel-Toulouse-Version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"StartEvent": "YES",
88
"IdentifyRules" : "[meta.id]",
99
"MatchIdRules": {"_id": "%IdentifyRules_objid%"},
10-
"ExtractionRules" : "{ id : meta.id, type : meta.type, time : meta.time, gav : data.gav, fileInformation : data.fileInformation, buildCommand : data.buildCommand, artifactCustomData : data.customData }",
10+
"ExtractionRules" : "{ id : meta.id, type : meta.type, time : meta.time, name : data.name, gav : data.gav, fileInformation : data.fileInformation, buildCommand : data.buildCommand, artifactCustomData : data.customData }",
1111
"DownstreamIdentifyRules" : "links | [?type=='COMPOSITION'].target",
1212
"DownstreamMergeRules": "{\"externalComposition\":{\"eventId\":%IdentifyRules%}}",
1313
"DownstreamExtractionRules" : "{artifacts: [{id : meta.id}]}",

0 commit comments

Comments
 (0)