Commit Graph

2945 Commits

Author SHA1 Message Date
dhgarrette
8a7ad7581d BATCH-1131: Updated TaskletStep to accept TransactionAttribute as a List<String>, just as SimpleStepFactoryBean does. Added unit tests. 2009-03-13 21:48:29 +00:00
dhgarrette
e493bd5ceb BATCH-1131:
*Move "transaction-attribute" attribute from <tasklet/> to <step/> as <transaction-attributes/>
BATCH-1152:
 *Allow comma and newline as delimiters in exception lists in namespace
2009-03-13 20:18:26 +00:00
dhgarrette
90a845edbc BATCH-1002: Corrected description of "next" attribute. 2009-03-13 18:23:50 +00:00
dhgarrette
a4c3e72666 RESOLVED - BATCH-1151: Add IDE support to <retry-listeners/> in xsd. Also refactored a bit so that all <listener> element types reuse the same common attributes. 2009-03-13 17:51:12 +00:00
dhgarrette
9e35519672 RESOLVED - BATCH-1147:
*Fixed SimpleChunkProcessor so that the filter count is applied correctly
 *Updated SimpleChunkProcessorTests and CustomerFilterJobFunctionalTests to check the filter count.
2009-03-13 17:26:50 +00:00
dsyer
b3ba438e1a Add some docos to xsd 2009-03-13 10:19:42 +00:00
dhgarrette
45a24282af BATCH-1143: a bit of refactoring 2009-03-13 07:44:12 +00:00
dhgarrette
260a49649c BATCH-1139: Add requirement that standalone <tasklet/> be abstract. Otherwise users might think that they can use <step tasklet="?"/> to refer to it. They must always use <tasklet parent="?"/>. 2009-03-13 07:32:40 +00:00
dhgarrette
1204ec62fc RESOLVED - BATCH-1144: Create top-level element <job-listener/> 2009-03-13 06:33:50 +00:00
dhgarrette
4de7d5ec2d BATCH-1143: Moved common logic from InlineStepParser and StandaloneStepParser to AbstractStepParser 2009-03-13 05:54:23 +00:00
dhgarrette
1ddfe49191 RESOLVED - BATCH-1143: Standalone <step/> should not be allowed to have "tasklet" attribute and <tasklet/> together 2009-03-13 05:22:43 +00:00
dhgarrette
1ffd28d0f6 BATCH-1132:
BATCH-1138:
BATCH-1139:
  Clean up unit tests
2009-03-13 04:45:04 +00:00
dhgarrette
5fcffd81e2 RESOLVED - BATCH-1139:
*Add a "parent" attribute to <tasklet/>. This will allow tasklets to inherit properties from other tasklets that have been configured. 

 *A "merge" attribute for will have to be added to the following elements that occur with in <tasklet/>: 
    <skippable-exception-classes/> 
    <fatal-exception-classes/> 
    <retryable-exception-classes/> 
    <streams/> 
    <retry-listeners/> 

 *<tasklet/> should become a top-level element with an "abstract" attribute.
2009-03-13 03:56:43 +00:00
dhgarrette
bd23c675bb BATCH-1132:
BATCH-1138:
  extracted "parent" and "abstract" attributes into reusable attributeGroups
2009-03-12 22:35:16 +00:00
dhgarrette
ee9d8e379c RESOLVED - BATCH-1142: In the xsd, <listeners/> should be moved from "flowType" to "job" 2009-03-12 22:14:27 +00:00
dhgarrette
70b24ccffb RESOLVED - BATCH-1141: Rename CompositeExecutionJobListener to CompositeJobExecutionListener 2009-03-12 21:36:29 +00:00
dhgarrette
8f8800fd28 RESOLVED - BATCH-1138: Add "parent" attribute to <job/> 2009-03-12 21:29:29 +00:00
dhgarrette
30c6584e08 BATCH-1136: Add setListeners(StepExecutionListener[]) to TaskletStep so that the parser will be able to set <listeners/> consistently on steps using the "listeners" property. 2009-03-12 17:48:54 +00:00
dhgarrette
9729ca23fd BATCH-1132: Added "merge" element to <listeners/> defined within <step/> so that they can be added to listeners defined on a parent step.
BATCH-1135: Updated unit tests to test merging of listener lists
2009-03-12 15:52:34 +00:00
dhgarrette
a117b3d21c BATCH-1135: added unit tests for StepListenerParser. 2009-03-12 07:12:52 +00:00
dhgarrette
5441a642d1 BATCH-1132: Unit tests for "parent" and "abstract" attributes on <step/> 2009-03-12 05:15:34 +00:00
dhgarrette
1d3a2f0c6f BATCH-1132: add support for "abstract" attribute on <step/> 2009-03-11 23:39:02 +00:00
dhgarrette
93bb7c7695 BATCH-1135: Create TopLevelStepListenerHandler specifically for use in the CoreNamespaceHandler 2009-03-11 22:06:36 +00:00
dhgarrette
a273055e9f BATCH-1135: Create top-level element <step-listener/> 2009-03-11 20:47:24 +00:00
dhgarrette
099807521e RESOLVED - BATCH-1134: Create a superclass, AbstractListenerParser, for StepListenerParser and JobExecutionListenerParser 2009-03-11 20:07:23 +00:00
dhgarrette
cb21ca31b7 BATCH-1132: extracted step listener parsing into its own class 2009-03-11 19:11:32 +00:00
dhgarrette
aaeeb74092 BATCH-1132:
*Updated parsers to handle 'parent' attribute of <step/>.
 *Attribute "parent" can be used on standalone and inline step declaration as well as with the 'tasklet' attribute.
 *To be consistent with treatment of listeners and tasklets, 'parent' can't be combined with 'ref' on <step/>.
