You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wiki/markdown/configuration.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Configuration
2
2
3
-
The configuration for RabbitMQ, MongoDB etc. can be set in the [application.properties](https://github.com/Ericsson/eiffel-intelligence/blob/master/src/main/resources/application.properties) file. You can also set them as system properties using the -D flags when starting Eiffel Intelligence.
3
+
The configuration for RabbitMQ, MongoDB etc. can be set in the [application.properties](https://github.com/eiffel-community/eiffel-intelligence/blob/master/src/main/resources/application.properties) file. You can also set them as system properties using the -D flags when starting Eiffel Intelligence.
4
4
5
5
## Setting up multiple EI instances
6
6
@@ -26,13 +26,13 @@ This situation may be needed when the events throughput is very high. In this ca
26
26
## Configure Eiffel Intelligence with extraction rules for specific Eiffel protocol version
27
27
28
28
Extraction rules for a specific Eiffel protocol versions is configured by
29
-
setting "rules.path" property in [application.properties](https://github.com/Ericsson/eiffel-intelligence/blob/master/src/main/resources/application.properties)
29
+
setting "rules.path" property in [application.properties](https://github.com/eiffel-community/eiffel-intelligence/blob/master/src/main/resources/application.properties)
30
30
to point to the correct extraction rules json file.
31
31
32
32
Eiffel Intelligence provides default extractions rules json files for
33
33
different Eiffel protocol versions inside the war artifact file and in the
34
34
source code repository. All default extraction rules json files can be
35
-
found here: [extraction rules](https://github.com/Ericsson/eiffel-intelligence/blob/master/src/main/resources/rules)
35
+
found here: [extraction rules](https://github.com/eiffel-community/eiffel-intelligence/blob/master/src/main/resources/rules)
36
36
37
37
Example of setting "rules.path" property in application.properties using default extraction rules json files provided in eiffel-intelligence war file:
We have created some rules that represent some use cases triggering the development of the Eiffel Intelligence. The files containing the rules can be found [**here.**](https://github.com/eiffel-community/eiffel-intelligence/tree/master/src/main/resources)
4
+
5
+
We have also drawn the flows that the existing rules need to perform the aggregation. The drawings contain the events and how they are linked together.
6
+
7
+
## Flow with the events required for Artifact object flow.
8
+
9
+
10
+
<imgsrc="images/ArtifactRules.png">
11
+
</img>
12
+
13
+
14
+
## Flow with the events required for SourceChange object flow.
15
+
16
+
17
+
<imgsrc="images/SourceChangeRules.png">
18
+
</img>
19
+
20
+
21
+
## Flow with the events required for TestExecution object flow.
Copy file name to clipboardExpand all lines: wiki/markdown/history-rules.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,10 @@ JSON object from "HistoryExtractionRules" in aggregated object, same as
15
15
returned from ER. The path for merging history data will get as long as the
16
16
depth of the tree where your historical event exists.
17
17
18
-
A step by step example will be presented using [artifact aggregation rules](https://github.com/Ericsson/eiffel-intelligence/blob/master/src/main/resources/rules/ArtifactRules-Eiffel-Agen-Version.json).
18
+
A step by step example will be presented using [artifact aggregation rules](https://github.com/eiffel-community/eiffel-intelligence/blob/master/src/main/resources/rules/ArtifactRules-Eiffel-Agen-Version.json).
19
19
20
20
Assume that an EiffelArtifactCreatedEvent is received and the upstream response
21
-
tree looks like [this](https://github.com/Ericsson/eiffel-intelligence/blob/master/src/test/resources/upStreamResultFile.json).
21
+
tree looks like [this](https://github.com/eiffel-community/eiffel-intelligence/blob/master/src/test/resources/upStreamResultFile.json).
Copy file name to clipboardExpand all lines: wiki/markdown/query.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ all aggregated objects from the database. The aggregated objects will be
116
116
returned from specific collection (which name is defined by property
117
117
aggregated.collection.name) that is stored in specific database (which name is
118
118
defined by property spring.data.mongodb.database). Read more about the
119
-
different properties in [application's properties](https://github.com/Ericsson/eiffel-intelligence/blob/master/src/main/resources/application.properties)
119
+
different properties in [application's properties](https://github.com/eiffel-community/eiffel-intelligence/blob/master/src/main/resources/application.properties)
120
120
or in the [documentation](https://github.com/eiffel-community/eiffel-intelligence/blob/master/wiki/markdown/configuration.md).
Copy file name to clipboardExpand all lines: wiki/markdown/rules.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ StartEvent is "YES" then it will be the first processed event in the aggregation
90
90
sequence. If StartEvent is "NO" then Eiffel event of this type will be used to
91
91
append information to existing aggregated object. If no aggregated object exist
92
92
then it will wait a certain time as defined by property
93
-
_waitlist.collection.ttlValue_ in [application's properties](https://github.com/Ericsson/eiffel-intelligence/blob/master/src/main/resources/application.properties)
93
+
_waitlist.collection.ttlValue_ in [application's properties](https://github.com/eiffel-community/eiffel-intelligence/blob/master/src/main/resources/application.properties)
94
94
until wanted aggregated object has been created. If no aggregated object is
95
95
created in time then the event will no longer be processed and it will be
All available Eiffel-Intelligence properties can be found in [application.properties](https://github.com/Ericsson/eiffel-intelligence/blob/master/src/main/resources/application.properties) example file.
57
+
## Running in Tomcat instance
58
+
59
+
To run Eiffel Intelligence in Tomcat, the war file must be put into the webapp folder in tomcat installation folder, also called catalina home folder:
60
+
61
+
(catalina home)/webapp/
62
+
63
+
If Eiffel Intelligence should be run without any context-path in the url address, then overwrite ROOT.war file in webapp folder with `eiffel-intelligence-<version>.war`:
Create "config" folder in catalina home folder, if it doesn't exist. Spring and Eiffel Intelligence will look for the application.properties configuration file in config folder:
72
+
73
+
mkdir (catalina home)/config
74
+
75
+
Copy the application.properties file into the newly created config folder:
76
+
77
+
cp application.properties (catalina home)/config
78
+
79
+
Start Tomcat and Eiffel Intelligence in background/daemon mode by executing command:
80
+
81
+
(catalina home)/bin/catalina.sh start
82
+
83
+
To run Tomcat and Eiffel Intelligence with logs printed to console:
84
+
85
+
(catalina home)/bin/catalina.sh run
86
+
87
+
## Eiffel Intelligence configurations and properties
88
+
89
+
All available Eiffel Intelligence properties can be found in [application.properties](https://github.com/eiffel-community/eiffel-intelligence/blob/master/src/main/resources/application.properties) example file.
90
+
91
+
More documentation of each Eiffel Intelligence property and configurations can be found in [Configuration page](https://github.com/eiffel-community/eiffel-intelligence/blob/master/wiki/markdown/configuration.md)
Copy file name to clipboardExpand all lines: wiki/markdown/running-rules-on-objects.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ should be set to true:
27
27
28
28
testaggregated.enabled: true
29
29
30
-
A GUI is also implemented in [Eiffel Intelligence Frontend](https://github.com/Ericsson/eiffel-intelligence-frontend) but only visible when above property is set to true in the backend (this application).
30
+
A GUI is also implemented in [Eiffel Intelligence Frontend](https://github.com/eiffel-community/eiffel-intelligence-frontend) but only visible when above property is set to true in the backend (this application).
31
31
32
32
## Check if testRules are enabled on the selected instance
33
33
@@ -151,4 +151,4 @@ Examples of this endpoint using curl
151
151
152
152
curl -X POST -H "Content-type: application/json" --data @body.json http://localhost:8090/rules/rule-check/aggregation
153
153
154
-
For demo you can use following list of [events](https://github.com/Ericsson/eiffel-intelligence/blob/master/src/test/resources/AggregateListEvents.json) and list of [rules](https://github.com/Ericsson/eiffel-intelligence/blob/master/src/test/resources/AggregateListRules.json). They can be used to create a json with the structure as above and when send as body to the endpoint you should get following [aggregation result](https://github.com/Ericsson/eiffel-intelligence/blob/master/src/test/resources/AggregateResultObject.json)
154
+
For demo you can use following list of [events](https://github.com/eiffel-community/eiffel-intelligence/blob/master/src/test/resources/AggregateListEvents.json) and list of [rules](https://github.com/eiffel-community/eiffel-intelligence/blob/master/src/test/resources/AggregateListRules.json). They can be used to create a json with the structure as above and when send as body to the endpoint you should get following [aggregation result](https://github.com/eiffel-community/eiffel-intelligence/blob/master/src/test/resources/AggregateResultObject.json)
0 commit comments