Skip to content

Conversation

@starboxxxx
Copy link
Collaborator

📄 요약(Summary)

시스템과 외부 푸시 알림 기능 구현 완료

✍🏼 상세(More)

PR Desciption

  • 작업 양이 별로 없어보여서 시스템 및 외부 알림 기능을 한 번에 처리하려다 결국 양 조절에 실패했습니다..
  • 비록 엄청난 양의 commit이지만 부디 너그러운 마음으로 이해해주시길 바랍니다..
  • 추가적으로 외부 푸시 알림 기능 테스트해보시고 싶은 분들은 DB내에 있는 테스트 계정의 이메일을 꼭 본인 것으로 올바르게 설정해놓은 후 테스트 진행해주시면 좋을 것 같습니다. -> 현재 작업 생성 로직에만 알림 생성 기능을 넣어놓았고 이는 추후에 업데이트 진행할 예정입니다.

Requirements for Reviewer

PR Log

PR 작업하면서 고민했던 내용, 해결한 내용, 고민 중인 내용 등

새롭게 배운 것

고민 중인 사항

첨부 자료

Requirements for Reviewer

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

✅ 체크리스트(Checklist)

  • [ ✅ ] PR 양식에 맞게 작성했습니다
  • [ ✅ ] 모든 테스트가 통과했습니다
  • [ ✅ ] 프로그램이 정상적으로 작동합니다
  • [ ✅ ] 적절한 PR 라벨을 설정했습니다
  • [ ✅ ] 불필요한 코드를 제거했습니다

🚪 이슈 번호(Issue numbers)

Closes #{이슈 번호}

@starboxxxx starboxxxx self-assigned this Jan 26, 2025
@starboxxxx starboxxxx added ✨ feature 구현·개선 사항에 관련된 내용입니다 HIGH 우선순위 상 labels Jan 26, 2025
@starboxxxx starboxxxx requested review from joowojr and parkjaehak and removed request for parkjaehak January 27, 2025 04:09
Copy link
Contributor

@joowojr joowojr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outbound/persistence는 영속성을 가진 데이터 db와 상호작용합니다.
웹훅 및 이메일 전송은 외부 시스템과의 상호작용이기 때분에 outbound/api 디렉토리로 이동 부탁드립니다!
persistence adapter는 필요하지 않고 외부 api client가 application/port의 구현체가 되면 될 것 같습니다.
따라서 아래와 같은 구조가 될 수 있겠네요.

├── adapter
│   ├── in
│   │   └── web
│   │   └── ...Controller.java
│   └── out
│   ├── api
│      ├── GoogleMailClient.java
│      ├── AgitClient.java
│     └── KakaoWorkClient.java
├── application
│   └── port
│   └── outbound
│   └── SendEmailPort.java

@starboxxxx
Copy link
Collaborator Author

starboxxxx commented Jan 27, 2025

@joowojr 수정 완료하였습니다! 확인 부탁드립니다!

@starboxxxx starboxxxx requested a review from joowojr January 27, 2025 06:18
Copy link
Contributor

@joowojr joowojr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다. 리뷰확인 부탁드립니다:)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

request dto도 oubound/api/dto로 이동 해야할거같아요!

@RequiredArgsConstructor
public class KakaoWorkClient implements SendKaKaoWorkPort {

private static final String KAKAOWORK_URL = "https://api.kakaowork.com/v1/messages.send_by_email";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

중요한 정보기 때문에 환경변수화 부탁드립니다!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sse 관련은 외부로 나가는 기술에 의존하기 때문에 outbound/infrastructure/sse로 이동하면 좋을것 같습니다!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 클래스의 역할이 무엇일까요?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

따로 api가 있는 이유가 무엇인지 궁금합니다!

@starboxxxx starboxxxx requested a review from joowojr January 27, 2025 07:18
@starboxxxx starboxxxx merged commit 80c51fa into develop Jan 27, 2025
@starboxxxx starboxxxx deleted the CLAP-150 branch January 27, 2025 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ feature 구현·개선 사항에 관련된 내용입니다 HIGH 우선순위 상

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants