-
Notifications
You must be signed in to change notification settings - Fork 1
[COT-264] Feature: 메일 전송 API 구현 #353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
gikhoon
merged 35 commits into
develop
from
feature/COT-264-send-recruitment-notification
May 15, 2025
Merged
[COT-264] Feature: 메일 전송 API 구현 #353
gikhoon
merged 35 commits into
develop
from
feature/COT-264-send-recruitment-notification
May 15, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
아직 테스트 코드 작성 미완성과 HTML 문구 미완성 refactor할 거 많을 것 같아서 미리 올리고 리뷰 받으면서 수정하겠습니다 |
Youthhing
reviewed
May 2, 2025
src/main/java/org/cotato/csquiz/api/recruitment/controller/RecruitmentController.java
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
src/main/java/org/cotato/csquiz/common/config/AwsSesConfig.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
src/main/java/org/cotato/csquiz/common/config/CotatoConfiguration.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
src/main/java/org/cotato/csquiz/common/email/AwsMailSender.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
src/main/java/org/cotato/csquiz/domain/recruitment/email/RecruitmentEmailFactory.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
src/main/java/org/cotato/csquiz/domain/recruitment/email/RecruitmentEmailFactory.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
.../cotato/csquiz/domain/recruitment/repository/RecruitmentNotificationRequesterRepository.java
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
...tato/csquiz/domain/recruitment/repository/RecruitmentNotificationEmailLogJdbcRepository.java
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
src/main/java/org/cotato/csquiz/domain/recruitment/service/RecruitmentNotificationService.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
...va/org/cotato/csquiz/domain/recruitment/service/component/RecruitmentNotificationSender.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
src/main/java/org/cotato/csquiz/domain/recruitment/service/RecruitmentNotificationService.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
src/main/java/org/cotato/csquiz/domain/recruitment/service/RecruitmentNotificationService.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
...va/org/cotato/csquiz/domain/recruitment/service/component/RecruitmentNotificationSender.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
src/main/java/org/cotato/csquiz/common/email/AwsMailSender.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 2, 2025
src/main/java/org/cotato/csquiz/common/email/AwsMailSender.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 9, 2025
Youthhing
reviewed
May 11, 2025
src/main/java/org/cotato/csquiz/domain/recruitment/service/RecruitmentNotificationService.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 13, 2025
src/main/java/org/cotato/csquiz/common/config/property/AwsProperties.java
Outdated
Show resolved
Hide resolved
Youthhing
reviewed
May 13, 2025
src/main/java/org/cotato/csquiz/common/config/property/AwsProperties.java
Show resolved
Hide resolved
테스트코드 작성해주시고 리팩토링 더 할거 남았나요? |
코드 작성 완료했고 더 수정할 부분 없습니다 |
Youthhing
approved these changes
May 15, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다~
gikhoon
added a commit
that referenced
this pull request
May 17, 2025
* build: ses 빌드 파일 작성 * feat: SesConfig 작성 * feat: raw html으로 Ses 메일 전송 로직 구현 * feat: 비동기 메일 전송 로직 구현 * feat: 비동기 시 결과를 결과 반환하게 변경 * feat: 메일 전송 서비스 로직 구현 * refactor: Batch size에 맞게 나눠서 저장하게 수정 * feat: 메일 제목+html바디 return하는 로직 구현 * feat: 모집 알림 메일 html 수정 * refactor: Ses 메일 전송 컨포넌트명 변경 * chore: 메일 전송 주소 QA, Main 다르게 설정할 수 있게 yaml파일 변경 * refactor: 메일 전송 비동기처리 설정 변경 * feat: 모집 알림 메일 홈페이지 링크 색 수정 * feat: 모집 알림 메일 포매팅 수정 * refactor: 메일 전송 링크 환경변수로 주입받게 변경 * refactor: 모집 알람 메일 html 받는 메소드명 변경 * feat: 레파지토리 트랜잭션 어노테이션 추가 * feat: 로그 저장 메소드 트랜잭션 어노테이션 추가 * refactor: 메일 전송시 emailContent를 통으로 보내게 변경 * refactor: 람다식 변수명 풀어서 작성 * refactor: RecruitmentNotificationRequester map 변수명 변경 * refactor: RecruitmentNotificationRequester map 변수명 변경 * refactor: run-async, exceptionally로 메일 전송 로직 수정 * chore: base-url 공통 yml로 이동 * chore: ses email 주소 공통 yml로 이동 * feat: 홈페이지 주소 DI 주입으로 변경 * refactor: AWS 관련 환경변수 Bean으로 등록하게 변경 * refactor: 전송 메일 주소를 받을 때 AwsProperties를 통해 받도록 변경 * refactor: aws region 환경변수명 변경 * chore: SES 이메일 주소 CI/CD 스크립트 설정 * chore: 홈페이지 주소 CI/CD 스크립트 설정 * refactor: Map 변수명 변경 * chore: ses 이메일 주소 CI/CD 스크립트 secret 변수명 변경 * style: AwsProperties 주석 제거 * test: 메일 전송 테스트 코드 작성 (cherry picked from commit 6a594ab)
Youthhing
pushed a commit
that referenced
this pull request
May 17, 2025
* build: ses 빌드 파일 작성 * feat: SesConfig 작성 * feat: raw html으로 Ses 메일 전송 로직 구현 * feat: 비동기 메일 전송 로직 구현 * feat: 비동기 시 결과를 결과 반환하게 변경 * feat: 메일 전송 서비스 로직 구현 * refactor: Batch size에 맞게 나눠서 저장하게 수정 * feat: 메일 제목+html바디 return하는 로직 구현 * feat: 모집 알림 메일 html 수정 * refactor: Ses 메일 전송 컨포넌트명 변경 * chore: 메일 전송 주소 QA, Main 다르게 설정할 수 있게 yaml파일 변경 * refactor: 메일 전송 비동기처리 설정 변경 * feat: 모집 알림 메일 홈페이지 링크 색 수정 * feat: 모집 알림 메일 포매팅 수정 * refactor: 메일 전송 링크 환경변수로 주입받게 변경 * refactor: 모집 알람 메일 html 받는 메소드명 변경 * feat: 레파지토리 트랜잭션 어노테이션 추가 * feat: 로그 저장 메소드 트랜잭션 어노테이션 추가 * refactor: 메일 전송시 emailContent를 통으로 보내게 변경 * refactor: 람다식 변수명 풀어서 작성 * refactor: RecruitmentNotificationRequester map 변수명 변경 * refactor: RecruitmentNotificationRequester map 변수명 변경 * refactor: run-async, exceptionally로 메일 전송 로직 수정 * chore: base-url 공통 yml로 이동 * chore: ses email 주소 공통 yml로 이동 * feat: 홈페이지 주소 DI 주입으로 변경 * refactor: AWS 관련 환경변수 Bean으로 등록하게 변경 * refactor: 전송 메일 주소를 받을 때 AwsProperties를 통해 받도록 변경 * refactor: aws region 환경변수명 변경 * chore: SES 이메일 주소 CI/CD 스크립트 설정 * chore: 홈페이지 주소 CI/CD 스크립트 설정 * refactor: Map 변수명 변경 * chore: ses 이메일 주소 CI/CD 스크립트 secret 변수명 변경 * style: AwsProperties 주석 제거 * test: 메일 전송 테스트 코드 작성 (cherry picked from commit 6a594ab)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
주의
아직 테스트 코드 작성 미완성HTML 변경 가능Motivation
메일 전송 시 Aws Ses로 메일 전송 + 로그 작성
Modification
메일 전송 시 NOT_SENT 또는 Failed 상태의 요청들에게 전송
전솓된 메일은 상태 저장
전송 로그 저장
Result
https://youthing.atlassian.net/browse/COT-264
Test (option)
SQL