-
Notifications
You must be signed in to change notification settings - Fork 1
[Fix] 푸시알림 딥링크/대상 수정, 발송 안정화 - #632 #633
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
Conversation
…타임은 RestClientException으로 래핑
…lestoneGuard.tryMarkFirstHit를 기본 @transactional(REQUIRED)로 변경
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.
고생하셨습니다~ 💯
| public final class SoptampDeepLinkBuilder { | ||
| private static final String BASE = | ||
| "home/soptamp/entire-part-ranking/part-ranking/missions/missionDetail"; | ||
|
|
||
| private SoptampDeepLinkBuilder() {} | ||
|
|
||
| public static String buildStampDetailLink(long stampId, boolean isMine, String nickname, String part) { | ||
| String encodedNickname = URLEncoder.encode(nickname, StandardCharsets.UTF_8); | ||
| return String.format("%s?id=%d&isMine=%s&nickname=%s&part=%s", | ||
| BASE, stampId, Boolean.toString(isMine), encodedNickname, part); | ||
| } | ||
| } |
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.
저희 미션 조회할 때 missionId와 nickname으로 API를 조회할텐데 딥링크에 missionId 는 없어도 괜찮을까요??
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.
이거 클라 쪽에 재확인해봐야할 것 같아요!
Related issue 🛠
Work Description ✏️
개요
ClapMilestoneGuard트랜잭션 정책을 조정했습니다.변경 사항 (Commits)
home/soptamp/entire-part-ranking/part-ranking/missions/missionDetail?id={id}&isMine={bool}&nickname={encoded}&part={part}ofOwnerClapFirst(...): 첫 박수ofOwnerClap100Or500(...): 100/500번째ofOwnerClapKilo(...): 1000 단위(1000/2000/…)isMine=true로 이동RestTemplate빈 주입 전환 및 발송 실패 로깅 보강new RestTemplate()제거 → 공통 빈 사용ClapRequest변경사항 반영(새 팩토리 호출)RuntimeException보존RestClientException으로 의미 있는 래핑tryMarkFirstHit를 기본 @transactional(REQUIRED) 로 변경@Transactional(REQUIRES_NEW)에 참여하여 마킹+발송 동시 커밋/롤백설계 의도 / 이유
clap_milestone_hit의 UNIQUE(stamp_id, milestone) +INSERT ... ON CONFLICT DO NOTHINGRestTemplate빈 + 개선된 예외 처리/로깅으로 운영 가시성 향상Trouble Shooting ⚽️
Related ScreenShot 📷
Uncompleted Tasks 😅
To Reviewers 📢