Build #186

Plan to test the build on a specific branch

Build: #186 failed Scheduled with changes by 3 people

Code commits

Git

  • Mahmoud Ben Hassine

    Mahmoud Ben Hassine f26165e764c1e4b25a3778eafa9783bea7d73693

    Polish bd53168ddb613aa5a5f8bc550f20a828ce3cf17d

    • spring-batch-docs/asciidoc/whatsnew.adoc (version f26165e764c1e4b25a3778eafa9783bea7d73693)
    • spring-batch-infrastructure/src/main/java/org/springframework/batch/item/avro/AvroItemReader.java (version f26165e764c1e4b25a3778eafa9783bea7d73693)
    • spring-batch-infrastructure/src/main/java/org/springframework/batch/item/avro/AvroItemWriter.java (version f26165e764c1e4b25a3778eafa9783bea7d73693)
    • spring-batch-infrastructure/src/main/java/org/springframework/batch/item/avro/builder/AvroItemReaderBuilder.java (version f26165e764c1e4b25a3778eafa9783bea7d73693)
    • spring-batch-infrastructure/src/main/java/org/springframework/batch/item/avro/builder/AvroItemWriterBuilder.java (version f26165e764c1e4b25a3778eafa9783bea7d73693)
    • spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/AvroItemWriterTests.java (version f26165e764c1e4b25a3778eafa9783bea7d73693)
    • spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/example/AvroTestUtils.java (version f26165e764c1e4b25a3778eafa9783bea7d73693)
    • spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/support/AvroTestFixtures.java (version f26165e764c1e4b25a3778eafa9783bea7d73693)
  • David Turanski <dturanski@pivotal.io>

    David Turanski <dturanski@pivotal.io> bd53168ddb613aa5a5f8bc550f20a828ce3cf17d

    Implement AvroItemReader and AvroItemWriter
    Resolves BATCH-2833

    • build.gradle (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-docs/asciidoc/readersAndWriters.adoc (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/main/java/org/springframework/batch/item/avro/AvroItemReader.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/main/java/org/springframework/batch/item/avro/AvroItemWriter.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/main/java/org/springframework/batch/item/avro/builder/AvroItemReaderBuilder.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/main/java/org/springframework/batch/item/avro/builder/AvroItemWriterBuilder.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/AvroItemReaderTests.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/AvroItemWriterTests.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/builder/AvroItemReaderBuilderTests.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/builder/AvroItemWriterBuilderTests.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/example/AvroTestUtils.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/example/User.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/support/AvroItemReaderTestSupport.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/support/AvroItemWriterTestSupport.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/support/AvroTestFixtures.java (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/avro/plain-old-user-data-no-schema.avro (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/avro/user-data-no-schema.avro (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/avro/user-data.avro (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
    • spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/avro/user-schema.json (version bd53168ddb613aa5a5f8bc550f20a828ce3cf17d)
  • Mahmoud Ben Hassine

    Mahmoud Ben Hassine 872845cae8f5922c1b8747c13c3a3b9d4956e8bc

    Improve the lookup for running job executions in CommandLineJobRunner
    Before this commit, getting the running job executions loaded
    all job executions from the database and filtered them in-memory.

    This commit uses `JobExplorer#findRunningJobExecutions` which issues
    a query that does the filtering on the database side. This change
    considerably improves the performance of stopping a job.

    Resolves BATCH-2422

    • spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/CommandLineJobRunner.java (version 872845cae8f5922c1b8747c13c3a3b9d4956e8bc)
    • spring-batch-core/src/test/java/org/springframework/batch/core/launch/support/CommandLineJobRunnerTests.java (version 872845cae8f5922c1b8747c13c3a3b9d4956e8bc)
  • Michael Minella

    Michael Minella fda70ccbcbb95bad780c4d86aa34764567f88e3c

    Fixed integration test breaking build

    • spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/database/JdbcPagingQueryIntegrationTests.java (version fda70ccbcbb95bad780c4d86aa34764567f88e3c)
  • Mahmoud Ben Hassine

    Mahmoud Ben Hassine 7c1fbede1b53f1f6e00f6dd1dc614d1a99faf09c

    Add new methods to get the last job instance/execution in JobInstance/JobExecution DAOs
    Before this commit, getting the last job instance/execution required to
    load all job instances/executions from the database and filter them
    on the client side in memory.

    This commit introduces new methods that use database queries to get
    the last job instance/execution without the need to load all job
    instances/executions. This change improves memory consumption as well as
    the performance of starting the next instance of a job.

    Resolves BATCH-1784

    • spring-batch-core/src/main/java/org/springframework/batch/core/JobParametersBuilder.java (version 7c1fbede1b53f1f6e00f6dd1dc614d1a99faf09c)
    • spring-batch-core/src/main/java/org/springframework/batch/core/explore/JobExplorer.java (version 7c1fbede1b53f1f6e00f6dd1dc614d1a99faf09c)
    • spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/SimpleJobExplorer.java (version 7c1fbede1b53f1f6e00f6dd1dc614d1a99faf09c)
    • spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/JdbcJobInstanceDao.java (version 7c1fbede1b53f1f6e00f6dd1dc614d1a99faf09c)
    • spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/JobInstanceDao.java (version 7c1fbede1b53f1f6e00f6dd1dc614d1a99faf09c)
    • spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/MapJobInstanceDao.java (version 7c1fbede1b53f1f6e00f6dd1dc614d1a99faf09c)
    • spring-batch-core/src/test/java/org/springframework/batch/core/explore/support/SimpleJobExplorerTests.java (version 7c1fbede1b53f1f6e00f6dd1dc614d1a99faf09c)
    • spring-batch-core/src/test/java/org/springframework/batch/core/launch/support/CommandLineJobRunnerTests.java (version 7c1fbede1b53f1f6e00f6dd1dc614d1a99faf09c)
    • spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/AbstractJobInstanceDaoTests.java (version 7c1fbede1b53f1f6e00f6dd1dc614d1a99faf09c)