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

Allow processor script variables to be passed as module parameters

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.x
    • Component/s: Stream Module
    • Labels:
      None
    • Story Points:
      5
    • Rank (Obsolete):
      42277

      Description

      Currently, if we want to bind values to script variables we need to put them in a properties file like so:

      xd:> stream create --name groovyprocessortest --definition "http --port=9006 | script --location=custom-processor.groovy --properties-location=custom-processor.properties | log

      Ideally it should be:

      xd:> stream create --name groovyprocessortest --definition "http --port=9006 | script --location=custom-processor.groovy --foo=bar --baz=boo | log

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dturanski David Turanski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: