Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Ebam/Configuration

< Ebam
Revision as of 04:34, 24 August 2010 by Unnamed Poltroon (Talk)

eBAM has several configuration files that allow to modify the behaviour of the runtime. Here is the list of the configuration files you can modify:

  • /conf/configuration.xml inside the runtime plugin /plugins/org.eclipse.ebam.adapter_1.0.0.jar
  • /conf/configuration.xml inside the runtime plugin /plugins/org.eclipse.ebam.eventmanager_1.0.0.jar
  • /conf/mail.xml inside the runtime plugin /plugins/org.eclipse.ebam.eventmanager_1.0.0.jar
  • /ebamDB/url.properties inside the runtime plugin /plugins/org.eclipse.ebam.h2_1.0.0.jar
  • /src/META_INF/persistence.xml inside the runtime plugin /plugins/org.eclipse.ebam.h2_1.0.0.jar

Moreover, in each plugin of the runtime under the folder /src you find the logback.xml file to the configuration of logging of plugins.All the log file are under the /CATALINA_IS_UNDEFINED folder in the runtime

Configuring adapter manager and adapters

To configure the adapter manager and source adapters, you have to modify the /conf/configuration.xml inside the runtime plugin /plugins/org.eclipse.ebam.adapter_1.0.0.jar. How to configure the behaviour of the source adapter is explained in the previous chapter. To configure the behaviour of the adapter manager you have to modify the properties of the manager in configuration.xml

<manager type = "osgi"> <property name="caching" value="true"/> <property name="transform" value="true"/> <dispatcher> <engine name="BASE" class="org.eclipse.ebam.customengine.CustomEngine"></engine> </dispatcher></manager>

<ebam-message-rules> <journal> <property name="error" value="//*/HDR/ERRORE" /> <property name="phaseName" value="//*/HDR/PHASE_NAME"/> <property name="phaseDescr" value="//*/HDR/PHASE_DESCR"/> <property name="phaseProg" value="//*/HDR/PHASE_PROG"/> <property name="state" value="//*/HDR/STATE"/> <property name="sourceName" value="//*/HDR/SRC_NAME"/> <property name="serviceSrc" value="//*/HDR/SRV_SRC"/> <property name="startDate" value="//*/HDR/START_TS"/> <property name="endDate" value="//*/HDR/END_TS"/> <property name="execTime" value="//*/HDR/EXEC_TS"/> <property name="serviceInstLabel" value="//*/HDR/SRV_INSTANCE"/> <property name="serviceStartDate" value="//*/HDR/SRV_START_TS"/> <property name="serviceEndDate" value="//*/HDR/SRV_END_TS"/> <property name="serviceInstState" value="//*/HDR/SRV_INSTANCE_STATE"/> <property name="msgType" value="//*/HDR/MSG"/> <property name="serviceName" value="//*/HDR/SRV"/> </journal> </ebam-message-rules>

Back to the top