[jboss-jira] [JBoss JIRA] (WFLY-4811) Batch subsystem should be renamed batch-jberet and the model updated for usabliity
James Perkins (JIRA)
issues at jboss.org
Fri Jun 19 14:10:04 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins reassigned WFLY-4811:
-----------------------------------
Assignee: James Perkins (was: Cheng Fang)
> Batch subsystem should be renamed batch-jberet and the model updated for usabliity
> ----------------------------------------------------------------------------------
>
> Key: WFLY-4811
> URL: https://issues.jboss.org/browse/WFLY-4811
> Project: WildFly
> Issue Type: Enhancement
> Components: Batch
> Reporter: James Perkins
> Assignee: James Perkins
> Fix For: 10.0.0.Final
>
>
> The batch subsystem is currently not designed well. The model needs to be updated for better validation and usability. During this process the resource should be renamed to {{batch-jberet}}.
> Current model:
> {code}
> {
> "outcome" => "success",
> "result" => {
> "job-repository-type" => "in-memory",
> "job-repository" => {"jdbc" => {"jndi-name" => undefined}},
> "thread-factory" => undefined,
> "thread-pool" => {"batch" => {
> "keepalive-time" => {
> "time" => 30L,
> "unit" => "SECONDS"
> },
> "max-threads" => 10,
> "name" => "batch",
> "thread-factory" => undefined
> }}
> }
> }
> {code}
> If possible the {{thread-factory}} should be removed and the {{thread-pool}} should use attribute groups.
> The {{job-repository-type}} will be removed as well as the {{job-repository=jdbc}}. A new {{jdbc-job-repository}} and {{in-memory-job-repository}} resource will be added. There will also be a {{default-job-repository}} which will accept a name from one of the defined job repositories.
> A new deployment descriptor will be added to allow a user to defined a job repository configured on the subsystem.
> Due to these changes the persisted XML will likely need some small alterations. Mainly ensuring a name attribute is persisted and multiple repositories are allowed to be defined.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list