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

Add support to create custom jobs using Java Config

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.2 M1
    • Component/s: None
    • Labels:
      None

      Description

      As a developer, I'd like to create a custom job module using Java Config so that I don't have to deal with XML configurations. While deploying/launching the following job, I get the error attached below.

      job create --name CDK_Global --definition "customBatchJob" --deploy
      module upload --type job --name customBatchJob --file /Users/mminella/Documents/IntelliJWorkspace/CustomBatchModule/build/libs/CustomBatchModule-1.1.0.RELEASE.jar
      job launch --name CDK_Global
      

      Error:
      I'm getting an exception that the job doesn't exist asking if it's deployed

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: