Split the function

This commit is contained in:
2026-02-09 20:21:09 +09:00
parent 0ff3f43a99
commit b1765e9d1f
4 changed files with 6 additions and 0 deletions

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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 {