-
Notifications
You must be signed in to change notification settings - Fork 1
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
Ignore: ✨ 사용자가 수신한 푸시 알림 리스트 최신순 조회 #134
Merged
Merged
Conversation
This file contains 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
...app-external-api/src/main/java/kr/co/pennyway/api/apis/notification/api/NotificationApi.java
Show resolved
Hide resolved
...pi/src/main/java/kr/co/pennyway/api/apis/notification/controller/NotificationController.java
Show resolved
Hide resolved
...app-external-api/src/main/java/kr/co/pennyway/api/apis/notification/dto/NotificationDto.java
Show resolved
Hide resolved
...ternal-api/src/main/java/kr/co/pennyway/api/apis/notification/mapper/NotificationMapper.java
Show resolved
Hide resolved
...pi/src/main/java/kr/co/pennyway/api/apis/notification/service/NotificationSearchService.java
Show resolved
Hide resolved
...rnal-api/src/main/java/kr/co/pennyway/api/apis/notification/usecase/NotificationUseCase.java
Show resolved
Hide resolved
pennyway-app-external-api/src/main/java/kr/co/pennyway/api/config/SwaggerConfig.java
Show resolved
Hide resolved
...java/kr/co/pennyway/api/apis/notification/controller/GetNotificationsControllerUnitTest.java
Show resolved
Hide resolved
...ay-app-external-api/src/test/java/kr/co/pennyway/api/config/fixture/NotificationFixture.java
Show resolved
Hide resolved
pennyway-batch/src/main/java/kr/co/pennyway/batch/writer/NotificationWriter.java
Show resolved
Hide resolved
...way-domain/src/main/java/kr/co/pennyway/domain/domains/notification/domain/Notification.java
Show resolved
Hide resolved
...java/kr/co/pennyway/domain/domains/notification/repository/NotificationCustomRepository.java
Show resolved
Hide resolved
.../kr/co/pennyway/domain/domains/notification/repository/NotificationCustomRepositoryImpl.java
Show resolved
Hide resolved
.../main/java/kr/co/pennyway/domain/domains/notification/repository/NotificationRepository.java
Show resolved
Hide resolved
...in/src/main/java/kr/co/pennyway/domain/domains/notification/service/NotificationService.java
Show resolved
Hide resolved
pennyway-domain/src/main/java/kr/co/pennyway/domain/domains/notification/type/Announcement.java
Show resolved
Hide resolved
...va/kr/co/pennyway/domain/domains/notification/repository/ReadNotificationsSliceUnitTest.java
Show resolved
Hide resolved
.../co/pennyway/domain/domains/notification/repository/SaveDailySpendingAnnounceInBulkTest.java
Show resolved
Hide resolved
3 tasks
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.
작업 이유
작업 사항
1️⃣ Notification Entity 수정
sender
, 수신자receiver
, 대상 pktoId
필드를 추가함.receiver_name
필드를 추가receiver_name
은 따로 저장하지 않음.2️⃣ 푸시 알림 제목, 내용 포맷팅
Notification
Entity 내의 함수를 호출하여 포맷팅된 문자열을 얻을 수 있음.Announcement
는 제목과 내용에 수신자의 이름을 삽입하여 문자열을 반환하는 함수를 지님..contains()
가 아닌.indexOf()
를 사용한 이유는 성능 개선 목적을 위함.리뷰어가 중점적으로 확인해야 하는 부분
발견한 이슈