• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Normal Normal
    • MTA 8.0.0
    • None
    • UI
    • None

      Tracks: https://github.com/konveyor/tackle2-ui/issues/2291


      Summary

      For a generator, create a new page, table, detail drawer and add/edit modal. A generator collects a template engine, a template repository, repository credentials, an optional set of variables and parameters all to be referenced by a target profile. An addon task will be able to use a target profile's ordered set of generators to generate assets.

      Enabling Work

      HUB enablement issues:

      UI enablement issues:

      • ?

      New Work

      Page

      • New navigation location: Administration / Generators
      • The page will be a standard table view with a detail drawer and add/edit modal

      Table view:

      • Columns:
        • Name
        • Icon
        • Generator Type
        • Description
        • Template repository
        • Repository credentials attached?
        • Count of defined variables
        • Count of defined parameter fields (to be captured from the user at generation time)
        • 🤔 Count of target profiles (or archetypes) using the generator?
      • Toolbar actions:
        • Create
      • Record kebab actions:
        • Edit
        • Delete

      Note: The table view could be a card view to follow the UX of custom migration targets.

      Selected item drawer:

      • Base generator information
      • View of the variables
      • View of the defined parameter fields

      Add/edit modal:

      • Name input
      • Description input
      • Generator type dropdown (based on available generator types rest endpoint)
      • Icon upload
      • Template repository
      • Template credentials
      • In an expanded section or another tab: Defined variables (key/value pair string set, no empty values)
      • In an expanded section of another tab: Parameter field builder (simplified set of json-schema output)

              rh-ee-eaharoni Elay Aharoni
              sdickers@redhat.com Scott Dickerson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: