Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-2348

Implement configuration to control workflow initiation method (UI form vs. Backstage Templates)

XMLWordPrintable

      Description:

      We need a configuration option to allow the admin to choose how users initiate workflows within Backstage. Currently, there are two methods:

      1. Using the UI form provided by the orchestrator plugin.
      2. Creating workflows from Backstage templates and running the workflow by choosing the template.

      We will introduce a configuration setting that dictates which of these methods should be the way to initiate workflow runs.

      Proposed Configuration Option:

      • enableWorkflowsAsTemplates: A boolean value.
        • true: Workflows should primarily be run via Backstage templates. 
        • false: Workflows should run from orchestrator plugin form.

      Implementation Details:

      • Add the enableWorkflowsAsTemplates option to the plugin's app-config.yaml.
      • Modify the run button to navigate to the workflow execution page or to the template page depending on the configuration.
      • The default is false, also in case the configuration isn't provided.

              brotman@redhat.com Bat-Zion Rotman
              brotman@redhat.com Bat-Zion Rotman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: