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

Implement conditional components

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: Postponed
    • Component/s: Runtime
    • Team:
      AT
    • Sprint:
      nxAT 11.x.30, nxAT 11.x.31, nxAT 11.x.32
    • Story Points:
      3

      Description

      Components should be able to hold an enablement attribute for conditional deployment.

      Format:

      <component name="..." enable="...">
        // ...
      </component>
      

      By default that enablement should be true, static values would not be the usual use case since it would not be possible to override it. The target format would be:

      <component name="..." enable="${nuxeo.property.controlling.enablement}">
        // ...
      </component>
      

      The corresponding variable woud be resolved from runtime properties at deployment time: if enablement is false then the component is not deployed, as is if was blacklisted thanks to the nxserver/config/blacklist file.

      This feature should allow removing some of the nxftl logics to deploy or not some components depending on a template enablement, or runtime property resolution.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                atchertchian Anahide Tchertchian
                Reporter:
                atchertchian Anahide Tchertchian
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 15 minutes
                  1h 15m