Skip to content
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

🔨 [Refactoring] SlackService 공통 모듈 분리 #947 #950

Merged
merged 17 commits into from
Aug 14, 2024

Conversation

yhames
Copy link
Contributor

@yhames yhames commented Aug 12, 2024

📌 개요

  • 🔨 [Refactoring] SlackService 공통 모듈 분리

💻 작업사항

  • agenda에서 Slackbot을 사용하기 위해 SlackService를 gg-utils로 옮겼습니다.
  • MessageSender 인터페이스 및 AsyncSlackMessageSender 추가
    • 기존 Noti 에서 사용중이던 SlackService 추상화
    • NotiSlackMessageSender에서 AsyncSlackMessageSender 호출하는 방식으로 변경
  • MailSender 인터페이스 및 AsyncMailSender 추가
    • 기존 Noti 에서 사용중이던 NotiMailSender 추상화
    • NotiMailSender에서 AsyncMailSender 호출하는 방식으로 변경

✅ 변경로직

💡Issue 번호

@yhames yhames added enhancement New feature or request refactoring labels Aug 12, 2024
@yhames yhames added this to the 7th Sprint 5 milestone Aug 12, 2024
@yhames yhames self-assigned this Aug 12, 2024
@yhames yhames linked an issue Aug 12, 2024 that may be closed by this pull request
1 task
Copy link

codecov bot commented Aug 12, 2024

Codecov Report

Attention: Patch coverage is 7.07965% with 105 lines in your changes missing coverage. Please review.

Project coverage is 36.05%. Comparing base (c059f95) to head (0fcfc06).
Report is 122 commits behind head on dev.

Files Patch % Lines
...main/java/gg/utils/sns/slack/SlackbotApiUtils.java 0.00% 40 Missing ⚠️
...va/gg/utils/sns/slack/AsyncSlackMessageSender.java 0.00% 19 Missing ⚠️
...pi/user/noti/service/sns/SlackPartybotService.java 0.00% 10 Missing ⚠️
...ong/api/user/noti/service/sns/SlackbotService.java 0.00% 10 Missing ⚠️
...c/main/java/gg/utils/sns/mail/AsyncMailSender.java 0.00% 7 Missing ⚠️
.../user/noti/service/sns/NotiSlackMessageSender.java 14.28% 6 Missing ⚠️
...ava/gg/utils/sns/slack/constant/SlackConstant.java 0.00% 5 Missing ⚠️
...ngpong/api/user/noti/service/PartyNotiService.java 0.00% 2 Missing ⚠️
...pingpong/api/user/noti/service/SnsNotiService.java 50.00% 2 Missing ⚠️
...main/java/gg/utils/sns/slack/response/Channel.java 0.00% 1 Missing ⚠️
... and 3 more

❗ There is a different number of reports uploaded between BASE (c059f95) and HEAD (0fcfc06). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (c059f95) HEAD (0fcfc06)
integrationTest 1 0
Additional details and impacted files
@@              Coverage Diff              @@
##                dev     #950       +/-   ##
=============================================
- Coverage     75.89%   36.05%   -39.85%     
+ Complexity     1091      555      -536     
=============================================
  Files           366      392       +26     
  Lines          4800     5414      +614     
  Branches        391      436       +45     
=============================================
- Hits           3643     1952     -1691     
- Misses          991     3406     +2415     
+ Partials        166       56      -110     
Flag Coverage Δ
integrationTest ?
unitTest 36.05% <7.07%> (-0.80%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

AreSain
AreSain previously approved these changes Aug 14, 2024
Copy link
Contributor

@AreSain AreSain left a comment

Choose a reason for hiding this comment

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

고생 많으셨습니다.

kimjieun0301
kimjieun0301 previously approved these changes Aug 14, 2024
Copy link
Contributor

@kimjieun0301 kimjieun0301 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다

@yhames yhames dismissed stale reviews from kimjieun0301 and AreSain via 8e1e2fe August 14, 2024 06:22
@yhames yhames merged commit fd95078 into dev Aug 14, 2024
4 of 5 checks passed
@yhames yhames deleted the 947-refactoring-slackservice-공통-모듈-분리 branch August 14, 2024 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactoring
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

🔨 [Refactoring] SlackService 공통 모듈 분리
3 participants