Skip to content

Commit 045c467

Browse files
authored
Merge pull request #110 from My-Medi/develop
hotfix : remove profile deploy in batch
2 parents a147be5 + 88f5d3d commit 045c467

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/com/my_medi/common/config/HealthCheckupBatchConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import java.io.InputStream;
2828

2929
@Slf4j
30-
@Profile({"han", "deploy"})
30+
@Profile({"han"})
3131
@Configuration
3232
@RequiredArgsConstructor
3333
@EnableBatchProcessing

src/main/java/com/my_medi/domain/healthCheckup/service/BatchJobRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import org.springframework.context.annotation.Profile;
1111
import org.springframework.stereotype.Component;
1212

13-
@Profile({"han", "deploy"})
13+
@Profile({"han"})
1414
@Slf4j
1515
@Component
1616
@RequiredArgsConstructor

src/main/java/com/my_medi/domain/healthCheckup/service/HealthCheckupItemProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import static com.my_medi.common.util.ParseUtil.*;
1010

11-
@Profile({"han", "deploy"})
11+
@Profile({"han"})
1212
@Slf4j
1313
@Component
1414
public class HealthCheckupItemProcessor implements ItemProcessor<String[], HealthCheckup> {

src/main/java/com/my_medi/domain/healthCheckup/service/JpaHealthCheckupItemWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import java.util.ArrayList;
1313
import java.util.List;
1414

15-
@Profile({"han", "deploy"})
15+
@Profile({"han"})
1616
@Slf4j
1717
@Component
1818
@RequiredArgsConstructor

0 commit comments

Comments
 (0)