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 196cd09 commit bfc7a43
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

import lombok.RequiredArgsConstructor;

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 org.springframework.transaction.event.TransactionalEventListener;

import java.util.UUID;

Expand All @@ -28,7 +28,7 @@ public class BlockchainConsumer implements EventConsumer<BlockchainEvent> {

@Async
@Transactional(propagation = Propagation.REQUIRES_NEW)
@EventListener
@TransactionalEventListener
@Override
public void consume(final BlockchainEvent event) {
final Member member = memberService.loadEntity(event.getMemberId());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

import lombok.RequiredArgsConstructor;

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 org.springframework.transaction.event.TransactionalEventListener;

import javax.mail.MessagingException;

Expand All @@ -26,7 +26,7 @@ public class EventEmailConsumer implements EventConsumer<EmailEvent> {

@Async
@Transactional(propagation = Propagation.REQUIRES_NEW)
@EventListener
@TransactionalEventListener
@Override
public void consume(final EmailEvent event) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

import lombok.RequiredArgsConstructor;

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 org.springframework.transaction.event.TransactionalEventListener;

/**
* @author 김승진
Expand All @@ -23,7 +23,7 @@ public class EventGitRepoInfoConsumer implements EventConsumer<GitRepoInfoEvent>

@Async
@Transactional(propagation = Propagation.REQUIRES_NEW)
@EventListener
@TransactionalEventListener
@Override
public void consume(final GitRepoInfoEvent event) {
gitRepoMemberFacade.requestToGithub(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

import lombok.RequiredArgsConstructor;

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 org.springframework.transaction.event.TransactionalEventListener;

/**
* @author 김승진
Expand All @@ -23,7 +23,7 @@ public class EventSparkLineConsumer implements EventConsumer<SparkLineEvent> {

@Async
@Transactional(propagation = Propagation.REQUIRES_NEW)
@EventListener
@TransactionalEventListener
@Override
public void consume(final SparkLineEvent sparkLineEvent) {
gitRepoService.updateSparkLine(sparkLineEvent.getId(), sparkLineEvent.getGithubToken());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;

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 org.springframework.transaction.event.TransactionalEventListener;

/**
* @author 김승진
Expand All @@ -29,7 +29,7 @@ public class ContributionClientConsumer implements EventConsumer<ContributionEve

@Async
@Transactional(propagation = Propagation.REQUIRES_NEW)
@EventListener
@TransactionalEventListener
@Override
public void consume(final ContributionEvent event) {
final Member member =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

import lombok.RequiredArgsConstructor;

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 org.springframework.transaction.event.TransactionalEventListener;

/**
* @author 김승진
Expand All @@ -27,7 +27,7 @@ public class EventRepositoryClientConsumer implements EventConsumer<RepositoryEv

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

0 comments on commit bfc7a43

Please sign in to comment.