Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.audit.directoryContrib--directories

This contribution is part of XML component org.nuxeo.audit.directoryContrib inside nuxeo-platform-audit-core-7.10-HF01.jar /OSGI-INF/directories-contrib.xml

Extension point

Extension point directories of component SQLDirectoryFactory.

Contributed items

  • <directory name="eventTypes">
          <schema>vocabulary</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <cacheTimeout>3600</cacheTimeout>
          <cacheMaxSize>1000</cacheMaxSize>
          <table>eventTypes</table>
          <idField>id</idField>
          <autoincrementIdField>false</autoincrementIdField>
          <dataFile>directories/event-types.csv</dataFile>
          <createTablePolicy>on_missing_columns</createTablePolicy>
        </directory>
  • <directory name="eventCategories">
          <schema>vocabulary</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <cacheTimeout>3600</cacheTimeout>
          <cacheMaxSize>1000</cacheMaxSize>
          <table>eventCategories</table>
          <idField>id</idField>
          <autoincrementIdField>false</autoincrementIdField>
          <dataFile>directories/event-categories.csv</dataFile>
          <createTablePolicy>on_missing_columns</createTablePolicy>
        </directory>

XML source

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

    <directory name="eventTypes">
      <schema>vocabulary</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <cacheTimeout>3600</cacheTimeout>
      <cacheMaxSize>1000</cacheMaxSize>
      <table>eventTypes</table>
      <idField>id</idField>
      <autoincrementIdField>false</autoincrementIdField>
      <dataFile>directories/event-types.csv</dataFile>
      <createTablePolicy>on_missing_columns</createTablePolicy>
    </directory>

    <directory name="eventCategories">
      <schema>vocabulary</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <cacheTimeout>3600</cacheTimeout>
      <cacheMaxSize>1000</cacheMaxSize>
      <table>eventCategories</table>
      <idField>id</idField>
      <autoincrementIdField>false</autoincrementIdField>
      <dataFile>directories/event-categories.csv</dataFile>
      <createTablePolicy>on_missing_columns</createTablePolicy>
    </directory>

  </extension>