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

Allow automation contributions to be disabled

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021.17
    • Component/s: Runtime
    • Release Notes Summary:
      Allow Chains and Scripts to be disabled by contributions
    • Release Notes Description:
      Hide

      OperationType

      (Please note you can't cross contribute to an OperationType implementation, a chain operation can't disable a scripted operation for example)

      ChainOperationType:

      <component name="org.nuxeo.ecm.automation.test-chain-operation" version="1.0">
        <extension target="org.nuxeo.ecm.core.operation.OperationServiceComponent" point="chains">
          <chain id="testScript" enabled="false" />
        </extension>
      </component>
      

      ScriptingOperationType:

      <component name="org.nuxeo.ecm.automation.test-scripted-operation-disable" version="1.0">
        <require>org.nuxeo.ecm.automation.test-scripted-operation</require>
        <extension target="org.nuxeo.automation.scripting.internals.AutomationScriptingComponent" point="operation">
          <scriptedOperation id="testScript" enabled="false"/>
        </extension>
      </component>
      
      Show
      OperationType (Please note you can't cross contribute to an OperationType implementation, a chain operation can't disable a scripted operation for example) ChainOperationType : <component name= "org.nuxeo.ecm.automation.test-chain-operation" version= "1.0" > <extension target= "org.nuxeo.ecm.core.operation.OperationServiceComponent" point= "chains" > <chain id= "testScript" enabled= "false" /> </extension> </component> ScriptingOperationType: <component name= "org.nuxeo.ecm.automation.test-scripted-operation-disable" version= "1.0" > <require> org.nuxeo.ecm.automation.test-scripted-operation </require> <extension target= "org.nuxeo.automation.scripting.internals.AutomationScriptingComponent" point= "operation" > <scriptedOperation id= "testScript" enabled= "false" /> </extension> </component>
    • Upgrade notes:
      Hide

      When replacing an Automation operation, chain or script, its old aliases are lost.
      If you contribute to an operation and want to call it by an alias, you need to copy that alias on the new operation contribution or to use the ID of the operation rather than an alias.

      Show
      When replacing an Automation operation, chain or script, its old aliases are lost. If you contribute to an operation and want to call it by an alias, you need to copy that alias on the new operation contribution or to use the ID of the operation rather than an alias.
    • Sprint:
      nxplatform #51, nxplatform #52, nxplatform #53, nxplatform #54, nxplatform #56
    • Story Points:
      3

      Description

      From NOS, we need a way to disable automation contributions.

      See https://github.com/nuxeo/nos/tree/master/studio/nuxeo-studio-ui for a detailed list of contributions to be disableable.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: