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

Expose Macros through the context of Script transforms

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0
    • Component/s: Pipelines
    • Labels:
    • Release Notes:
      Added a method to get pipeline arguments in the script plugins
    • Rank:
      1|hzzouv:

      Description

      If the user wants to access macros while writing script/code in Javascript/Python transforms, they have no option to do so today. The best way to expose macros, would be through the context in the script transforms. The other alternative would be to make the code field of the script transforms macro enabled but that would not be clean.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ashau Albert Shau
                Reporter:
                gokul Gokul Gunasekaran
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: