Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11385

Backend should provide list of macros of a draft pipeline even before running preview

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2.0
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      None
    • Rank:
      1|hzy13a:s

      Description

      Currently to show the list of macros in the runtime arguments modal, UI has to look through the fields in each node and parse for the $ symbols. However, this is fragile, as there might be more complicated operations going on in a macro, such as recursive evaluation.

      Ideally, the logic should come from the backend. There should be a way for UI to provide backend with list of configs when the user clicks on Runtime arguments modal, and backend returns list of macros for UI to display.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bhooshan Bhooshan Mogal
                Reporter:
                tbach Tony Bach
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: