Skip to content

Commit

Permalink
fix: 프로파일 빈 등록 설정 수정 (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
seokjin8678 authored and BGuga committed Oct 17, 2023
1 parent 9daae89 commit 72fb8a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.springframework.transaction.event.TransactionalEventListener;

@Component
@Profile({"prod", "dev"})
@Profile("prod | dev")
public class FCMNotificationEventListener {

private static final Logger log = LoggerFactory.getLogger(FCMNotificationEventListener.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import org.springframework.core.io.ClassPathResource;

@Configuration
@Profile({"prod", "dev"})
@Profile("prod | dev")
public class FCMConfig {

@Value("${fcm.key.path}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import org.springframework.stereotype.Component;

@Component
@Profile({"prod", "dev"})
@Profile("prod | dev")
public class GoogleMailClient implements MailClient {

private final MailSender mailSender;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.springframework.stereotype.Component;

@Component
@Profile({"infra", "test", "local"})
@Profile("!dev & !prod")
public class MockMailClient implements MailClient {

@Override
Expand Down

0 comments on commit 72fb8a5

Please sign in to comment.