[
https://issues.jboss.org/browse/WFLY-6858?page=com.atlassian.jira.plugin....
]
James Perkins edited comment on WFLY-6858 at 8/16/16 1:45 PM:
--------------------------------------------------------------
If it helps too we could have a list of all the valid XML files on the base
{{/deployment=*/subsystem=batch-jberet}} resource too.
{code}
{
"outcome" => "success",
"result" => {
"job-xml-names" => [
"simple.xml",
"retry-chunk.xml",
"partition-chunk.xml"
],
"job" => {
"simple" => {
"instance-count" => 0,
"job-xml-names" => ["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}
was (Author: jamezp):
If it helps too we could have a list of all the valid XML files on the base
{{/deployment=*/subsystem=batch-jberet}} resource too.
{code}
{
"outcome" => "success",
"result" => {
"job-xml-files" => [
"simple.xml",
"retry-chunk.xml",
"partition-chunk.xml"
],
"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}
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)