1. 28 Mar, 2019 1 commit
  2. 26 Mar, 2019 1 commit
  3. 22 Mar, 2019 1 commit
  4. 21 Mar, 2019 4 commits
  5. 18 Mar, 2019 2 commits
  6. 15 Mar, 2019 1 commit
    • Mahmoud Ben Hassine's avatar
      Fix build · 7303de39
      Mahmoud Ben Hassine authored
      This commit fixes a compilation issue due to a change in
      spring-data-common (DATACMNS-1496).
      7303de39
  7. 14 Mar, 2019 1 commit
    • Sam Brannen's avatar
      Simplify BatchTestContextCustomizerFactory · d9bbb0ec
      Sam Brannen authored
      Since @SpringBatchTest is effectively a marker annotation from the
      perspective of BatchTestContextCustomizerFactory, there is no need
      to retrieve the merged, synthesized annotation.
      
      Checking for the presence of @SpringBatchTest is sufficient.
      d9bbb0ec
  8. 07 Mar, 2019 1 commit
    • Mahmoud Ben Hassine's avatar
      Fix MongoItemReader tests · 50f400cf
      Mahmoud Ben Hassine authored
      Spring Data MongoDB v2.2 upgraded the mongodb java driver to v3.10
      (See DATAMONGO-2198) which has changed the JSON serialization format.
      
      This commit fixes expected values to the right format. Note that
      these changes are related to MongoDB APIs only and batch users should
      not be impacted.
      50f400cf
  9. 06 Mar, 2019 1 commit
  10. 13 Feb, 2019 1 commit
  11. 04 Feb, 2019 1 commit
    • Mahmoud Ben Hassine's avatar
      Rename StepContext#getJobId to StepContext#getJobInstanceId · ce9a3596
      Mahmoud Ben Hassine authored
      There is no such concept of job Id. A job has a name but not an Id.
      A job instance however has an Id. The goal of the getter suggested in
      BATCH-2769 is to access the JobInstance Id.
      
      This commit renames the newly added StepContext#getJobId to
      StepContext#getJobInstanceId which is more explicit.
      
      Resolves BATCH-2769
      ce9a3596
  12. 01 Feb, 2019 1 commit
  13. 30 Jan, 2019 3 commits
  14. 29 Jan, 2019 6 commits
    • Mahmoud Ben Hassine's avatar
      Fix build warnings · fbe34563
      Mahmoud Ben Hassine authored
      fbe34563
    • Mahmoud Ben Hassine's avatar
      Remove unused dependencies · 177856ff
      Mahmoud Ben Hassine authored
      177856ff
    • Mahmoud Ben Hassine's avatar
      Remove `MaxPermSize` option from build as it was removed in Java 8 · 8ae64e8e
      Mahmoud Ben Hassine authored
      This commit fixes the warning:
      
      ```
      Java HotSpot(TM) 64-Bit Server VM warning:
      ignoring option MaxPermSize=256m; support was removed in 8.0
      ```
      8ae64e8e
    • Mahmoud Ben Hassine's avatar
      Upgrade SF to version 5.2.0.BUILD-SNAPSHOT and remove Castor tests · 3ca42847
      Mahmoud Ben Hassine authored
      Castor support will be removed in SF v5.2. This commit removes
      CastorMarshallingTests and CastorUnmarshallingTests as they do not
      compile with SF v5.2.0.BUILD-SNAPSHOT.
      
      Resolves BATCH-2787
      3ca42847
    • Mahmoud Ben Hassine's avatar
      Upgrade gradle to version 4.10.3 · 0ec94561
      Mahmoud Ben Hassine authored
      0ec94561
    • Mahmoud Ben Hassine's avatar
      Fix gradle warnings · 197f32eb
      Mahmoud Ben Hassine authored
      This commit fixes the following warnings:
      
      ```
      $ ./gradlew clean --warning-mode all
      
      > Configure project :
      
      The Task.leftShift(Closure) method has been deprecated.
      This is scheduled to be removed in Gradle 5.0.
      Please use Task.doLast(Action) instead.
       at build_1u4zf89udullsb7m3yccjzfxt$_run_closure3.doCall(/spring-batch/build.gradle:187)
       (Run with --stacktrace to get the full stack trace of this deprecation warning.)
      
      Creating a custom task named 'wrapper' has been deprecated.
      This is scheduled to be removed in Gradle 5.0.
      You can configure the existing task using the 'wrapper { }' syntax or
      create your custom task under a different name.
       at build_1u4zf89udullsb7m3yccjzfxt.run(/spring-batch/build.gradle:921)
       (Run with --stacktrace to get the full stack trace of this deprecation warning.)
      
      BUILD SUCCESSFUL in 3s
      10 actionable tasks: 1 executed, 9 up-to-date
      ```
      
      It also fixes the following warning about annotation processing:
      
      ```
      Detecting annotation processors on the compile classpath has been deprecated.
      Gradle 5.0 will ignore annotation processors on the compile classpath.
      If you did not intend to use annotation processors,
      you can use the '-proc:none' compiler argument to ignore them.
      ```
      
      References:
      
      * Spring Boot issue #6421
      * https://discuss.gradle.org/t/regarding-the-annotation-processors-on-compile-classpath-warning-in-gradle-4-6
      197f32eb
  15. 28 Jan, 2019 3 commits
  16. 25 Jan, 2019 2 commits
    • Mahmoud Ben Hassine's avatar
      Minor polish · c9f72cd2
      Mahmoud Ben Hassine authored
      c9f72cd2
    • Mahmoud Ben Hassine's avatar
      Fix tests failing on windows · 1bfabeb3
      Mahmoud Ben Hassine authored
      The command `ping 1.1.1.1 -n 1 -w 5000` sends only one packet to the
      remote address and might finish before the configured timeout of 10ms
      which makes some tests to fail. Moreover, pinging 1.1.1.1 requires the
      host (which can be the CI build server) to have internet connection.
      This command can also fail if there is no internet connection which
      makes some tests (expecting the command to succeed) to fail too.
      
      This commit uses the command `ping 127.0.0.1` which does not require
      an internet connection and which will, by default [1], send 4 packets
      and wait for a timeout of 4 seconds for each request. This should take
      more time than the configured timeout of 10ms.
      
      Resolves BATCH-2722
      
      [1]: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ping
      1bfabeb3
  17. 21 Jan, 2019 2 commits
  18. 15 Jan, 2019 2 commits
    • Mahmoud Ben Hassine's avatar
      Fix JobOperatorFunctionalTests#testMultipleSimultaneousInstances · 90a89c1b
      Mahmoud Ben Hassine authored
      The `testMultipleSimultaneousInstances` test uses a SimpleAsyncTaskExecutor.
      This means when a job is submitted, a new thread will be created to run
      the job. However, there could be a small time interval between
      JobOperator.startNextInstance(job) and
      JobOperator.findRunningExecutions(job) where the job execution is created
      but not started yet. When this happens, the test fails as
      `findRunningExecutions` does not return the just created
      (but not started yet) execution.
      
      This commit adds a `Thread.sleep` between these two invocations in order
      to give a chance to the background thread (to be created and) to execute
      the job.
      90a89c1b
    • Mahmoud Ben Hassine's avatar
      Fix code example in docs · 5f0f7c49
      Mahmoud Ben Hassine authored
      `StepExecution#setTerminateOnly` does not take a boolean parameter.
      5f0f7c49
  19. 14 Jan, 2019 1 commit
  20. 09 Jan, 2019 1 commit
  21. 03 Jan, 2019 2 commits
  22. 29 Nov, 2018 2 commits