Using TSAM Exporter

How to use TSAM Exporter Tool

The tsam exporter tool is used to extract from ltr database that holds the code translations into xml files that are going to be used from cdadisplay tool

First in order to run it you have to build it using this commend (in order to create a jar with all the depedencies)

mvn clean package assembly:single
java -Djava.util.logging.config.file=logging.properties -Depsos.ccd.gnomon.tsam.settingfile=settings.properties -jar epsos-tsamexporter.jar                                                                                                                                          

 

The contents of settings.properties are  the following and configure the database settings for ltrdb

database.ip=localhost
database.name=ltrdb
database.username=epsosdb
database.password=epsosdb
oid.codes=881000020107,10411000020107,13911000020107,6571000020103