-
Feature Request
-
Resolution: Done
-
Major
-
None
-
Sprint #2 April 2015, Sprint #3 May 2015
Quick fixes for following problem markers:
1. "Batchlet "<batchlet-name>" is not found."
2. "Checkpoint algorithm "<checkpointalgorithm-name>" is not found."
3. "Decider "<decider-name>" is not found."
4. "Item Processor "<itemprocessor-name>" is not found."
5. "Item Reader "<itemreader-name>" is not found."
6. "Item Writer "<itemwriter-name>" is not found."
7. "Job listener "<joblistener-name>" is not found."
8. "Partition Analyzer "<partitionanalyzer-name>" is not found."
9. "Partition Collector "<partitioncollector-name>" is not found."
10. "Partition Mapper "<partitionmapper-name>" is not found."
11. "Partition Reducer "<partitionreducer-name>" is not found."
12. "Step listener "<steplistener-name>" is not found."
In case when Batch Artifact class does not exists there should be one of the following quick fixes:
1. "Create Batchlet "<batchlet-name>""
2. "Create Checkpoint Algorithm "<checkpointalgorithm-name>""
3. "Create Decider "<decider-name>""
4. "Create Item Processor "<itemprocessor-name>""
5. "Create Item Reader "<itemreader-name>""
6. "Create Item Writer "<itemwriter-name>""
7. "Create Job listener "<joblistener-name>""
8. "Create Partition Analyzer "<partitionanalyzer-name>""
9. "Create Partition Collector "<partitioncollector-name>""
10. "Create Partition Mapper "<partitionmapper-name>""
11. "Create Partition Reducer "<partitionreducer-name>""
12. "Create Step listener "<steplistener-name>""
Test case:
1. Create Batch Project
2. Create job.xml and open it in Batch Job Configuration Editor
<job id="myJob" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/jobXML_1_0.xsd" version="1.0"> <listeners> <listener ref="anyJobListener"></listener> </listeners> <step id="stp1" next="stp2"> <listeners> <listener ref="anyStepListener"></listener> </listeners> <batchlet ref="anyBatchlet"> </batchlet> <partition> <mapper ref="anyPartitionMapper"></mapper> <collector ref="anyPartitionCollector"></collector> <analyzer ref="anyPartitionAnalyzer"></analyzer> <reducer ref="anyPartitionReducer"></reducer> </partition> </step> <step id="stp2"> <chunk> <reader ref="anyItemReader"></reader> <processor ref="anyItemProcessor"></processor> <writer ref="anyItemWriter"></writer> <checkpoint-algorithm ref="anyCheckpointAlgorithm"></checkpoint-algorithm> </chunk> </step> <decision ref="anyDecider" id="a"> </decision> <flow id="flow"></flow> </job>
ASSERT: Problem markers appear
3. Point mouse cursor to uderlined problem in the editor
ASSERT: Text hoover message appears:
4. Select "Create Batchlet "anyBatchlet"" quick fix
ASSERT: New Batch Artifact Wizard dialog appears:
5. Press Finish button
ASSERT: Batch artifact class created and corresponded problem in job.xml disapeared.
- is blocked by
-
JBIDE-18950 New Batch Artifact wizard
- Closed
- relates to
-
JBIDE-18857 Java EE 7 Batch support
- Closed