You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Reinhard Sandtner (JIRA)" <ji...@apache.org> on 2017/12/01 21:50:00 UTC

[jira] [Resolved] (BATCHEE-121) Make the default CLI lifecycle configurable

     [ https://issues.apache.org/jira/browse/BATCHEE-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reinhard Sandtner resolved BATCHEE-121.
---------------------------------------
    Resolution: Fixed

> Make the default CLI lifecycle configurable
> -------------------------------------------
>
>                 Key: BATCHEE-121
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-121
>             Project: BatchEE
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.4-incubating
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 0.5-incubating
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)