Platform Explorer / Nuxeo Platform 9.2

Contribution org.nuxeo.template.directory.sql--directories

This contribution is part of XML component org.nuxeo.template.directory.sql inside nuxeo-runtime-9.2.jar /private/tmp/nuxeo-server-9.2-tomcat/nxserver/config/sql-template-directory-config.xml

Extension Point

Extension point directories of component SQLDirectoryFactory.

Contributed Items

  • <directory name="template-directory" template="true">
          <dataSource>java:/nxsqldirectory</dataSource>
          <createTablePolicy>on_missing_columns</createTablePolicy>
        </directory>
  • <directory extends="template-directory" name="template-user" template="true">
          <table>users</table>
          <computeMultiTenantId>false</computeMultiTenantId>
        </directory>
  • <directory extends="template-directory" name="template-group" template="true">
          <table>groups</table>
        </directory>

XML Source

<extension point="directories" target="org.nuxeo.ecm.directory.sql.SQLDirectoryFactory">

    <directory name="template-directory" template="true">
      <dataSource>java:/nxsqldirectory</dataSource>
      <createTablePolicy>on_missing_columns</createTablePolicy>
    </directory>

    <directory extends="template-directory" name="template-user" template="true">
      <table>users</table>
      <computeMultiTenantId>false</computeMultiTenantId>
    </directory>

    <directory extends="template-directory" name="template-group" template="true">
      <table>groups</table>
    </directory>

  </extension>