Platform Explorer / Nuxeo Platform LTS 2019 10.10

Extension point unicity

The unicity extension point adds a digest to the given field using the given algorithm. If the same file is already on the server, a new Message is send to JMS bus with DocumentLocation if the existing files.

    <unicitySettings>
        <enabled>true</enabled>
        <algo>sha-256</algo>
        <field>file:content</field>
        <computeDigest>true</computeDigest>
    </unicitySettings>

Contribution Descriptor

Existing Contributions

  • nuxeo-platform-filemanager-core-10.10.jar /OSGI-INF/nxfilemanager-plugins-contrib.xml
    <extension point="unicity" target="org.nuxeo.ecm.platform.filemanager.service.FileManagerService">
        <documentation>
          Unicity Service disabled by default.
        </documentation>
    
        <unicitySettings>
          <algo>sha-256</algo>
          <field>file:content</field>
          <enabled>false</enabled>
          <computeDigest>false</computeDigest>
        </unicitySettings>
      </extension>