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

Default option values broken for composed modules

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: M7
    • Component/s: Configuration, Runtime
    • Labels:
      None
    • Story Points:
      4
    • Rank (Obsolete):
      762
    • Sprint:
      Sprint 22

      Description

      May want to fix "properly" when tackling the module options for composed modules, but this is currently broken (and wasn't at some point):

      module compose upperHttp --definition "http | transform --expression=payload.toUpperCase()"
      stream create foo --definition "upperHttp | log"

      This will fail saying that ${port} can't be resolved

      This will work though:
      module compose upperHttp --definition "http --port=9000 | transform --expression=payload.toUpperCase()"
      stream create foo --definition "upperHttp | log"

      Note that
      stream create foo --definition "upperHttp --port=xxx | log" should work too wut won't, but that's another bug (will create after this one)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eric.bottard Eric Bottard
              Reporter:
              eric.bottard Eric Bottard
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: