Split the function
This commit is contained in:
Binary file not shown.
@@ -4,6 +4,7 @@ import com.kamco.cd.geojsonscheduler.service.DockerRunnerService;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.log4j.Log4j2;
|
||||
import org.springframework.batch.core.StepContribution;
|
||||
import org.springframework.batch.core.configuration.annotation.StepScope;
|
||||
import org.springframework.batch.core.scope.context.ChunkContext;
|
||||
import org.springframework.batch.core.step.tasklet.Tasklet;
|
||||
import org.springframework.batch.repeat.RepeatStatus;
|
||||
@@ -45,6 +46,7 @@ import org.springframework.stereotype.Component;
|
||||
*/
|
||||
@Log4j2
|
||||
@Component
|
||||
@StepScope
|
||||
@RequiredArgsConstructor
|
||||
public class DockerRunTasklet implements Tasklet {
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ import java.util.List;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.log4j.Log4j2;
|
||||
import org.springframework.batch.core.StepContribution;
|
||||
import org.springframework.batch.core.configuration.annotation.StepScope;
|
||||
import org.springframework.batch.core.scope.context.ChunkContext;
|
||||
import org.springframework.batch.core.step.tasklet.Tasklet;
|
||||
import org.springframework.batch.repeat.RepeatStatus;
|
||||
@@ -46,6 +47,7 @@ import org.springframework.stereotype.Component;
|
||||
*/
|
||||
@Log4j2
|
||||
@Component
|
||||
@StepScope
|
||||
@RequiredArgsConstructor
|
||||
public class MakeGeoJsonTasklet implements Tasklet {
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ import java.util.zip.ZipOutputStream;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.log4j.Log4j2;
|
||||
import org.springframework.batch.core.StepContribution;
|
||||
import org.springframework.batch.core.configuration.annotation.StepScope;
|
||||
import org.springframework.batch.core.scope.context.ChunkContext;
|
||||
import org.springframework.batch.core.step.tasklet.Tasklet;
|
||||
import org.springframework.batch.repeat.RepeatStatus;
|
||||
@@ -53,6 +54,7 @@ import org.springframework.stereotype.Component;
|
||||
*/
|
||||
@Log4j2
|
||||
@Component
|
||||
@StepScope
|
||||
@RequiredArgsConstructor
|
||||
public class ZipResponseTasklet implements Tasklet {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user