Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 2.5 KB

configuration.md

File metadata and controls

44 lines (28 loc) · 2.5 KB

Configuration

Address and port for message buss and MongoDB needs to be configured in application.properties for the application to run properly.

Each property is explained in the file so open the properties file for a view on properties role.

Setting up multiple EI instances

Eiffel intelligence is designed to be able to collect different information in different objects. What information to be collected from what events to what object is configured using a set of rules.

Set up multiple instances with different rule sets in each instance

In this case we use the same instance of Rabbitmq and MongoDb.

  • rabbitmq.consumerName property should be different for each rule set. Otherwise the rabbitmq will split the events in the queue among all the instances listening to that queue
  • MongoDb collection names should also be different for each rule set

Set up multiple instances with same rule set

This situation may be needed when the events throughput is very high. In this case the same configuration file is copied to the server where the extra instance will be started.

Configure Eiffel-Intelligence with Extraction Rules for specific Eiffel protocol version

Extraction Rules for specific Eiffel protocol versions is configured by setting "rules.path" in application.properties to point to correct Extraction rules json file.

Eiffel-Intelligence provides default extractions rules json files for different Eiffel protocol versions inside the war artifact file and in the source code repository. All default extraction rules json files can be found here: ExtractionRules

Example of setting "rules.path" property in application.properties using default extraction rules json files provided in eiffel-intelligence war file:

  • rules.path: /rules/ArtifactRules-Eiffel-Agen-Version.json
  • rules.path: /rules/ArtifactRules-Eiffel-Toulouse-Version.json
  • rules.path: /rules/SourceChangeObjectRules-Eiffel-Toulouse-Version.json

It is possible to use external provided extraction rules by providing full path to the extraction rules json file:

  • rules.path: /full/path/to/ExtractionRules.json