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

Push ${xd.stream.name} into POJO defaults

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Minor
    • Resolution: Complete
    • None
    • M7
    • Configuration
    • None

    Description

      See XD-1283.
      We've been waiting for 1283 to change constructs like

      attr="${name:${xd.stream.name}}"
      
      to just
      

      attr="${name}"

      
      

      Turns out we can simply push down the ${xd.stream.name} bit in the default value (most likely initialization of a field in a POJO metadata class) and it will work just fine.

      We can also consider:

      • providing a fake value for those placeholders to use when doing "module info" (ie user will see "<name of the stream>" instead of "${xd.stream.name}"

      Attachments

        Activity

          People

            eric.bottard Eric Bottard
            eric.bottard Eric Bottard
            Archiver:
            tmarshall Trevor Marshall

            Dates

              Created:
              Updated:
              Resolved:
              Archived: