Configuration of Terminology Server

Aus Termserver-CTS2
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Config files)
Zeile 3: Zeile 3:
 
Additional configuration can be done in the database.
 
Additional configuration can be done in the database.
 
=Config files=
 
=Config files=
 +
== termserver.hibernate.cfg.xml (tomcat/conf)==
 +
This file is located in the tomcat/conf/ path. It defines the database connection to the Terminology Server.
 +
<source lang="XML">
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
 +
<hibernate-configuration>
 +
  <session-factory>
 +
    <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
 +
    <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
 +
    <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/DATABASE_NAME</property>
 +
    <property name="hibernate.connection.username">USERNAME</property>
 +
    <property name="hibernate.connection.password">PASSWORD</property>
 +
    <property name="hibernate.show_sql">false</property>
 +
    <property name="show_sql">false</property>
 +
    <property name="dialect">org.hibernate.dialect.MySQL5Dialect</property>
 +
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.Property"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.LicencedUserId"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemConceptTranslation"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.Domain"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.LicencedUser"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemConcept"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.AssociationType"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.ConceptValueSetMembershipId"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.ConceptValueSetMembership"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystem"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.PropertyVersion"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.SysParam"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemEntityVersion"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemEntity"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemVersionEntityMembership"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.DomainValue"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.TermUser"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.MetadataParameter"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.Session"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.ValueSet"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemVersionEntityMembershipId"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemVersion"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.ValueSetVersion"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemMetadataValue"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.LicenceType"/>
 +
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemEntityVersionAssociation"/>
 +
<mapping class="de.fhdo.terminologie.db.hibernate.ValueSetMetadataValue"/>
 +
  </session-factory>
 +
</hibernate-configuration>
 +
</source>
 
==termserver.properties (tomcat/conf)==
 
==termserver.properties (tomcat/conf)==
 
  <source lang="properties">
 
  <source lang="properties">

Version vom 14. Juli 2014, 14:00 Uhr

The Terminology Server can be configured with a properties file located in the tomcat/conf path. The tomcat path is located by the system property "catalina.base".

Additional configuration can be done in the database.

Inhaltsverzeichnis

Config files

termserver.hibernate.cfg.xml (tomcat/conf)

This file is located in the tomcat/conf/ path. It defines the database connection to the Terminology Server.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
  <session-factory>
    <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
    <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
    <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/DATABASE_NAME</property>
    <property name="hibernate.connection.username">USERNAME</property>
    <property name="hibernate.connection.password">PASSWORD</property>
    <property name="hibernate.show_sql">false</property>
    <property name="show_sql">false</property>
    <property name="dialect">org.hibernate.dialect.MySQL5Dialect</property>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.Property"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.LicencedUserId"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemConceptTranslation"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.Domain"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.LicencedUser"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemConcept"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.AssociationType"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.ConceptValueSetMembershipId"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.ConceptValueSetMembership"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystem"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.PropertyVersion"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.SysParam"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemEntityVersion"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemEntity"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemVersionEntityMembership"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.DomainValue"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.TermUser"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.MetadataParameter"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.Session"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.ValueSet"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemVersionEntityMembershipId"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemVersion"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.ValueSetVersion"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemMetadataValue"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.LicenceType"/>
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemEntityVersionAssociation"/>
	<mapping class="de.fhdo.terminologie.db.hibernate.ValueSetMetadataValue"/>
  </session-factory>
</hibernate-configuration>

termserver.properties (tomcat/conf)

#Configuration file of the Terminology Server, Browser and Administration
 
# LOGIN
# possible types for login: userpass;fhdo;elga
login.type=userpass
 
# server-informations
server.host=127.0.0.1
server.port=8080
server.secure=false

Database configuration

Mail account configuration

You can configure your mail server directly in the Administration Environment. Select the tab "Terminology" on the left side and then the tab "System parameter".

Here you can enter or edit the following values:

Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Werkzeuge