2009-03-11 18:22:59 +00:00
dhgarrette
292177996a BATCH-1016: Added test case 2009-03-11 18:08:59 +00:00
dhgarrette
7b23124208 BATCH-1132: Added "parent" attribute to <step/> and "abstract" attribute to top-level <step/> 2009-03-11 07:27:50 +00:00
dhgarrette
ab35b61900 BATCH-1118:
*Moved more logic from Job/StepListenerFactoryBean to AbstractListenerFactoryBean
 *Renamed AbstractListenerMetaData to ListenerMetaData
2009-03-10 20:47:50 +00:00
dhgarrette
28d04d424a BATCH-1118:
*Updated JobListenerFactoryBean so that listener methods specified via annotations or the metaDataMap are checked eagerly for correct signatures
 *Extracted common processing of Job/StepListenerFactoryBean classes into new superclass AbstractListenerFactoryBean
 *Created AbstractListenerMetaData interface for Job/StepListenerMetaData enums
 *Fixed JobExecutionListenerParser which had a bug in parsing listener method attributes
 *Corrected job listener attributes in xsd to use before/after-job-method
 *Added unit tests for job listener annotations and metaDataMap
 *Fixed typo in StepListenerFactoryBeanTests
2009-03-10 19:57:18 +00:00
dsyer
944b6aa4c8 RESOLVED - issue BATCH-1130: Ensure Ordered is respected by generated listeners
Add JobListenerFactoryBean - same solution
2009-03-10 14:40:45 +00:00
dsyer
3719198418 OPEN - issue BATCH-1130: Ensure Ordered is respected by generated listeners
Fixed for Step listeners
2009-03-10 14:32:34 +00:00
dsyer
042bd114eb Fix tests in broken build: default strictness in readers. 2009-03-10 12:18:49 +00:00
dsyer
b71f2b506b change default strict to true 2009-03-10 12:12:29 +00:00
dsyer
464ebc577a OPEN - issue BATCH-1129: Problems with exception classifications
http://jira.springframework.org/browse/BATCH-1129
2009-03-10 12:10:23 +00:00
dsyer
add37da810 Remove snapshot ban 2009-03-10 08:41:03 +00:00
dhgarrette
b7bc7695e0 BATCH-1120: Added chunk-completion-policy to <tasklet/> element. 2009-03-09 21:25:22 +00:00
dhgarrette
c2a1e5c384 BATCH-1128: updated documentation of ROLLBACK_COUNT 2009-03-09 16:33:28 +00:00
lucasward
4785cef982 BATCH-1127:Added logging statement to FFIR for parsing exceptions, and wrap all exceptions within DefaultLineMapper with a FlatFileParseException. 2009-03-09 13:06:02 +00:00
dsyer
c3d14a4a8a Spelling 2009-03-09 07:22:39 +00:00
dsyer
ce72d2abdf Add short section on DDL example scripts 2009-03-09 07:22:16 +00:00
dhgarrette
ae808ede21 BATCH-1128: Updated FaultTolerantChunkProcessor's recovery procedure so that StepExecution.writeCount is not updated during throttling because writes will be rolled back. 2009-03-09 06:08:39 +00:00
dsyer
d47d275e0a Spelling 2009-03-08 09:00:09 +00:00
dsyer
fa2cbf2cc0 Add comments about non-standard JobRepository 2009-03-08 08:56:43 +00:00
dsyer
84ba0a6153 Fixed assertion that broke build 2009-03-07 14:28:22 +00:00
dsyer
deb667ee23 BATCH-1126: Invalid 2009-03-07 10:15:15 +00:00
dhgarrette
b4375aae21 BATCH-1118: Modified StepListenerFactoryBean so that listener methods specified via annotations or the metaDataMap are checked for correct signatures. This allows incorrect methods to fail eagerly. For added flexibility, methods are also allowed if they do not specify any parameters. 2009-03-07 07:16:06 +00:00
dhgarrette
395f15a8f6 BATCH-1109: Generalise PrefixMatching* to PatternMatching* 2009-03-07 02:02:50 +00:00
dhgarrette
3f53088ab8 BATCH-1125: Updated documentation to reflect the way the
NoWorkFoundStepExecutionListener works.
2009-03-07 01:44:10 +00:00