Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: Manager, Resources
    • Labels:
      None

      Description

      According to Spring Batch Admin User Guide Reference> JSON API > Read-Write Access: Launching a Job section
      URL: http://static.springsource.org/spring-batch-admin/reference/reference.xhtml

      Job can be launched via HTTP Post with jobParameters.
      It appeared that jobParameters cannot have complex string value (i.e JSON string) as part of the parameter entry. The ',' character in the value cannot be escaped as they are parsed as parameter in jobParameters.

      An example http body for job launch
      jobParameters=date=2012/01/15,data1=

      {"a":"b","c":"d"}

      ,data2=

      {"a":"b","e":"f"}

      In the job's tasklet, entries in jobParameters gets parsed as
      date=2012/01/15
      data1={"a":"b"
      data2={"a":"b"

      The content data1 and data2 got truncated.

        Attachments

          Activity

            People

            • Assignee:
              david_syer Dave Syer
              Reporter:
              ltu Ling Tu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: