Uploaded image for project: 'BatchEE'
  1. BatchEE
  2. BATCHEE-121

Make the default CLI lifecycle configurable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4-incubating
    • 0.5-incubating
    • CLI
    • None

    Description

      Currently one has to define a lifecycle for batches in the CLI manually.
      But some batches do exactly know the lifecylce they need to run with.
      So it would be great if they could declare that intent in batchee.properties already.

      The decision tree would be

      • -lifecycle bla parameter on the CLI
      • if not given -> read org.apache.batchee.cli.lifecycle=bla from System.getProperties
      • if still not given -> run without Lifecycle

      Side note: we cannot use batchee.properties as those are most times just given inside the -archive, e.g a mybatch.war
      But this archive is not yet in the ClassPath at this point in time.

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: