|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<exist> |
| 3 | + |
| 4 | + <db-connection cacheSize="256M" checkMaxCacheSize="true" collectionCache="64M" database="native" |
| 5 | + files="${basedir}/target/test-data" pageSize="4096" nodesBuffer="1000" cacheShrinkThreshold="10000" |
| 6 | + doc-ids="default" minDiskSpace="128M" posix-chown-restricted="true" preserve-on-copy="false"> |
| 7 | + <startup> |
| 8 | + <triggers> |
| 9 | + <trigger class="org.exist.security.BouncyCastleJceProviderStartupTrigger"/> |
| 10 | + |
| 11 | + <!-- |
| 12 | + AutoDeploymentTrigger will install any .xar application package it finds |
| 13 | + in the autodeploy directory unless the application has already been installed |
| 14 | + in the db. |
| 15 | + --> |
| 16 | + <trigger class="org.exist.repo.AutoDeploymentTrigger"> |
| 17 | + <parameter name="ignore-autodeploy-system-property" value="true"/> |
| 18 | + <parameter name="dir" value="${basedir}/target/autodeploy"/> |
| 19 | + </trigger> |
| 20 | + </triggers> |
| 21 | + </startup> |
| 22 | + <pool max="20" min="1" sync-period="120000" wait-before-shutdown="120000"/> |
| 23 | + <query-pool max-stack-size="64" size="128" timeout="120000"/> |
| 24 | + <recovery enabled="yes" group-commit="no" journal-dir="${basedir}/target/test-data" |
| 25 | + size="100M" sync-on-commit="no" force-restart="no" consistency-check="yes"/> |
| 26 | + <watchdog output-size-limit="1000000" query-timeout="-1"/> |
| 27 | + </db-connection> |
| 28 | + |
| 29 | + <repository root="/db/apps"/> |
| 30 | + |
| 31 | + <binary-manager> |
| 32 | + <cache class="org.exist.util.io.FileFilterInputStreamCache"/> |
| 33 | + </binary-manager> |
| 34 | + |
| 35 | + <indexer caseSensitive="yes" index-depth="5" preserve-whitespace-mixed-content="no" |
| 36 | + suppress-whitespace="none"> |
| 37 | + <modules> |
| 38 | + |
| 39 | + <!-- |
| 40 | + Needed by the documentation app under test |
| 41 | + --> |
| 42 | + <module id="lucene-index" buffer="32" class="org.exist.indexing.lucene.LuceneIndex" /> |
| 43 | + |
| 44 | + </modules> |
| 45 | + <index/> |
| 46 | + </indexer> |
| 47 | + |
| 48 | + <scheduler/> |
| 49 | + |
| 50 | + <parser> |
| 51 | + <xml> |
| 52 | + <features> |
| 53 | + <feature name="http://xml.org/sax/features/external-general-entities" value="false"/> |
| 54 | + <feature name="http://xml.org/sax/features/external-parameter-entities" value="false"/> |
| 55 | + <feature name="http://javax.xml.XMLConstants/feature/secure-processing" value="true"/> |
| 56 | + </features> |
| 57 | + </xml> |
| 58 | + <html-to-xml class="org.cyberneko.html.parsers.SAXParser"> |
| 59 | + <properties> |
| 60 | + <property name="http://cyberneko.org/html/properties/names/elems" value="match"/> |
| 61 | + <property name="http://cyberneko.org/html/properties/names/attrs" value="no-change"/> |
| 62 | + </properties> |
| 63 | + </html-to-xml> |
| 64 | + </parser> |
| 65 | + |
| 66 | + <serializer add-exist-id="none" compress-output="no" enable-xinclude="yes" |
| 67 | + enable-xsl="no" indent="yes" match-tagging-attributes="no" |
| 68 | + match-tagging-elements="no"/> |
| 69 | + |
| 70 | + <transformer class="net.sf.saxon.TransformerFactoryImpl" caching="yes"> |
| 71 | + <attribute name="http://saxon.sf.net/feature/version-warning" value="false" type="boolean"/> |
| 72 | + </transformer> |
| 73 | + |
| 74 | + <validation mode="no"> |
| 75 | + <entity-resolver> |
| 76 | + <catalog uri="${project.build.testOutputDirectory}/org/exist/validation/catalog.xml"/> |
| 77 | + </entity-resolver> |
| 78 | + </validation> |
| 79 | + |
| 80 | + <xquery enable-java-binding="no" disable-deprecated-functions="no" |
| 81 | + enable-query-rewriting="yes" backwardCompatible="no" |
| 82 | + enforce-index-use="always" |
| 83 | + raise-error-on-failed-retrieval="no"> |
| 84 | + |
| 85 | + <builtin-modules> |
| 86 | + <!-- |
| 87 | + Needed by the documentation app under test |
| 88 | + --> |
| 89 | + <module uri="http://exist-db.org/xquery/lucene" class="org.exist.xquery.modules.lucene.LuceneModule" /> |
| 90 | + |
| 91 | + <!-- Needed for XQSuite! --> |
| 92 | + <module uri="http://www.w3.org/2005/xpath-functions/map" class="org.exist.xquery.functions.map.MapModule" /> |
| 93 | + <module uri="http://www.w3.org/2005/xpath-functions/array" class="org.exist.xquery.functions.array.ArrayModule" /> |
| 94 | + <module uri="http://exist-db.org/xquery/inspection" class="org.exist.xquery.functions.inspect.InspectionModule"/> |
| 95 | + <module uri="http://exist-db.org/xquery/response" class="org.exist.xquery.functions.response.ResponseModule" /> |
| 96 | + <module uri="http://exist-db.org/xquery/system" class="org.exist.xquery.functions.system.SystemModule" /> |
| 97 | + <module uri="http://exist-db.org/xquery/util" class="org.exist.xquery.functions.util.UtilModule"> |
| 98 | + <parameter name="evalDisabled" value="false"/> |
| 99 | + </module> |
| 100 | + <module uri="http://exist-db.org/xquery/xmldb" class="org.exist.xquery.functions.xmldb.XMLDBModule"/> |
| 101 | + |
| 102 | + </builtin-modules> |
| 103 | + </xquery> |
| 104 | + |
| 105 | + <xupdate allowed-fragmentation="50000" enable-consistency-checks="no"/> |
| 106 | + |
| 107 | +</exist> |
0 commit comments