Uploaded image for project: 'App Framework'
  1. App Framework
  2. AF-35

Allow "negated" feature toggle tests in app and extension json configuration

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.1
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      Currently, apps and extensions can be tied to feature toggles, ie:

      [
          {
      
              "id": "coreapps.app.awaitingAdmission",
                  ....
              "extensions": [
                  {
                      "id": "${project.parent.groupId}.${project.parent.artifactId}.awaitingAdmissionHomepageLink",
                             ....
                      "featureToggle": "onlyEnableThisExtensionIfThisToggleIsOn"
                  }
              ]
          }
      ]
      
      

      We'd like to be able to support setting apps and extensions to only be enabled if a feature toggle is off.

      The main use case for this would be if you are swapping out one app with a new app. You'd want to create a toggle that toggles the old app off and the new app on. To do this we'd like to be able to write something like this for the old app:

      "featureToggle": "!useNewApp"
      

      Note if no value is specified for a toggle, the default value is off/false.

        Attachments

          Activity

            People

            • Assignee:
              mogoodrich Mark Goodrich
              Reporter:
              mogoodrich Mark Goodrich
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: