-
Notifications
You must be signed in to change notification settings - Fork 100
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
Deploy #3
Closed
Closed
Deploy #3
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
seokjin8678
added a commit
to seokjin8678/jwp-shopping-order
that referenced
this pull request
Jun 2, 2023
include42
pushed a commit
that referenced
this pull request
Jun 5, 2023
* feat: cors 설정 * build: 상품 더미 데이터 추가 * build: utf 8 설정 * build: Spring REST Docs 모듈 추가 (#1) * feat: 관리자용 장바구니 관리 페이지 추가 (#2) * test: REST Docs Helper 클래스 추가 * build: asciidoctor 누락 설정 추가 * docs: 장바구니 담기 API docs 작성 * docs: doctype 추가 * feat: 상품 API 문서 추가 (#3) * chore: 벨리곰 이미지 URL 수정 (#5) * 응답에 message 추가, 결과 값 result로 포장 (#6) * test: null 값 수정 * feat: Response 클래스 추가 * feat: CartItemApiController 반환 타입 Response 변경 * feat: ProductApiController 반환 타입 Response 변경 * fix: Response 응답 추가에 따른 테스트 코드 수정 * refactor: 불필요한 생성자 제거 및 빌더 패턴 적용 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * docs: 기능 목록 작성 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 주문과 관련된 기본 도메인 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 금액 검증 기능 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 포인트 객체 생성 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 수량 검증 기능 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: 주문 상품 가격 필드 제거 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * test: 주문 상품 기능 테스트 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: 가격 필드 타입 변경 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * test: 상품 생성 테스트 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 회원 도메인에 포인트 필드 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 주문 도메인 비즈니스 로직 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: 주문 상품 도메인에 가격 필드 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: 생성자 파라미터 원시값 받도록 변경 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: OrderDao 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: OrderItemDao 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: 포인트 파라미터 값 타입으로 변경 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: OrderRepository 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: MemberDao 메서드 명 변경 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * build: orders, order_item 테이블 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: DAO 메소드 명 수정 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: DAO 조회 반환 타입 Optional로 변경, 코드 리팩터링 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * build: Spring Validation 의존성 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: PointService 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 회원의 포인트를 조회하는 기능 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 주문 기능 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: OrderController 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * chore: 코드 서식 정리 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 주문 생성 검증 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * fix: 회원 업데이트 시 포인트도 업데이트 되도록 수정 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * test: OrderService 테스트 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * test: 테스트 코드 수정 - 사용하지 않는 필드 제거 - Transactional 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * build: MySQL 의존성 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * build: local, production 환경 분리 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * fix: RowMapper, SQL문 수정 (#7) * 예외 및 검증 기능 추가 (#8) * feat: 예외 클래스 추가 * style: 코드 서식 수정 * fix: 예외 로그 수정 * feat: 주문 검증 로직 추가 - 주문 상품이 없으면 예외 발생 * feat: 주문 조회 시 응답 필드 추가 - 대표 상품 이름, 주문 상품 갯수 * chore: dto 패키지 분리 * feat: Request Validation 추가 * test: Request 검증 테스트 추가 * 코드 서식 수정, 상품 생성, 수정 테스트 코드 추가 (#9) * style: 코드 서식 수정 * refactor: TODO 제거 * test: 상품 생성, 수정 테스트 코드 추가 * docs: 기능 목록 업데이트 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: 사용하지 않는 클래스 제거 * refactor: 포인트 배율 상수로 추출 * refactor: PointService 제거, OrderService로 책임 분리 * test: 테스트 코드 DisplayName 수정 * refactor: 인증 처리 로직 리팩터링 * refactor: Dao 메소드 명 수정 * refactor: 패키지 구조 세분화 * feat: PointPolicy 추가 * refactor: 구현체 클래스 infrastructure 패키지로 이동 * refactor: 테스트용 AdminController 삭제 * build: Swagger 의존성 추가 * feat: Swagger 적용 * refactor: PathVariable 명확하게 변경 * test: FixedAmountPointPolicy 테스트 코드 추가 * refactor: AuthInterceptor 스프링 빈 등록 제외, WebMvcConfig에서 AuthProvider 주입 받도록 변경 --------- Co-authored-by: DongUk <68818952+Kim0914@users.noreply.github.com>
Laterality
pushed a commit
that referenced
this pull request
Jun 8, 2023
* feat: cors 설정 * build: 상품 더미 데이터 추가 * build: utf 8 설정 * build: Spring REST Docs 모듈 추가 (#1) * feat: 관리자용 장바구니 관리 페이지 추가 (#2) * test: REST Docs Helper 클래스 추가 * build: asciidoctor 누락 설정 추가 * docs: 장바구니 담기 API docs 작성 * docs: doctype 추가 * feat: 상품 API 문서 추가 (#3) * chore: 벨리곰 이미지 URL 수정 (#5) * 응답에 message 추가, 결과 값 result로 포장 (#6) * test: null 값 수정 * feat: Response 클래스 추가 * feat: CartItemApiController 반환 타입 Response 변경 * feat: ProductApiController 반환 타입 Response 변경 * fix: Response 응답 추가에 따른 테스트 코드 수정 * refactor: 불필요한 생성자 제거 및 빌더 패턴 적용 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * docs: 기능 목록 작성 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 주문과 관련된 기본 도메인 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 금액 검증 기능 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 포인트 객체 생성 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 수량 검증 기능 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: 주문 상품 가격 필드 제거 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * test: 주문 상품 기능 테스트 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: 가격 필드 타입 변경 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * test: 상품 생성 테스트 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 회원 도메인에 포인트 필드 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 주문 도메인 비즈니스 로직 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: 주문 상품 도메인에 가격 필드 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: 생성자 파라미터 원시값 받도록 변경 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: OrderDao 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: OrderItemDao 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: 포인트 파라미터 값 타입으로 변경 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: OrderRepository 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: MemberDao 메서드 명 변경 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * build: orders, order_item 테이블 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: DAO 메소드 명 수정 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: DAO 조회 반환 타입 Optional로 변경, 코드 리팩터링 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * build: Spring Validation 의존성 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: PointService 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 회원의 포인트를 조회하는 기능 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 주문 기능 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: OrderController 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * chore: 코드 서식 정리 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * feat: 주문 생성 검증 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * fix: 회원 업데이트 시 포인트도 업데이트 되도록 수정 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * test: OrderService 테스트 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * test: 테스트 코드 수정 - 사용하지 않는 필드 제거 - Transactional 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * build: MySQL 의존성 추가 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * build: local, production 환경 분리 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * fix: RowMapper, SQL문 수정 (#7) * 예외 및 검증 기능 추가 (#8) * feat: 예외 클래스 추가 * style: 코드 서식 수정 * fix: 예외 로그 수정 * feat: 주문 검증 로직 추가 - 주문 상품이 없으면 예외 발생 * feat: 주문 조회 시 응답 필드 추가 - 대표 상품 이름, 주문 상품 갯수 * chore: dto 패키지 분리 * feat: Request Validation 추가 * test: Request 검증 테스트 추가 * 코드 서식 수정, 상품 생성, 수정 테스트 코드 추가 (#9) * style: 코드 서식 수정 * refactor: TODO 제거 * test: 상품 생성, 수정 테스트 코드 추가 * docs: 기능 목록 업데이트 Co-authored-by: seokjin8678 <seokjin8678@gmail.com> * refactor: OrderItem builder 패턴 적용 * refactor: Order builder 패턴 적용 * refactor: Member builder 패턴 적용 * refactor: Member builder 패턴 적용 * fix: LocalDateTime 테스트 확인 메서드 변경 * refactor: Request 클래스 명 변경 * refactor: 사용하지 않는 어노테이션 삭제, 클래스 명 변경 * feat: 장바구니를 찾을 수 없는 경우 예외 상황 핸들링 추가 * refactor: API 응답 클래스 명 변경 * refactor: 포인트 사용 시 잔여 포인트 확인 메서드 회원 클래스로 이동 * refactor: Member, CartItem 클래스 빌더 제거 * refactor: Order, OrderItem, Product 클래스 빌더 제거 * refactor: 컨트롤러 반환 타입 구체적으로 명시 * refactor: 테스트 메서드 명 및 Location 검증 추가 * refactor: DB에서 ID 가져올 시 Long 타입으로 가져오도록 변경 --------- Co-authored-by: seokjin8678 <seokjin8678@gmail.com>
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.
No description provided.