BATCH-2229 & BATCH-2218: Removed OSGi related metadata and Maven POMs
This commit is contained in:
@@ -41,7 +41,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Wrapper for a {@link DataSource} that can run scripts on start up and shut
|
||||
* down. Us as a bean definition <br/><br/>
|
||||
* down. Us as a bean definition <br><br>
|
||||
*
|
||||
* Run this class to initialize a database in a running server process.
|
||||
* Make sure the server is running first by launching the "hsql-server" from the
|
||||
|
||||
@@ -15,15 +15,6 @@
|
||||
*/
|
||||
package org.springframework.batch.test;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.springframework.batch.core.JobExecution;
|
||||
import org.springframework.batch.core.JobInstance;
|
||||
import org.springframework.batch.core.JobParameter;
|
||||
@@ -42,6 +33,14 @@ import org.springframework.jdbc.core.JdbcTemplate;
|
||||
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Convenience class for creating and removing {@link JobExecution} instances
|
||||
* from a database. Typical usage in test case would be to create instances
|
||||
@@ -123,7 +122,6 @@ public class JobRepositoryTestUtils extends AbstractJdbcBatchMetadataDao impleme
|
||||
* @param count the required number of instances of {@link JobExecution} to
|
||||
* create
|
||||
* @return a collection of {@link JobExecution}
|
||||
* @throws Exception if there is a problem in the {@link JobRepository}
|
||||
*/
|
||||
public List<JobExecution> createJobExecutions(String jobName, String[] stepNames, int count)
|
||||
throws JobExecutionAlreadyRunningException, JobRestartException, JobInstanceAlreadyCompleteException {
|
||||
@@ -147,7 +145,6 @@ public class JobRepositoryTestUtils extends AbstractJdbcBatchMetadataDao impleme
|
||||
* @param count the required number of instances of {@link JobExecution} to
|
||||
* create
|
||||
* @return a collection of {@link JobExecution}
|
||||
* @throws Exception if there is a problem in the {@link JobRepository}
|
||||
*/
|
||||
public List<JobExecution> createJobExecutions(int count) throws JobExecutionAlreadyRunningException,
|
||||
JobRestartException, JobInstanceAlreadyCompleteException {
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
Changelog: Spring Batch Test
|
||||
|
||||
* 2.0.0.RC1
|
||||
* BATCH-1049: Add compile scope to spring-test in spring-batch-test
|
||||
* BATCH-1048: Add site docos for the Test project
|
||||
|
||||
* 2.0.0.M4
|
||||
|
||||
* BATCH-1045: Move DataSourceInitializer to the test project's "main" folder
|
||||
* BATCH-1032: Modify AbstractJobTests in test project to be able to launch FlowJob steps individually
|
||||
|
||||
* 2.0.0.M3
|
||||
|
||||
* BATCH-933: AssertFile class for checking equality of files in unit tests
|
||||
* BATCH-903: Create test project
|
||||
@@ -1,22 +0,0 @@
|
||||
Spring Batch Test
|
||||
|
||||
* Overview
|
||||
|
||||
This module contains code for facilitating the testing of batch jobs. The project
|
||||
includes the following classes:
|
||||
|
||||
*----+----+
|
||||
| <<Class Name>> | <<Use>> |
|
||||
*----+----+
|
||||
| AbstractJobTests | End-to-end batch job testing as well as testing individual steps |
|
||||
*----+----+
|
||||
| AssertFile | Checking equality of flat files |
|
||||
*----+----+
|
||||
| DataSourceInitializer | Wrapper for a DataSource that can run scripts on start up and shut down |
|
||||
*----+----+
|
||||
| JobRepositoryTestUtils | Create and remove JobExecution instances from a database |
|
||||
*----+----+
|
||||
| MetaDataInstanceFactory | Create test instances of JobExecution, JobInstance and StepExecution |
|
||||
*----+----+
|
||||
| StepRunner | Execute steps outside of a Job |
|
||||
*----+----+
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<project name="Spring Batch: ${project.name}">
|
||||
|
||||
<body>
|
||||
|
||||
<links>
|
||||
<item name="${project.name}" href="index.html"/>
|
||||
</links>
|
||||
|
||||
<menu name="Documentation">
|
||||
<item name="${project.name}" href="index.html"/>
|
||||
</menu>
|
||||
|
||||
<menu ref="reports"/>
|
||||
|
||||
</body>
|
||||
</project>
|
||||
Reference in New Issue
Block a user