Skip to content

Commit

Permalink
feat: temp deploy version
Browse files Browse the repository at this point in the history
  • Loading branch information
ohksj77 committed Oct 3, 2024
1 parent df52497 commit 196cd09
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.UUID;
Expand All @@ -26,7 +27,7 @@ public class BlockchainConsumer implements EventConsumer<BlockchainEvent> {
private final BlockchainService blockchainService;

@Async
@Transactional
@Transactional(propagation = Propagation.REQUIRES_NEW)
@EventListener
@Override
public void consume(final BlockchainEvent event) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import javax.mail.MessagingException;
Expand All @@ -24,7 +25,7 @@ public class EventEmailConsumer implements EventConsumer<EmailEvent> {
private final EmailSender emailSender;

@Async
@Transactional
@Transactional(propagation = Propagation.REQUIRES_NEW)
@EventListener
@Override
public void consume(final EmailEvent event) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
Expand All @@ -21,7 +22,7 @@ public class EventGitRepoInfoConsumer implements EventConsumer<GitRepoInfoEvent>
private final GitRepoMemberFacade gitRepoMemberFacade;

@Async
@Transactional
@Transactional(propagation = Propagation.REQUIRES_NEW)
@EventListener
@Override
public void consume(final GitRepoInfoEvent event) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
Expand All @@ -21,7 +22,7 @@ public class EventSparkLineConsumer implements EventConsumer<SparkLineEvent> {
private final GitRepoService gitRepoService;

@Async
@Transactional
@Transactional(propagation = Propagation.REQUIRES_NEW)
@EventListener
@Override
public void consume(final SparkLineEvent sparkLineEvent) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
Expand All @@ -27,7 +28,7 @@ public class ContributionClientConsumer implements EventConsumer<ContributionEve
private final MemberRepository memberRepository;

@Async
@Transactional
@Transactional(propagation = Propagation.REQUIRES_NEW)
@EventListener
@Override
public void consume(final ContributionEvent event) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
Expand All @@ -25,7 +26,7 @@ public class EventRepositoryClientConsumer implements EventConsumer<RepositoryEv
private final MemberRepository memberRepository;

@Async
@Transactional
@Transactional(propagation = Propagation.REQUIRES_NEW)
@EventListener
@Override
public void consume(final RepositoryEvent event) {
Expand Down

0 comments on commit 196cd09

Please sign in to comment.