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

At runtime, PluginConfig macroFields set should be empty

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.5.0
    • Component/s: CDAP
    • Labels:
      None
    • Release Notes:
      At configure time, "containsMacro(...)" on plugin properties that were provided macro syntax will return true. At runtime, all properties will have "containsMacro(...)" return false.
    • Rank:
      1|hzzk2v:

      Description

      Currently, the behavior of "containsMacro" is unintuitive at runtime. This disallows plugins to have a central validate() method that uses containsMacro to guard against validating properties at configure time but ensure they are validated at runtime. At runtime, all calls to containsMacro on a plugin property should be false.

        Attachments

          Activity

            People

            • Assignee:
              kashif Kashif Nazir
              Reporter:
              kashif Kashif Nazir
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: