Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25390

BAF: Simplify action registration

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Bulk

      Description

      For BAF we want to have an easy way to register actions. Currently we need to register the action stream processor on nuxeo-runtime-stream and the action name on nuxeo-core-bulk:

        <extension target="org.nuxeo.ecm.core.bulk" point="actions">
          <action name="setProperties"/>
        </extension>
      
        <extension target="org.nuxeo.runtime.stream.service" point="streamProcessor">
          <streamProcessor name="setProperties" class="org.nuxeo.ecm.core.bulk.actions.SetPropertiesAction" logConfig="bulk"
            defaultConcurrency="1" defaultPartitions="1">
            <option name="batchSize">50</option>
            <option name="batchThresholdMs">200</option>
          </streamProcessor>
        </extension>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kleturc Kevin Leturc
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: