Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Shop의 Mybatis -> JPA 리팩토링 #93

Closed
soongjamm opened this issue Jul 18, 2021 · 0 comments
Closed

Shop의 Mybatis -> JPA 리팩토링 #93

soongjamm opened this issue Jul 18, 2021 · 0 comments
Assignees
Projects

Comments

@soongjamm
Copy link
Collaborator

가게 관련된 부분에 JPA를 적용하기 위해 필요

@soongjamm soongjamm added this to To do in delivery Jul 22, 2021
@soongjamm soongjamm self-assigned this Jul 22, 2021
@soongjamm soongjamm moved this from To do to In progress in delivery Jul 30, 2021
soongjamm added a commit that referenced this issue Aug 4, 2021
soongjamm added a commit that referenced this issue Aug 7, 2021
* refactor: ShopCategoy 엔티티 추가 및 Category를 JPA로

* fix controller PathVariable error

* ShopCategoryRepository moved into domain package

* fix query typo

* jmeter script

* #96 jmeter script (#109)

* jmeter script

* util: jib 설정 추가, redis 설정 수정, docker-compose 수정 등

* util: jib 설정 추가, redis 설정 수정, docker-compose 수정 등 (#110)

* import 한줄 제거
soongjamm added a commit that referenced this issue Aug 7, 2021
* root package bluedelivery로 변경

* common.authentication 패키지 정리

* user package

* api-application-domain-infra

* config -> common.config

* PasswordValidator를 controller와 같은 패키지로 이동

* test package

* (AddressService) application -> domain 으로 이동

* category package

* shop package

* businesshour package

* closingday package

* menu 패키지 정리

* api(menu) 패키지 분할

* category adapter package

* #101 @AuthenticationRequired + ArgumentResolver 이면 redis를 2번 조회하는 문제 (#102)

* fix: 한 요청내에서 @AuthenticationRequired로 인증객체를 한번 조회하면 ThreadLocal에 저장하여 재사용

* ThreadLocal을 검사하도록 수정

* refactor: business hour

* refactor: BusinessHour를 값 타입으로 변경

* (shop): mybatis mapper 제거

* #93 카테고리 mybatis -> jpa (#108)

* refactor: ShopCategoy 엔티티 추가 및 Category를 JPA로

* fix controller PathVariable error

* ShopCategoryRepository moved into domain package

* fix query typo

* jmeter script

* #96 jmeter script (#109)

* jmeter script

* util: jib 설정 추가, redis 설정 수정, docker-compose 수정 등

* util: jib 설정 추가, redis 설정 수정, docker-compose 수정 등 (#110)

* import 한줄 제거

Co-authored-by: lyh7712 <mmj2rv9@kakao.com>
soongjamm added a commit that referenced this issue Aug 13, 2021
* feat: 기본적인 주문 예외 발생 상황

* test: 예외 케이스 추가

* refactor: OrderTest

* fix: MenuRepository JPA 상속 제거(아직 Menu Entity 사용 불가능)

* #76 #93 영업시간 구현 수정, jpa 적용 (#106)

* root package bluedelivery로 변경

* common.authentication 패키지 정리

* user package

* api-application-domain-infra

* config -> common.config

* PasswordValidator를 controller와 같은 패키지로 이동

* test package

* (AddressService) application -> domain 으로 이동

* category package

* shop package

* businesshour package

* closingday package

* menu 패키지 정리

* api(menu) 패키지 분할

* category adapter package

* #101 @AuthenticationRequired + ArgumentResolver 이면 redis를 2번 조회하는 문제 (#102)

* fix: 한 요청내에서 @AuthenticationRequired로 인증객체를 한번 조회하면 ThreadLocal에 저장하여 재사용

* ThreadLocal을 검사하도록 수정

* refactor: business hour

* refactor: BusinessHour를 값 타입으로 변경

* (shop): mybatis mapper 제거

* #93 카테고리 mybatis -> jpa (#108)

* refactor: ShopCategoy 엔티티 추가 및 Category를 JPA로

* fix controller PathVariable error

* ShopCategoryRepository moved into domain package

* fix query typo

* jmeter script

* #96 jmeter script (#109)

* jmeter script

* util: jib 설정 추가, redis 설정 수정, docker-compose 수정 등

* util: jib 설정 추가, redis 설정 수정, docker-compose 수정 등 (#110)

* import 한줄 제거

Co-authored-by: lyh7712 <mmj2rv9@kakao.com>

* test: User가 없는 케이스 추가

refactor: Order 유효성 검사 Validator로 분리

validator 완료

* feat: Order의 Option 추가, Validator 추가

* feat: 주문총액 계산

* #107 장바구니 ArgumentResolver, 주문하기 컨트롤러 (#112)

* test: User가 없는 케이스 추가

* feat: 컨트롤러에서 장바구니 정보를 파라미터로 받아온다.

* chore: validation 수정, 테스트 수정 등

* Cart를 RequestBody로 받음. Cart 옵션 관련 클래스들 추가

* #85 배달 가능 지역 업데이트 API (#114)

* feat: 배달가능지역 업데이트 기능

* refactor: 읍면동 조회 address mapper로 추상화

Co-authored-by: lyh7712 <mmj2rv9@kakao.com>
soongjamm added a commit that referenced this issue Aug 13, 2021
* root package bluedelivery로 변경

* common.authentication 패키지 정리

* user package

* api-application-domain-infra

* config -> common.config

* PasswordValidator를 controller와 같은 패키지로 이동

* test package

* (AddressService) application -> domain 으로 이동

* category package

* shop package

* businesshour package

* closingday package

* menu 패키지 정리

* api(menu) 패키지 분할

* category adapter package

* #101 @AuthenticationRequired + ArgumentResolver 이면 redis를 2번 조회하는 문제 (#102)

* fix: 한 요청내에서 @AuthenticationRequired로 인증객체를 한번 조회하면 ThreadLocal에 저장하여 재사용

* ThreadLocal을 검사하도록 수정

* refactor: business hour

* refactor: ShopCategoy 엔티티 추가 및 Category를 JPA로

* fix controller PathVariable error

* ShopCategoryRepository moved into domain package

* fix query typo

* jmeter script

* refactor: BusinessHour를 값 타입으로 변경

* (shop): mybatis mapper 제거

* #96 jmeter script (#109)

* jmeter script

* util: jib 설정 추가, redis 설정 수정, docker-compose 수정 등

* util: jib 설정 추가, redis 설정 수정, docker-compose 수정 등 (#110)

* import 한줄 제거

* #107 주문 도메인 예외처리 (#111)

* feat: 기본적인 주문 예외 발생 상황

* test: 예외 케이스 추가

* refactor: OrderTest

* fix: MenuRepository JPA 상속 제거(아직 Menu Entity 사용 불가능)

* #76 #93 영업시간 구현 수정, jpa 적용 (#106)

* root package bluedelivery로 변경

* common.authentication 패키지 정리

* user package

* api-application-domain-infra

* config -> common.config

* PasswordValidator를 controller와 같은 패키지로 이동

* test package

* (AddressService) application -> domain 으로 이동

* category package

* shop package

* businesshour package

* closingday package

* menu 패키지 정리

* api(menu) 패키지 분할

* category adapter package

* #101 @AuthenticationRequired + ArgumentResolver 이면 redis를 2번 조회하는 문제 (#102)

* fix: 한 요청내에서 @AuthenticationRequired로 인증객체를 한번 조회하면 ThreadLocal에 저장하여 재사용

* ThreadLocal을 검사하도록 수정

* refactor: business hour

* refactor: BusinessHour를 값 타입으로 변경

* (shop): mybatis mapper 제거

* #93 카테고리 mybatis -> jpa (#108)

* refactor: ShopCategoy 엔티티 추가 및 Category를 JPA로

* fix controller PathVariable error

* ShopCategoryRepository moved into domain package

* fix query typo

* jmeter script

* #96 jmeter script (#109)

* jmeter script

* util: jib 설정 추가, redis 설정 수정, docker-compose 수정 등

* util: jib 설정 추가, redis 설정 수정, docker-compose 수정 등 (#110)

* import 한줄 제거

Co-authored-by: lyh7712 <mmj2rv9@kakao.com>

* test: User가 없는 케이스 추가

refactor: Order 유효성 검사 Validator로 분리

validator 완료

* feat: Order의 Option 추가, Validator 추가

* feat: 주문총액 계산

* #107 장바구니 ArgumentResolver, 주문하기 컨트롤러 (#112)

* test: User가 없는 케이스 추가

* feat: 컨트롤러에서 장바구니 정보를 파라미터로 받아온다.

* chore: validation 수정, 테스트 수정 등

* Cart를 RequestBody로 받음. Cart 옵션 관련 클래스들 추가

* #85 배달 가능 지역 업데이트 API (#114)

* feat: 배달가능지역 업데이트 기능

* refactor: 읍면동 조회 address mapper로 추상화

Co-authored-by: lyh7712 <mmj2rv9@kakao.com>

Co-authored-by: lyh7712 <mmj2rv9@kakao.com>
soongjamm added a commit that referenced this issue Aug 18, 2021
* ClosingPolicy -> JPA로 수정

squash! ClosingPolicy -> JPA로 수정

* Suspension -> ClosingPolicy로, 기타 에러 수정

* businessHour 가독성이 떨어지는 부분 수정
@soongjamm soongjamm moved this from In progress to Done in delivery Aug 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

No branches or pull requests

1 participant