Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Ebam/TestCase"
< Ebam
Line 18: | Line 18: | ||
<br> | <br> | ||
+ | |||
+ | If you want to test this simple use case you have to: | ||
+ | |||
+ | 1) download all eBAM components. | ||
+ | 2) installa eBAM following the instruction in this wiki | ||
+ | 3) configure the Adapter, in particular the SOURCE property: | ||
+ | |||
+ | <adapter id="TEST_SERVICE"> | ||
+ | <property name="factory" value="org.eclipse.ebam.adapters.log.LogAdapter"/> | ||
+ | <property name="source" value="D:/eBAM/rilascio 0.8/eBAM-0.8-runtime/testFiles/TEST_SERVICE.log"/> | ||
+ | <property name="key" value="TRUE"/> | ||
+ | <property name="modality" value="RECOVERY"/> | ||
+ | </adapter> | ||
+ | 4) run the runtime components | ||
+ | 5) check on DBMS if the messages are benn inserted in the metamodel. |
Revision as of 05:08, 23 December 2010
The released files contain a simple TEST CASE.
You can find a simple file with some message in :eBAM-0.8-runtime\testFiles\TEST_SERVICE_20101210_085426.log
The knowledg Base contains this configuration:
Service:
- TEST_SERVICE
Messages:
- START_SERVICE
- STOP_SERVICE
- ALERT_SERVICE
These services are linked to TEST_SERVICE.
If you want to test this simple use case you have to:
1) download all eBAM components. 2) installa eBAM following the instruction in this wiki 3) configure the Adapter, in particular the SOURCE property:
<adapter id="TEST_SERVICE">
<property name="factory" value="org.eclipse.ebam.adapters.log.LogAdapter"/> <property name="source" value="D:/eBAM/rilascio 0.8/eBAM-0.8-runtime/testFiles/TEST_SERVICE.log"/>
<property name="key" value="TRUE"/>
<property name="modality" value="RECOVERY"/>
</adapter> 4) run the runtime components 5) check on DBMS if the messages are benn inserted in the metamodel.