-
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
Feat(#69) housework add #74
Conversation
가장 먼저 집안일 추가가 결국 HouseworkInfo를 만드는거기 때문에 HouseworkController => HouseworkInfoController로 바꿔야할 것 같습니다! |
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.
일단 리뷰 남겼습니다!
로직 부분에서 고쳐할점이 좀 있어서 내일 같이 해봅시다 😁
heachi-core/housework-api/src/main/java/com/heachi/housework/api/service/HouseworkService.java
Outdated
Show resolved
Hide resolved
...rk-api/src/main/java/com/heachi/housework/api/controller/request/HouseworkAddRequestDTO.java
Outdated
Show resolved
Hide resolved
...-api/src/main/java/com/heachi/housework/api/controller/response/HouseworkAddResponseDTO.java
Outdated
Show resolved
Hide resolved
...ore/housework-api/src/main/java/com/heachi/housework/api/controller/HouseworkController.java
Outdated
Show resolved
Hide resolved
...ore/housework-api/src/main/java/com/heachi/housework/api/controller/HouseworkController.java
Outdated
Show resolved
Hide resolved
heachi-core/housework-api/src/main/java/com/heachi/housework/api/service/HouseworkService.java
Outdated
Show resolved
Hide resolved
heachi-core/housework-api/src/main/java/com/heachi/housework/api/service/HouseworkService.java
Outdated
Show resolved
Hide resolved
heachi-core/housework-api/src/main/java/com/heachi/housework/api/service/HouseworkService.java
Outdated
Show resolved
Hide resolved
heachi-core/housework-api/src/main/java/com/heachi/housework/api/service/HouseworkService.java
Outdated
Show resolved
Hide resolved
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.
피드백 부분 수정 부탁드립니다~
heachi-core/auth-api/src/main/java/com/heachi/auth/api/service/token/RefreshTokenService.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/heachi/housework/api/controller/housework/info/HouseworkInfoController.java
Outdated
Show resolved
Hide resolved
...java/com/heachi/housework/api/controller/housework/info/request/HouseworkInfoAddRequest.java
Outdated
Show resolved
Hide resolved
...-api/src/main/java/com/heachi/housework/api/service/housework/info/HouseworkInfoService.java
Outdated
Show resolved
Hide resolved
...-api/src/main/java/com/heachi/housework/api/service/housework/info/HouseworkInfoService.java
Outdated
Show resolved
Hide resolved
...-api/src/main/java/com/heachi/housework/api/service/housework/info/HouseworkInfoService.java
Outdated
Show resolved
Hide resolved
...-api/src/main/java/com/heachi/housework/api/service/housework/info/HouseworkInfoService.java
Outdated
Show resolved
Hide resolved
...-api/src/main/java/com/heachi/housework/api/service/housework/info/HouseworkInfoService.java
Outdated
Show resolved
Hide resolved
...-api/src/main/java/com/heachi/housework/api/service/housework/info/HouseworkInfoService.java
Outdated
Show resolved
Hide resolved
1. 불필요한 메서드 제거 2. 불필요한 의존성 설정 제거 3. HouseworkInfo Create API 경로 수정 4. 집안일은 모두가 추가할 수 있도록 수정 - 기존에는 그룹장만 추가할 수 있도록 했었음 5. HouseCategory 조회 로직 추가 6. Create API이므로 return값 필요 없음 -> void 7. HouseworkInfoAdd -> CreateHouseworkInfo 메서드명 변경
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.
리뷰 남겼습니다~ 제가 조금 손봐놓을게용
@PostMapping("/add") | ||
public JsonResult<HouseworkAddResponseDTO> houseworkAdd( | ||
@RequestHeader(name = "Authorization") String token, | ||
@RequestBody HouseworkAddRequestDTO request |
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.
@Valid 가 존재하지 않는데 Validation이 잘 걸리나요??
...-api/src/main/java/com/heachi/housework/api/service/housework/info/HouseworkInfoService.java
Outdated
Show resolved
Hide resolved
...-api/src/main/java/com/heachi/housework/api/service/housework/info/HouseworkInfoService.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/heachi/mysql/define/group/member/repository/GroupMemberRepositoryImpl.java
Outdated
Show resolved
Hide resolved
...-api/src/main/java/com/heachi/housework/api/service/housework/info/HouseworkInfoService.java
Outdated
Show resolved
Hide resolved
수정 해놨습니다~ 확인하시면 머지할게요~~ HOUSEWORK_PERIOD_DAY 일때 캐싱 Update 부분은 #70 내용이 아직 존재하지 않아서 머지되면 바로 추가하려고 합니다. 고생하셨습니다~ 😁😁😁😁😁 |
Housework Add API 구현
Housework Add API 테스트
Service Test의 Auth 서버로 외부 요청 보내는 부분 아직 이해 못해서 못했습니다
rebase 잘못해서 첨부터 다시 짰서요;
커밋 로그 더러워진 점 이해 부탁드립니다..