Platform Explorer / Nuxeo Platform LTS 2019 10.10

Extension point actions

Documentation

Allows to define the bulk actions.

A bulk action is a stream processing composed of one or more computations.

A bulk action can be made available through http APIs, default is false.

The bucket size determines the number of document ids per record at the scroller level, default is 100.

The batch size determines the number of document ids handled per transactions at the computation level, default is 25.

    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="25" bucketSize="100" name="internalAction"/>
        <action batchSize="25" bucketSize="100" httpEnabled="true" name="publicAction"/>
    </extension>

Contribution Descriptors

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-core-10.10-HF32.jar /OSGI-INF/retention-and-hold-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <!-- NOT httpEnabled -->
        <action batchSize="25" bucketSize="100" name="retentionExpired"/>
      </extension>
  • nuxeo-platform-csv-export-10.10-HF21.jar /OSGI-INF/csv-export-config.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="50" bucketSize="100" httpEnabled="true" name="csvExport" validationClass="org.nuxeo.ecm.platform.csv.export.validation.CSVExportValidation"/>
      </extension>
  • nuxeo-platform-imaging-core-10.10-HF21.jar /OSGI-INF/imaging-bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="50" bucketSize="100" httpEnabled="false" name="recomputeViews" validationClass="org.nuxeo.ecm.platform.picture.recompute.RecomputeViewsActionValidation"/>
      </extension>
  • nuxeo-core-bulk-10.10-HF33.jar /OSGI-INF/bulk-config.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <!-- Internal -->
        <action batchSize="25" bucketSize="100" name="trash" sequentialCommands="true"/>
        <action batchSize="25" bucketSize="100" name="removeProxy"/>
        <action batchSize="25" bucketSize="100" name="setSystemProperties"/>
        <!-- Exposed through REST API -->
        <action batchSize="25" bucketSize="100" httpEnabled="true" name="setProperties" validationClass="org.nuxeo.ecm.core.bulk.validation.SetPropertiesValidation"/>
      </extension>
  • nuxeo-automation-features-10.10-HF28.jar /OSGI-INF/bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="10" bucketSize="100" httpEnabled="true" name="automation" validationClass="org.nuxeo.ecm.automation.core.operations.services.bulk.validation.AutomationBulkValidation"/>
      </extension>
  • nuxeo-elasticsearch-core-10.10-HF32.jar /OSGI-INF/bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="25" bucketSize="1000" enabled="true" name="index"/>
      </extension>
  • nuxeo-thumbnail-10.10-HF18.jar /OSGI-INF/thumbnail-bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="10" bucketSize="100" httpEnabled="false" name="recomputeThumbnails"/>
      </extension>