Commit Graph

1707 Commits

Author SHA1 Message Date
dsyer
7533f90480 BATCH-1011: Refactor BatchStatus again so that FAILED has the same meaning as before (1.1.x etc.) and ABANDONED is introduced to signify a step that failed but does not need to be replayed on restart (formerly known as INCOMPLETE). 2009-02-15 10:59:44 +00:00
dhgarrette
fa56955f8d BATCH-1064: Changed BatchStatus.FAILED to BatchStatus.INCOMPLETE where necessary 2009-02-14 19:34:51 +00:00
dhgarrette
2b54b7c7e0 BATCH-1064: Small cleanup after BatchStatus changes 2009-02-13 23:58:19 +00:00
dhgarrette
32d34d78d2 BATCH-1076: fixed unit test error 2009-02-13 20:54:01 +00:00
trisberg
fc3716ef7c BATCH-1075: renamed method parameters 2009-02-13 18:22:48 +00:00
trisberg
e463b6a96b BATCH-1075: moved 'allow-start-if-complete' and 'start-limit' attributes to <step> 2009-02-13 16:08:36 +00:00
dhgarrette
c92179d8d3 BATCH-1076: Cleaned up and renamed test 2009-02-13 08:24:25 +00:00
dhgarrette
7aeb6301d1 BATCH-1076: Created new test for <stop> that restarts on the last step executed. 2009-02-13 07:56:33 +00:00
dhgarrette
b2e0fe655a Collapsed two tests into one. 2009-02-13 07:26:31 +00:00
trisberg
2e55abc84e BATCH-1034: removed check to avoid potential double post processing - didn't work to well 2009-02-13 07:08:03 +00:00
dhgarrette
f562b01d6e BATCH-1065: Added check to ensure that a transition from an EndState does not have a "pattern" associated. EndState transitions must always be universal. 2009-02-13 06:37:08 +00:00
dhgarrette
73ed78da31 BATCH-1065: Moved StateSupport up one package level to be accessible to FlowJobTests 2009-02-13 06:28:02 +00:00
dhgarrette
ef4ac80e45 BATCH-1064: Rename <pause to=/> to <stop restart=/> 2009-02-13 06:26:26 +00:00
dhgarrette
b04841548e BATCH-1064: Switched the semantics of INCOMPLETE and FAILED. Combined INCOMPLETE with STOPPED. INCOMPLETE jobs and steps can be restarted while COMPLETED and FAILED jobs and steps cannot. 2009-02-13 06:12:28 +00:00
trisberg
a3548b4190 BATCH-1034: cleaned up registration of StepScope 2009-02-12 20:58:00 +00:00
trisberg
b70568ea18 BATCH-1034: cleaned up registration of StepScope 2009-02-12 20:56:54 +00:00
trisberg
37b2c8dae8 BATCH-1034: added check to avoid potential double post processing 2009-02-12 04:32:39 +00:00
trisberg
766941104f BATCH-1034: regsitering StepScope if it is not already registered 2009-02-11 22:21:46 +00:00
dhgarrette
14e7c6d01d BATCH-1073: added check for <listeners> element on <step ref=/> 2009-02-11 17:41:42 +00:00
dhgarrette
5fd6288ba6 BATCH-1008: changed order of elements so that transitions are last in a step definition 2009-02-11 16:56:48 +00:00
trisberg
877283ac25 BATCH-1013: removed next attribute from top-level <step> 2009-02-11 16:43:23 +00:00
robokaso
7d5e191287 RESOLVED - BATCH-1010: StepFactoryBeans cleanup 2009-02-11 11:44:29 +00:00
robokaso
f3962c429a IN PROGRESS - BATCH-1010: StepFactoryBeans cleanup 2009-02-10 16:33:52 +00:00
robokaso
a079cbae4a IN PROGRESS - BATCH-1010: StepFactoryBeans cleanup 2009-02-10 16:29:35 +00:00
trisberg
a321a2c21f BATCH-1013: schema cleanup; created new flowStepType to include transitions elements 2009-02-10 15:44:36 +00:00
robokaso
50c35caefa IN PROGRESS - BATCH-1010: StepFactoryBeans cleanup 2009-02-10 15:43:59 +00:00
robokaso
01b1101a21 IN PROGRESS - BATCH-1010: StepFactoryBeans cleanup 2009-02-10 13:39:30 +00:00
robokaso
c534dad743 IN PROGRESS - BATCH-1010: StepFactoryBeans cleanup 2009-02-10 13:16:27 +00:00
robokaso
b235aa75aa IN PROGRESS - BATCH-1010: StepFactoryBeans cleanup
don't treat retryable exceptions automatically as skippable (did it ever make sense?)
cleanup misleading and redundant test configurations
2009-02-10 12:54:48 +00:00
robokaso
1b083bdd22 IN PROGRESS - BATCH-1010: StepFactoryBeans cleanup 2009-02-10 12:26:52 +00:00
robokaso
cc28dbc541 IN PROGRESS - BATCH-1010: StepFactoryBeans cleanup 2009-02-10 11:25:09 +00:00
trisberg
d3396a3fa7 BATCH-1013: split the <step> elements name attribute into id and ref attributes 2009-02-10 04:52:03 +00:00
trisberg
402a02f0d7 StepParser was refactored to AbstractStepParser 2009-02-09 14:50:45 +00:00
trisberg
71612c2327 BATCH-1013: refactored to use job-repository from job element 2009-02-09 14:40:01 +00:00
dsyer
a899460760 BATCH-1053: refactor State and AbstractJob to remove cycle 2009-02-09 14:00:26 +00:00
dsyer
74c167f34c BATCH-1053: refactor State and AbstractJob to remove cycle 2009-02-09 13:59:28 +00:00
dsyer
563a5432ee Tidy schema comments a bit. 2009-02-09 07:52:35 +00:00
trisberg
5e2b218a3f BATCH-1013: adding top-level <step> element; refactoring StepParser to accommodate inline and standalone step definitions 2009-02-09 04:52:34 +00:00
dhgarrette
b2a31fe740 BATCH-1067: updated .springBeans 2009-02-08 19:52:45 +00:00
dhgarrette
7c4953f2be BATCH-1067:
* FlowJob waits until the Job is finished before updating BatchStatus and ExitStatus.  This is required so that individual flows in a split don't modifify the JobExecution prematurely.
* Removed FlowExecution$Status and replaced it with FlowExecutionStatus, a class that holds both a BatchStatus and an ExitStatus.  This is required by the EndState because the handle() method needs to be able to return both BatchStatus and ExitStatus so that they can be applied correctly to the JobExecution when ending the job.
2009-02-08 18:32:03 +00:00
dhgarrette
d306c418fa BATCH-1011: Added new test case to show 'pause' element's ability to skip a FAILED step on restart. 2009-02-07 15:56:47 +00:00
dhgarrette
eb4991efe7 RESOLVED - BATCH-1066: StepParser updated to throw error if 'next' attribute and transition elements are both found. 2009-02-07 00:05:43 +00:00
dhgarrette
dfb78ff0ca BATCH-1011:
* Moved logic for updating JobExecution status based on last StepExecution from AbstractJob to SimpleJob because it does not apply to FlowJob.
  * A job now can have a status different from any of its steps.  For example, the following job will be COMPLETED while the step will be FAILED:
    <step id="failingStep">
       <end on="FAILED" /> 
    </step>
