Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-1757

Resolve runtime module option properties using module metadata

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: M7
    • Component/s: Configuration
    • Labels:
      None
    • Story Points:
      2
    • Rank (Obsolete):
      44248
    • Sprint:
      Sprint 28

      Description

      Since the module metadata properties are resolved at runtime (when the module gets deployed), we can resolve the module options values that are already resolved in there.

      For example, currently the "runtime modules" command for "log" module would show this:

      runtime modules

       Module Container Id Options
      ---------------- ------------------------------------ --------------------------------------------------------
      s1.source.http-0 633f0fb1-5396-4bc0-8f1e-c9d5104e0ea7

      {port=9000}

      s1.sink.log-1 633f0fb1-5396-4bc0-8f1e-c9d5104e0ea7 {name=${xd.stream.name}, expression=payload, level=INFO}

      In this case, we can resolve the module option "name" from the module metadata.

        Attachments

          Activity

            People

            Assignee:
            iperumal Ilayaperumal Gopinathan
            Reporter:
            iperumal Ilayaperumal Gopinathan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: