Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-49 Create workflow execution
  3. FLPATH-150

Backend: Provide default options for dropdown parameters from Workflow definitions & workflow-level parameters

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Critical Critical
    • v1.0.8
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      The /api/v1/workflowdefinitions endpoint recently provides tasks with parameters of

      "type: URL, key: api-server" only.

      The backend needs to be extended to provide more complex workflow definitions.

       

      In addition, recent swagger has only following parameter types:

      type: 'PASSWORD' | 'TEXT' | 'EMAIL' | 'DATE' | 'NUMBER' | 'URL';

      It should be changed/extended to support following: https://www.figma.com/file/iu0HAOSoLOESA2GHyxuHLg/parados-mui?node-id=2886%3A2967&t=izxFg4GpYPCzFa7z-0

      Example: type: 'SELECT'
      {
      key: 'param7',
      description: 'Select parameter',
      optional: false,
      type: 'SELECT',
      options: [
      { key: 'option1', value: 'Option 1' },
      { key: 'option2', value: 'Option 2' },
      ],
      },
       

      Next, recent swagger does not support workflow-level parameters. There are task-level params only. Per offline discussions, this should be supported as well.

            ricwang@redhat.com Guangyu Wang (Inactive)
            mlibra@redhat.com Marek Libra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: