Platform Explorer / CMF 1.8

Extension point repository

Documentation

Extension point to register new repositories. The extension should use the format: ... random XML content ...

The repository tag may contains any valid XML content that can be used by to specify repository implementation specific configuration data.

The name of the repository must be unique in the application

Contribution Descriptors

  • Class: org.nuxeo.ecm.core.repository.RepositoryDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-runtime-5.4.2-HF05.jar
    <extension point="repository" target="org.nuxeo.ecm.core.repository.RepositoryService">
        <repository factory="org.nuxeo.ecm.core.storage.sql.ra.PoolingRepositoryFactory" name="default">
          <repository name="default">
            <clustering delay="1000" enabled="false"/>
            <binaryStore path=""/>
            <schema>
              <field type="largetext">note</field>
              <field type="largetext">relatedtext</field>
              <field type="largetext">webp:content</field>
              <field type="largetext">webc:welcomeText</field>
              <field type="largetext">comment:comment</field>
              <field type="largetext">post</field>
              <field type="largetext">mail:mail</field>
            </schema>
            <indexing>
              <!-- for H2 (Lucene Analyzer): -->
              <fulltext analyzer="org.apache.lucene.analysis.standard.StandardAnalyzer">
                <index name="default">
                  <!-- all props implied -->
                </index>
                <index name="title">
                  <field>dc:title</field>
                </index>
                <index name="description">
                  <field>dc:description</field>
                </index>
              </fulltext>
            </indexing>
            <xa-datasource>org.h2.jdbcx.JdbcDataSource</xa-datasource>
            <property name="URL">jdbc:h2:nuxeo</property>
            <property name="User">sa</property>
            <property name="Password"/>
          </repository>
        </repository>
      </extension>