XIP Datenbank Import Beispiel
Version vom 21. Juni 2010, 13:35 Uhr von Veltrup (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<syntaxhighlight lang="xml"> <?xml version="1.0" encoding="UTF-8"?> <import id="databaseimport" name="Import from Database"> <logging> <appender name=…“)
<?xml version="1.0" encoding="UTF-8"?>
<import id="databaseimport" name="Import from Database">
<logging>
<appender name="FILE" class="org.apache.log4j.RollingFileAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p %m%n"/>
</layout>
<param name="File" value="${sitepark.home}/database-import.log"/>
<param name="MaxFileSize" value="10MB"/>
<param name="MaxBackupIndex" value="10"/>
</appender>
<logger name="com.sitepark.ies" additivity="false">
<appender-ref ref="FILE"/>
<priority value="INFO"/>
</logger>
</logging>
<ies-connection login="Wartung" password="secret" client="ies2work" module="LDAP Importer"/>
<options>
<createElements>true</createElements>
<deleteWorkDir>true</deleteWorkDir>
<createPools>true</createPools>
<updatePools>true</updatePools>
<updateElements>true</updateElements>
<deletePools>true</deletePools>
<deleteOnlyEmptyPools>true</deleteOnlyEmptyPools>
<deleteElements>true</deleteElements>
<xslt>database-import.xslt</xslt>
<syncFile>${sitepark.home}/conf/database-import.sync</syncFile>
</options>
<source type="database" id="1">
<sql>SELECT * FROM UserDefinition</sql>
</source>
</import>