Skip to content

Commit e2c04b9

Browse files
Remove non official Eiffel events from all events rules (#456)
* Add info about all event rules
1 parent 848a41a commit e2c04b9

File tree

3 files changed

+21
-208
lines changed

3 files changed

+21
-208
lines changed

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

Lines changed: 0 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -39,36 +39,6 @@
3939
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
4040
"ExtractionRules" : "@"
4141
},
42-
{
43-
"TemplateName":"Event_copy",
44-
"Type":"EiffelAlertAcknowledgedEvent",
45-
"TypeRule": "meta.type",
46-
"IdRule": "meta.id",
47-
"StartEvent": "YES",
48-
"IdentifyRules" : "[meta.id]",
49-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
50-
"ExtractionRules" : "@"
51-
},
52-
{
53-
"TemplateName":"Event_copy",
54-
"Type":"EiffelAlertCeasedEvent",
55-
"TypeRule": "meta.type",
56-
"IdRule": "meta.id",
57-
"StartEvent": "YES",
58-
"IdentifyRules" : "[meta.id]",
59-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
60-
"ExtractionRules" : "@"
61-
},
62-
{
63-
"TemplateName":"Event_copy",
64-
"Type":"EiffelAlertRaisedEvent",
65-
"TypeRule": "meta.type",
66-
"IdRule": "meta.id",
67-
"StartEvent": "YES",
68-
"IdentifyRules" : "[meta.id]",
69-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
70-
"ExtractionRules" : "@"
71-
},
7242
{
7343
"TemplateName":"Event_copy",
7444
"Type":"EiffelAnnouncementPublishedEvent",
@@ -89,16 +59,6 @@
8959
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
9060
"ExtractionRules" : "@"
9161
},
92-
{
93-
"TemplateName":"Event_copy",
94-
"Type":"EiffelArtifactDeployedEvent",
95-
"TypeRule": "meta.type",
96-
"IdRule": "meta.id",
97-
"StartEvent": "YES",
98-
"IdentifyRules" : "[meta.id]",
99-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
100-
"ExtractionRules" : "@"
101-
},
10262
{
10363
"TemplateName":"Event_copy",
10464
"Type":"EiffelArtifactPublishedEvent",
@@ -168,65 +128,6 @@
168128
"IdentifyRules" : "[meta.id]",
169129
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
170130
"ExtractionRules" : "@"
171-
},{
172-
"TemplateName":"Event_copy",
173-
"Type":"EiffelServiceAllocatedEvent",
174-
"TypeRule": "meta.type",
175-
"IdRule": "meta.id",
176-
"StartEvent": "YES",
177-
"IdentifyRules" : "[meta.id]",
178-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
179-
"ExtractionRules" : "@"
180-
},
181-
{
182-
"TemplateName":"Event_copy",
183-
"Type":"EiffelServiceDeployedEvent",
184-
"TypeRule": "meta.type",
185-
"IdRule": "meta.id",
186-
"StartEvent": "YES",
187-
"IdentifyRules" : "[meta.id]",
188-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
189-
"ExtractionRules" : "@"
190-
},
191-
{
192-
"TemplateName":"Event_copy",
193-
"Type":"EiffelServiceDiscontinuedEvent",
194-
"TypeRule": "meta.type",
195-
"IdRule": "meta.id",
196-
"StartEvent": "YES",
197-
"IdentifyRules" : "[meta.id]",
198-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
199-
"ExtractionRules" : "@"
200-
},
201-
{
202-
"TemplateName":"Event_copy",
203-
"Type":"EiffelServiceReturnedEvent",
204-
"TypeRule": "meta.type",
205-
"IdRule": "meta.id",
206-
"StartEvent": "YES",
207-
"IdentifyRules" : "[meta.id]",
208-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
209-
"ExtractionRules" : "@"
210-
},
211-
{
212-
"TemplateName":"Event_copy",
213-
"Type":"EiffelServiceStartedEvent",
214-
"TypeRule": "meta.type",
215-
"IdRule": "meta.id",
216-
"StartEvent": "YES",
217-
"IdentifyRules" : "[meta.id]",
218-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
219-
"ExtractionRules" : "@"
220-
},
221-
{
222-
"TemplateName":"Event_copy",
223-
"Type":"EiffelServiceStoppedEvent",
224-
"TypeRule": "meta.type",
225-
"IdRule": "meta.id",
226-
"StartEvent": "YES",
227-
"IdentifyRules" : "[meta.id]",
228-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
229-
"ExtractionRules" : "@"
230131
},
231132
{
232133
"TemplateName":"Event_copy",

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

Lines changed: 0 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -39,36 +39,6 @@
3939
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
4040
"ExtractionRules" : "@"
4141
},
42-
{
43-
"TemplateName":"Event_copy",
44-
"Type":"EiffelAlertAcknowledgedEvent",
45-
"TypeRule": "meta.type",
46-
"IdRule": "meta.id",
47-
"StartEvent": "YES",
48-
"IdentifyRules" : "[meta.id]",
49-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
50-
"ExtractionRules" : "@"
51-
},
52-
{
53-
"TemplateName":"Event_copy",
54-
"Type":"EiffelAlertCeasedEvent",
55-
"TypeRule": "meta.type",
56-
"IdRule": "meta.id",
57-
"StartEvent": "YES",
58-
"IdentifyRules" : "[meta.id]",
59-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
60-
"ExtractionRules" : "@"
61-
},
62-
{
63-
"TemplateName":"Event_copy",
64-
"Type":"EiffelAlertRaisedEvent",
65-
"TypeRule": "meta.type",
66-
"IdRule": "meta.id",
67-
"StartEvent": "YES",
68-
"IdentifyRules" : "[meta.id]",
69-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
70-
"ExtractionRules" : "@"
71-
},
7242
{
7343
"TemplateName":"Event_copy",
7444
"Type":"EiffelAnnouncementPublishedEvent",
@@ -89,16 +59,6 @@
8959
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
9060
"ExtractionRules" : "@"
9161
},
92-
{
93-
"TemplateName":"Event_copy",
94-
"Type":"EiffelArtifactDeployedEvent",
95-
"TypeRule": "meta.type",
96-
"IdRule": "meta.id",
97-
"StartEvent": "YES",
98-
"IdentifyRules" : "[meta.id]",
99-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
100-
"ExtractionRules" : "@"
101-
},
10262
{
10363
"TemplateName":"Event_copy",
10464
"Type":"EiffelArtifactPublishedEvent",
@@ -168,65 +128,6 @@
168128
"IdentifyRules" : "[meta.id]",
169129
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
170130
"ExtractionRules" : "@"
171-
},{
172-
"TemplateName":"Event_copy",
173-
"Type":"EiffelServiceAllocatedEvent",
174-
"TypeRule": "meta.type",
175-
"IdRule": "meta.id",
176-
"StartEvent": "YES",
177-
"IdentifyRules" : "[meta.id]",
178-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
179-
"ExtractionRules" : "@"
180-
},
181-
{
182-
"TemplateName":"Event_copy",
183-
"Type":"EiffelServiceDeployedEvent",
184-
"TypeRule": "meta.type",
185-
"IdRule": "meta.id",
186-
"StartEvent": "YES",
187-
"IdentifyRules" : "[meta.id]",
188-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
189-
"ExtractionRules" : "@"
190-
},
191-
{
192-
"TemplateName":"Event_copy",
193-
"Type":"EiffelServiceDiscontinuedEvent",
194-
"TypeRule": "meta.type",
195-
"IdRule": "meta.id",
196-
"StartEvent": "YES",
197-
"IdentifyRules" : "[meta.id]",
198-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
199-
"ExtractionRules" : "@"
200-
},
201-
{
202-
"TemplateName":"Event_copy",
203-
"Type":"EiffelServiceReturnedEvent",
204-
"TypeRule": "meta.type",
205-
"IdRule": "meta.id",
206-
"StartEvent": "YES",
207-
"IdentifyRules" : "[meta.id]",
208-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
209-
"ExtractionRules" : "@"
210-
},
211-
{
212-
"TemplateName":"Event_copy",
213-
"Type":"EiffelServiceStartedEvent",
214-
"TypeRule": "meta.type",
215-
"IdRule": "meta.id",
216-
"StartEvent": "YES",
217-
"IdentifyRules" : "[meta.id]",
218-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
219-
"ExtractionRules" : "@"
220-
},
221-
{
222-
"TemplateName":"Event_copy",
223-
"Type":"EiffelServiceStoppedEvent",
224-
"TypeRule": "meta.type",
225-
"IdRule": "meta.id",
226-
"StartEvent": "YES",
227-
"IdentifyRules" : "[meta.id]",
228-
"MatchIdRules": {"_id": "%IdentifyRulesEventId%"},
229-
"ExtractionRules" : "@"
230131
},
231132
{
232133
"TemplateName":"Event_copy",

wiki/example-rules.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,42 @@
11
# Example Rules
22

3-
We have created some example rules that represent use cases which triggered
4-
the development of Eiffel Intelligence. The files containing the rules
3+
We have created some example rules that represent use cases which triggered
4+
the development of Eiffel Intelligence. The files containing the rules
55
can be found [**here**](../src/main/resources/rules).
66

7-
We have also illustrated the Eiffel event flows which these example rules
8-
need, to perform the aggregation. The illustrations contain the events
9-
and how they are linked together.
10-
Any upstream events linked from this are looked up from ER if HistoryRules
11-
are defined. Following events in the chain which are linked back to the
7+
We have also illustrated the Eiffel event flows which these example rules
8+
need, to perform the aggregation. The illustrations contain the events
9+
and how they are linked together. Any upstream events linked from this are looked up from ER if HistoryRules
10+
are defined. Following events in the chain which are linked back to the
1211
ArtifactCreated event will be included in the aggregation, according to
1312
the rules.
1413

1514
## Flow with the Events Required for Artifact Object Flow
1615
The start event for this flow is the ArtifactCreated (ArtC2) event.
1716

1817
<img src="images/ArtifactRules.png">
19-
</img>
18+
2019

2120
## Flow with the Events Required for SourceChange Object Flow
2221
The start event for this flow is the SourceChangeSubmitted (SCS1) event.
2322

2423
<img src="images/SourceChangeRules.png">
25-
</img>
24+
2625

2726
## Flow with the Events Required for TestExecution Object Flow
2827
The start event for this flow is the ActivityTriggered (ActT) event.
2928

3029
<img src="images/TestExecutionRules.png">
31-
</img>
30+
31+
32+
## All Events Rules
33+
In the example "[all event rules](src/main/resources/rules/AllEventsRules-Eiffel-Agen-Version.json)"
34+
no aggregation is defined. Eiffel Intelligence will simply listen to the
35+
Eiffel events listed, and put them as is in the database.
36+
Each Eiffel event will become a separate object/document in the database,
37+
regardless of whether the events are linked together or not.
38+
39+
These rules are **not meant for production use**, since the database will become
40+
a copy of any other storage implementation for Eiffel events. These example
41+
rules can be used as a base to further extend, and could be a good starting
42+
point when testing out new rules in Eiffel Intelligence.

0 commit comments

Comments
 (0)