* Added error checking to StepParser to make sure the same pattern does not appear more than once.
* Modified EndState.handle() so that the ExitStatus is only updated if BatchStatus is updated.
  * If a job contains a <split> such that there is more than one EndState reached, the Job's status will be the highest precedence of all the statuses.  For example, the following job will be FAILED:
    <split id="split1">
      <flow>
        <step name="failingStep"/>
      </flow>
      <flow>
        <step name="step1"/>
      </flow>
    </split>
* If a step has no transitions defined, then the default will be:
    <fail on="FAILED" />
    <end on="*" />
2009-02-06 23:13:21 +00:00
dhgarrette
36f44c6ba7 BATCH-1011: Added test cases for default "status" attribute 2009-02-06 08:30:35 +00:00
dhgarrette
6e750b312d BATCH-1011: Added more conditions to unit tests (though some assertions are temporarily commented out because the status is not being set correctly by the end state). Also, fixed a bug in StepParser where the "on" attribute of the transition away from the end state was being set to the "on" attribute of the end state when it should have been "*". 2009-02-06 04:34:56 +00:00
dhgarrette
4fd2cfc2db RESOLVED - BATCH-1061: reversed arguments to isLater() 2009-02-05 23:53:01 +00:00
dhgarrette
cae54225a8 BATCH-1011:
spring-batch-2.0.xsd:
   * Renamed <stop/> to <pause/>
   * Added <fail/>
   
  StepParser.java
   * Added capabilities to parse <pause/> and <fail/>
   * Changed the semantics of the status= attribute so that it modifies the ExitStatus instead of BatchStatus.
   * BatchStatus is determined by the element (end, fail, pause)
   
  EndState.java
   * Added storage for ExitStatus in addition to the existing BatchStatus since both will need to be saved from the parser
2009-02-05 20:42:31 +00:00
dsyer
447b1f0fbc BATCH-63: add more XSD meta data 2009-02-05 11:38:49 +00:00
dsyer
994f108303 Add more tooling support 2009-02-05 09:31:58 +00:00
dsyer
ef4dba7590 RESOLVED - issue BATCH-1058: PlaceholderTargetSource doesn't always replace all placeholders 2009-02-05 09:02:01 +00:00