[jboss-jira] [JBoss JIRA] (WFLY-6858) read-resource should return the job file name
James Perkins (JIRA)
issues at jboss.org
Tue Aug 16 13:45:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-6858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278709#comment-13278709 ]
James Perkins edited comment on WFLY-6858 at 8/16/16 1:44 PM:
--------------------------------------------------------------
[~claudio4j] Would something like the following work?
{code}
{
"outcome" => "success",
"result" => {"job" => {
"simple" => {
"instance-count" => 0,
"job-xml-files" => ["simple.xml"],
"running-executions" => 0,
"execution" => undefined
},
"chunkPartition" => {
"instance-count" => 0,
"job-xml-names" => [
"retry-chunk.xml",
"partition-chunk.xml"
],
"running-executions" => 0,
"execution" => undefined
}
}}
}
{code}
The new attribute is {{job-xml-names}}.
was (Author: jamezp):
[~claudio4j] Would something like the following work?
{code}
{
"outcome" => "success",
"result" => {"job" => {
"simple" => {
"instance-count" => 0,
"job-xml-files" => ["simple.xml"],
"running-executions" => 0,
"execution" => undefined
},
"chunkPartition" => {
"instance-count" => 0,
"job-xml-files" => [
"retry-chunk.xml",
"partition-chunk.xml"
],
"running-executions" => 0,
"execution" => undefined
}
}}
}
{code}
The new attribute is {{job-xml-files}}.
> read-resource should return the job file name
> ---------------------------------------------
>
> Key: WFLY-6858
> URL: https://issues.jboss.org/browse/WFLY-6858
> Project: WildFly
> Issue Type: Bug
> Components: Batch
> Reporter: Claudio Miranda
> Assignee: James Perkins
>
> The start-job operation must pass the job file name as parameter,
> /deployment=*/subsystem=batch-jberet:read-operation-description(name=start-job)
> however the jon attribute below, returns the job-id name, not the job file name
> /deployment=*/subsystem=batch-jberet/job=*
> So there is no way to know at runtime, the job file name. Is it possible to return the job xml file name ?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list