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

Develop server release v 1.1.0 #212

Merged
merged 139 commits into from
Aug 1, 2021
Merged

Develop server release v 1.1.0 #212

merged 139 commits into from
Aug 1, 2021

Conversation

DWL5
Copy link
Collaborator

@DWL5 DWL5 commented Aug 1, 2021

No description provided.

Be-poz and others added 30 commits July 2, 2021 18:17
* server initial commit

* Delete server.md

* feat: 기본 도메인 구현 Member, Donation, Banner (#6)

* feat: 에러 응답 DTO 생성

* feat: 배너 생성, 멤버의 배너 목록 조회 기능 구현

Co-authored-by: Bepoz <45073750+Be-poz@users.noreply.github.com>
* feat: 후원 요청 API 구현

* feat: 후원 요청 API 구현

* feat: 후원 메시지 전송 API 구현

* refactor: 불필요한 코드 삭제

* refactor: 불필요한 임포트 제거

* fix: 매핑 url messages 오타 수정

* refactor: 테스트 접근 제한자 private 적용

* fix : donations RequestMapping 수정

* refactor: @getter 추가 및 테스트 라이브러리 AssertJ로 변경
* Create README.md

* docs: README.md 개발 컨벤션 추가

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* feat: 배너 생성, 멤버의 배너 목록 조회 기능 구현

* [#8] 배너 생성 및 목록 조회 API 구현 (#10)

* server initial commit

* Delete server.md

* feat: 기본 도메인 구현 Member, Donation, Banner (#6)

* feat: 에러 응답 DTO 생성

* feat: 배너 생성, 멤버의 배너 목록 조회 기능 구현

Co-authored-by: Bepoz <45073750+Be-poz@users.noreply.github.com>

* refactor: 리뷰 반영

* Revert "[#8] 배너 생성 및 목록 조회 API 구현 (#10)"

This reverts commit d31ffda.

Co-authored-by: hwano <jho2301@gmail.com>
Co-authored-by: dwl5 <ssop6403@gmail.com>
Co-authored-by: Bepoz <45073750+Be-poz@users.noreply.github.com>
* feat: BaseTimeEntity 추가

* refactor: delete baseTimeEntityTest

* refactor: member repository 중복 제거

Co-authored-by: dwl5 <ssop6403@gmail.com>
- styled components 추가
- eslint 옵션 추가
- tsconfig 옵션 추가
- Button
- OutlineButton

Co-authored-by: Chayan <hchayan196@gmail.com>
DWL5 and others added 27 commits July 30, 2021 00:03
* test: PaymentServiceTest 추가

* feat: 결제 정보 생성 요청 유효성 검증

* test: PaymentController 테스트 추가

* docs: payment api rest docs 추가

* test: 변경된 도네이션 로직 테스트 추가

* docs: 변경된 도네이션 예외사항 추가

* refactor: 프로필 업로드 method put으로 변경

* test: multipart 테스트 요청 메소드 put으로 변경

* refactor: paymentException 예외 결제 모듈 명시

* refactor: test code private 빠진 부분 추가

* refactor: 상수 변수명 대문자로 변경

* refactor: savedPayment 지역변수 제거

* refactor: thenReturn 개행
* feat: MemberResponse 및 CurationResponse profileImage 추가

* refactor: MemberDetailResponse 제거

* refactor: CloudFrontUrlGenerator 제거

* refactor: user profile s3 저장경로 변경
* refactor: PaymentSaveResponse -> PaymentPendingResponse 네이밍 변경, PaymentPendingRequest dto 생성

* feat: Payment 환불 도메인 로직 작성

* feat: Payment 환불 컨트롤러,서비스 로직 작성

* feat: 환불API js코드예시 작성

* refactor: PaymentService#cancelPayment의 불필요한 로직 정리

* refactor: PaymentCancelRequest의 환불금액 필드 제거

* test: Payment 도메인 테스트 작성

* feat: Payment의 id 타입을 UUID로 변경

* feat: Payment 관련 DTO의 merchantUid 타입을 UUID로 변경, 더이상 사용되지 않는 DonationRequest 삭제

* fix: request dto에서 UUID를 받지 못하는 이슈 해결

* fix: PaymentNotFoundException 메시지/에러코드 수정, 사용되지 않는 PaymentRequestException,  PaymentCancelException 삭제

* refactor: IllegalPaymentInfoException 예외메시지 수정

* fix: 환불요청dto 유효성검사 실패시 PaymentCancelRequestException 발생하도록 변경

* test: Payment 컨트롤러 테스트케이스 추가

* refactor: convertToPaymentInfo 수정

* feat: Payment id타입 Long으로 변경, merchantUid UUID타입 컬럼 추가

* style: 리포매팅

* refactor: PaymentRequest -> PaymentCompleteRequest 리네임

* refactor: 사용되지 않는 클래스 제거

* refactor: 환불요청 dto의 merchantUid 타입 UUID로 변경

* feat: Payment의 merchantUid 컬럼 nullable=false 추가

* feat: UUID 커스텀 Validator 생성, DTO의 merchantUid를 String타입으로 변경

* refactor: 스네이크케이스 -> 카멜케이스로 변경

* feat: UUIDValidator null 검증 추가, 테스트작성

Co-authored-by: dwl5 <ssop6403@gmail.com>
* server initial commit

* Delete server.md

* feat: 기본 도메인 구현 Member, Donation, Banner (#6)

* feat: 에러 응답 DTO 생성

* [#7] 후원 요청 및 메시지 전송 API 구현 (#9)

* feat: 후원 요청 API 구현

* feat: 후원 요청 API 구현

* feat: 후원 메시지 전송 API 구현

* refactor: 불필요한 코드 삭제

* refactor: 불필요한 임포트 제거

* fix: 매핑 url messages 오타 수정

* refactor: 테스트 접근 제한자 private 적용

* fix : donations RequestMapping 수정

* refactor: @getter 추가 및 테스트 라이브러리 AssertJ로 변경

* [#12] 배너 생성 및 목록 조회 API 구현 (#12)

* Create README.md

* docs: README.md 개발 컨벤션 추가

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* feat: 배너 생성, 멤버의 배너 목록 조회 기능 구현

* [#8] 배너 생성 및 목록 조회 API 구현 (#10)

* server initial commit

* Delete server.md

* feat: 기본 도메인 구현 Member, Donation, Banner (#6)

* feat: 에러 응답 DTO 생성

* feat: 배너 생성, 멤버의 배너 목록 조회 기능 구현

Co-authored-by: Bepoz <45073750+Be-poz@users.noreply.github.com>

* refactor: 리뷰 반영

* Revert "[#8] 배너 생성 및 목록 조회 API 구현 (#10)"

This reverts commit d31ffda.

Co-authored-by: hwano <jho2301@gmail.com>
Co-authored-by: dwl5 <ssop6403@gmail.com>
Co-authored-by: Bepoz <45073750+Be-poz@users.noreply.github.com>

* [#11] 도메인 createdDate 추가 (#13)

* feat: BaseTimeEntity 추가

* refactor: delete baseTimeEntityTest

* refactor: member repository 중복 제거

Co-authored-by: dwl5 <ssop6403@gmail.com>

* [#15] JWT 토큰 관리와 인터셉터, ArgumentResolver 구현 (#17)

* feat: jwtTokenProvider 생성

* feat: ArguementsResolver, Interceptor 구현 및 Config 추가

* test: AuthenticationService 테스트 작성

* refactor: auth 관련 클래스 패키지 변경

* refactor: throws exception 구문 삭제

* refactor: 토큰 만료시간 테스트 추가 및 패키지 변경

* refactor: Authorization header 못찾을 시 예외 던지게 변경

Co-authored-by: rok93 <goodboy302@naver.com>

* [#16] OAuth2 로그인 및 회원가입 (#18)

* feat: OAuth2 카카오 로그인 구현

* feat: 구글, 카카오 oauth 연동

* feat: 로그인 데이터 properties로 분리

* feat: 회원가입 구현

* fix: oauth 로그인 안되는 현상 수정

* docs: 프로퍼티 파일 gitignore 추가

* remove properties

* refactor: ErrorResponse 생성자 제거

* refactor: oauth 기능 추상화

Co-authored-by: 김주원 <kjw11077@naver.com>

* [#34] OAuth2 로그인,회원가입 JWT 연동 (#36)

* refactor: oauth2 패키지 auth로 병합

* docs: oauth2 파일 gitignore 추가

* refactor: OAuth2 추상화 방식 변경

* refactor: Api 호출 로직 분리

* refactor: 회원가입 준비 api 구현

* refactor: readySignUp 메서드 분리

Co-authored-by: dwl5 <ssop6403@gmail.com>

* [#37] 회원가입(멤버 생성) API (#39)

* refactor: oauth2 패키지 auth로 병합

* docs: oauth2 파일 gitignore 추가

* refactor: OAuth2 추상화 방식 변경

* refactor: Api 호출 로직 분리

* refactor: 회원가입 준비 api 구현

* refactor: readySignUp 메서드 분리

* feat: 회원가입 api 구현

Co-authored-by: dwl5 <ssop6403@gmail.com>

* fix: oauth2 jpa 테이블 명 수정 (#42)

* [#49] 랜딩페이지 주소, 닉네임 유효성 검사, 창작자 정보 요청, 창작자 포인트 조회 API (#53)

* feat: langdingPageUrl 유효성 검사 api 구현

* feat: nickName 유효성 검사 api 구현

* refactor: OAuth -> Oauth 네이밍 변경

* refactor: NickName -> Nickname 네이밍 변경

* refactor: 토큰 claim에 id 추가

* feat: 창작자 소유 포인트 조회 api 구현

* refactor: Donation 엔티티 isPublic 필드추가

* feat: Interceptor 패턴 지정

Co-authored-by: 김주원 <kjw11077@naver.com>

* docs: develop-server backend 크루 이름 추가 (#60)

* docs: backend 기술 스택 추가

* docs: 기술 스택 추가 (jenkins-test)

* docs: 기술 스택 추가 (jenkins-test)

* docs: 기술 스택 추가 (jenkins-test)

* [#54] 현재까지 구현한 API의 테스트 코드를 작성한다 (#61)

* refactor: urlName -> pageName 리네이밍

* refactor: Message VO로 캡슐화

* refactor: API /me 붙이는걸로 변경

* test: Donation 인수테스트, isPublic -> secret 리네임

* test: Banner 인수테스트 작성

* test: Member 인수테스트 작성, DonationServiceTest 오류수정

* test: 예외 테스트

* [#58] 후원 리스트 API 작성 (#65)

* refactor: 수정되지 않은 이전 필드명 수정

* feat: 공개 후원 리스트 조회 api 구현 및 테스트 코드 작성

* feat: donationRepository 메서드 추가 및 테스트

* feat: DonationService 메서드 내부로직 구현

* refactor: DonationController 내부 채우기

* refactor: 수리 코드 리뷰 피드백 반영

* feat: 후원 리스트 조회 인수테스트 생성

* refactor: Secret여부가 true인 후원만 가리게끔 수정

* refactor: service가 아닌 repository를 이용한 멤버 탐색

* refactor: DonationMessageRequest toEntity 메서드 생성

* [#55, #67] 예외 핸들링 구현 및 API 리팩토링 (#71)

* feat: BaseException 및 ControllerAdviceHandler 추가

* feat: /donations api 예외 로직 처리

* refactor: /donations request 필드 변경에 따른 로직 변경

* feat: /donations/{donationId}/messages api 예외 로직 처리

* feat: auth 관련 익셉션 추가

* feat: /banners api 예외 로직 처리

* feat: /members/validate/pageName api 에러 로직 처리

* feat: /members/validate/nickname api 에러 로직 처리

* refactor: @Valid 놓친 부분 달아줌

* refactor: 코드 정리, 간단한 리팩터링

* test: 후원 테스트 추가, 테스트 리팩터링

* feat: 멤버,OAuth2 예외 케이스 핸들링 구현

* refactor: 오타수정,리포맷팅

* feat: 인증 인터셉터 정책 추가

* refactor: @Valid 빠트린 곳 추가

* refactor: 공백한칸추가

* refactor: @ControllerAdvice -> @RestControllerAdvice 변경

* feat: SignUpRequestException 추가

* docs: TODO 추가

* refactor: 커스텀예외클래스의 ERROR_CODE 상수를 public으로 변경

Co-authored-by: Bepoz <45073750+Be-poz@users.noreply.github.com>

* [#63]Prod-Server의 설정파일을 생성 (#72)

* chore: jasypt 의존성 추가

* feat: JasyptConfig 추가

* chore: oauth2 설정파일 gitignore에서 제거

* feat: jasypt secret ket 외부에서 가져오도록 수정

* feat: properties 파일 분리 및 암호화

* refactor: 코드정리

* fix: include property 관련 에러 수정

* chore: mysql 의존성 추가

* refactor: encrytor config 생성 로직 분리

* refactor: @EnableEncryptableProperties 어노테이션 제거

* refactor: jashpyStringEncrytor 이름 정해주는 부분 제거

* feat: application-test 추가

* refactor: jasypt test환경에서 실행하지 않도록 수정

* [#77] 창작자가 자신의 정보를 조회하는 API를 작성한다. (#78)

* feat: 창작자 자신의 정보 조회 API 작성,테스트

* refactor: 오타수정,간단한 리팩터링

* refactor: MemberPrivateResponse -> MemberDetailResponse 리네임

* feat: cors 설정 추가 (#88)

* [#84] 후원금 순 큐레이션 리스트를 보여준다. (#85)

* feat: curation list api 구현

* refactor: CurationsResponse 필드에 pageName 추가

* [#83]로그인/회원 가입 리다이렉트 URL을 분리 (#86)

* feat: Oauth2 login, signup redirect url 분기

* feat: oauth2 요청 정보를 담는 DTO 생성

* feat: Oauth2InfoDto 반영

* refactor: Oauth2Info -> Oauth2Request로 이름 변경

* fix: kakao test secret id 추가

* refactor: login, readySignup 라인 분리

* feat: Dev-Server의 mock data 추가 기능 구현 (#93)

* refactor: memberRepositoryImplTest fix

* feat: 토큰 유효성 검증 API 구현,테스트 (#96)

* [#89]DB 서버 테이블 업데이트 (#100)

* chore: allowPublicKeyRetrieval 속성 추가

* chore: application.yml ddl-auto 속성 제거

* [#107] CORS 에러 수정 (#108)

* fix: intercepter prefilight 설정

* fix: cors addMapping 패턴 수정

* fix: oauth2 property type 대문자로 수정 (#110)

* [#92] repository, service, controller 슬라이싱 테스트 보강 (#101)

* refactor: Member, Point 도메인 테스트 추가

* feat: Domain, Message 도메인 테스트 추가

* feat: MemberServiceTest 작성

* feat: DonationServiceTest 추가 및 List<Donation> 필드 속성 변경

* refactor: MemberRepositoryTest 보완

* refactor: DonationRepositoryTest 변경

* refactor: Banner 패키징 변경

* feat: BannerServiceTest 작성

* refactor: AuthenticationService 슬라이싱 테스트로 변경

* refactor: @EnableJpaAuditing 선언 위치 변경

@WebMvcTest 시에 jpa 생성과 관련된 기능이 들어오지 않는데 main 함수가 속한 클래스 위에 있으면 이 떄문에 테스트 위에 추가적인 어노테이션이 계속해서 붙게된다. reference: https://1-7171771.tistory.com/136?category=981620

* refactor: cors mapping 선언 위치 변경

* feat: MemberController Test 작성

* feat: DonationControllerTest 작성

* feat: BannerControllerTest 작성

* refactor: 인수테스트 깨짐 원인 해결을 위한 디폴트 생성자 추가

* refactor: 에러코드 상수로 호출

Co-authored-by: Gyeonglok Kim <goodboy302@naver.com>

* refactor: 접근 제어자 빠진것 붙여주기

Co-authored-by: Gyeonglok Kim <goodboy302@naver.com>

* refactor: 에러코드 상수호출로 변경

* refactor: 정상적인 interceptor&resolver 모킹작업 메서드 분리

* refactor: conflict 처리

Co-authored-by: Gyeonglok Kim <goodboy302@naver.com>
Co-authored-by: dwl5 <ssop6403@gmail.com>

* [#111] 후원 기록(전체 후원 리스트, 공개 후원 리스트)에 createdDate 정보 추가 (#112)

* refactor: 중복되는 cors 설정 제거

* fix: 통과하지 못하는 테스트 코드 수정 및 불필요한 import 제거

* feat: 후원 기록에 createdAt data 추가

후원 기록(전체 후원 리스트, 공개 후원 리스트)에 '생성일자' 정보를 추가한다.

* [#115]Logging 추가 (#116)

* chore: logback-slack 의존성 추가

* chore: logback 설정 추가

* feat: logging 적용 및 미정의 에러 처리 추가

* [#113] /members/validate/token 컨트롤러 테스트 코드 추가 및 repositoryTest @import 추가 (#119)

* refactor: import annotation added

* feat: TokenValidation Test 추가

* refactor: signup Redirect URL 변경 (#121)

* [#124]oauth2.0 리다이렉트 URL 추가  (#125)

* feat: prod 로그인 관련 리다이렉트 URL 추가

* feat: prod 회원 가입 관련 리다이렉트 URL 수정

* Delete index.html

* [#120, #128] Rest Docs 연동 및 후원자 이름 기본값 변경 (#126)

* refactor: RestDocs 설정 추가

* refactor: MemberControllerTest restDocs 코드 추가

* refactor: BannerControllerTest restDocs 코드 추가

* refactor: DonationControllerTest restDocs 코드 추가

* docs: index.adoc 생성

* refactor: enum toUpperCase 추가

* refactor: 테스트용 html 파일 삭제

* refactor: asciidoctor 버전 변경

* refactor: gradle 및 부트 버전 다운그레이드

* refactor: 후원 이름 default,secret name 변경

* refactor: restDocs를 위한 gradle 설정 변경

* refactor: logback console 나오도록 수정

Co-authored-by: dwl5 <ssop6403@gmail.com>

* chore: dev-server의 ddl-auto 설정을 update로 변경 (#138)

dev-server가 매번 배포될 때마다 데이터가 초기화되지 않도록 설정

* refactor: if문 하나 걸어줌 (#139)

* docs: update README.md

* feat: 프론트 배포 CORS 설정 (#142)

* feat: submodule added (#152)

* Delete application-oauth2-dev.yml

* feat: yamlController (#153)

* [#151] GitSubmodule 도입 (#154)

* refactor: jasypt 관련 삭제

* refactor: 암호화된 yml필드 삭제

* Update securityKey

* refactor: gradle copySecret task 변경

* feat: S3 연결

* 프로필 이미지 등록, 수정, 삭제 api 구현 (#157)

* refactor: S3 관련 클래스 패키지 구조 변경

* feat: profile 관련 Controller 메서드 및 Service 메서드 작성

* feat: CloudFronUrlGenerator 구현

* feat: S3 upload 코드 구현

* feat: profile image 삭제 기능 구현

* test: CloudFrontUrlGenerator 테스트 추가

* test: Upload ProfileImage Repository test 추가

* test: Upload ProfileImage Service test 추가

* feat: s3 스토리지에서 파일을 찾을 수 없는 예외 추가

* test: Upload ProfileImage Controller test 추가

Co-authored-by: Bepoz <45073750+Be-poz@users.noreply.github.com>

* feat: image profile upload/delete 기능 구현 (#158)

* feat: s3 파일 확장자 추가

* feat: S3 file not found exception 메시지 추가

* fix: db에 profile filename 만 저장하도록 수정

* test: upload profile 테스트 제거

* fix: if문 return 반영

* refactor: h2 console on

* refactor: web-allow-others 속성 변경

* refactor: 메세지 비공개 프로세스 변경 (#161)

* feat: s3 not found 케이스 테스트 추가 (#163)

* [#162]프로필 이미지 Api RestDocs 반영 (#167)

* feat: restdocs index.html config 추가

* feat: profile api restdocs 반영

* test: 테스트 코드 정리

* refactor: s3 파일 저장 경로 변경 (#169)

* refactor: 유효성 검사 변경 (#184)

* refactor: test fixed

* [#164]아임포트 결제 도메인, API 작성 (#188)

* feat: 아임포트 API 작성 중간커밋

* feat: 주문번호 생성하기 기능, 아엠포트 서버 액세스 토큰 발급 기능 및 결제정보 조회 기능

* refactor: Donation request 필드 변경

creator의 식별자 변경 (nickName -> pageName)

* feat: 결제 플로우 구현

* test: 결제 플로우 구현에 따른 테스트 변경

* refactor: dataloader payment 에러 수정

* test: DonationRepositoryTest 깨짐 수정

* feat: PaymentRequest 유효성 추가

* refactor: 결제 로직 리팩토링 (iamport 결제로직 분리)

* test: payment 도메인 테스트 추가

* refactor: IamPortPaymentServiceConnector @component추가

* refactor: donation service, acceptance 테스트 수정

* refactor: jwtTokenProviderTest ActiveProfile 설정 추가

* refactor: DataLoader dev만 적용되도록 수정

* refactor: 후원금액 총 합 payment의 값으로 더 해주도록 수정

* refactor: CloudFrontUrlGenerator ActiveProfile추가

* refactor: DonationService Payment Mock 추가

* refactor: 불필요한 import 삭제

* refactor: request url changed

* refactor: yml 파일 iamport 설정 추가 및 DonationService 이전으로 변경

* test: donation 인수테스트 disable 처리

* refactor: 간단한 리팩터링

* test: DonationControllerTest 테스트케이스 수정

* refactor: 도네이션 entity save로 리턴된 값 사용

* feat: Payment 예외 처리 추가

* refactor: PaymentInfo 변수 명 수정

* refactor: payment 정보 유효성 검사 메소드 분리

* refactor: paymentComplete 메소드 제거

* refactor: iamport DTO tostring 제거

* refactor: index.html 변경 사항 반영

Co-authored-by: 김주원 <kjw11077@naver.com>
Co-authored-by: rok93 <goodboy302@naver.com>
Co-authored-by: Bepoz <45073750+Be-poz@users.noreply.github.com>

* refactor: test

* Update TyfServerApplication.java

* fix: 젠킨스 테스트

* Update TyfServerApplication.java

* Update TyfServerApplication.java

* Update TyfServerApplication.java (#192)

* Update TyfServerApplication.java (#194)

* Update TyfServerApplication.java

* [#191] 자기소개, 닉네임 변경 API 작성  (#197)

* feat: 자기소개(BIO) update API

* style: 불필요한 todo 주석 제거

* feat: 닉네임(NickName) update API

* refactor: 개행 형식 통일되도록 변경

* refactor: Nickname 변경 요청 DTO 수정

* refactor: 예외 error message 수정

* refactor: NickName이라고 표기법이 잘못된 표기 Nickname으로 변경

* test: 예외 테스트 케이스 추가

* test: 예외 테스트에 대한 errorCode 검증 테스트 추가

* refactor: @nullsource, @EmptySource 따로 사용하는 애너테이션 @NullAndEmptySource로 변경

* [#189]Payment 서비스, 컨트롤러 슬라이싱 테스트 (#196)

* test: PaymentServiceTest 추가

* feat: 결제 정보 생성 요청 유효성 검증

* test: PaymentController 테스트 추가

* docs: payment api rest docs 추가

* test: 변경된 도네이션 로직 테스트 추가

* docs: 변경된 도네이션 예외사항 추가

* refactor: 프로필 업로드 method put으로 변경

* test: multipart 테스트 요청 메소드 put으로 변경

* refactor: paymentException 예외 결제 모듈 명시

* refactor: test code private 빠진 부분 추가

* refactor: 상수 변수명 대문자로 변경

* refactor: savedPayment 지역변수 제거

* refactor: thenReturn 개행

* fix: profile CORS 에러 multipart resolver 추가

* fix: profile CORS 에러 의존성 추가

* refactor: getCurationsMember 5 To 10 (#202)

* [#203]멤버 API 프로필 이미지 추가 (#204)

* feat: MemberResponse 및 CurationResponse profileImage 추가

* refactor: MemberDetailResponse 제거

* refactor: CloudFrontUrlGenerator 제거

* refactor: user profile s3 저장경로 변경

* fix: S3Connector 이슈 수정

* refactor: include aws profile

* fix: s3 경로 이슈 수정

* [#199, #198] 환불 API 작성, Payment의 Id 타입을 UUID로 변경 (#200)

* refactor: PaymentSaveResponse -> PaymentPendingResponse 네이밍 변경, PaymentPendingRequest dto 생성

* feat: Payment 환불 도메인 로직 작성

* feat: Payment 환불 컨트롤러,서비스 로직 작성

* feat: 환불API js코드예시 작성

* refactor: PaymentService#cancelPayment의 불필요한 로직 정리

* refactor: PaymentCancelRequest의 환불금액 필드 제거

* test: Payment 도메인 테스트 작성

* feat: Payment의 id 타입을 UUID로 변경

* feat: Payment 관련 DTO의 merchantUid 타입을 UUID로 변경, 더이상 사용되지 않는 DonationRequest 삭제

* fix: request dto에서 UUID를 받지 못하는 이슈 해결

* fix: PaymentNotFoundException 메시지/에러코드 수정, 사용되지 않는 PaymentRequestException,  PaymentCancelException 삭제

* refactor: IllegalPaymentInfoException 예외메시지 수정

* fix: 환불요청dto 유효성검사 실패시 PaymentCancelRequestException 발생하도록 변경

* test: Payment 컨트롤러 테스트케이스 추가

* refactor: convertToPaymentInfo 수정

* feat: Payment id타입 Long으로 변경, merchantUid UUID타입 컬럼 추가

* style: 리포매팅

* refactor: PaymentRequest -> PaymentCompleteRequest 리네임

* refactor: 사용되지 않는 클래스 제거

* refactor: 환불요청 dto의 merchantUid 타입 UUID로 변경

* feat: Payment의 merchantUid 컬럼 nullable=false 추가

* feat: UUID 커스텀 Validator 생성, DTO의 merchantUid를 String타입으로 변경

* refactor: 스네이크케이스 -> 카멜케이스로 변경

* feat: UUIDValidator null 검증 추가, 테스트작성

Co-authored-by: dwl5 <ssop6403@gmail.com>

* feat: member response에 bio 추가 (#208)

* fix: merchantId를 return 하게끔, 프로필 이미지 blank 체크하게끔

* refactor: UUID 생성 작업을 생성자로 넣음

* refactor: return 코드 변경

* refactor: cloudFront fileName splited

* refactor: cloudfront url 파싱

* refactor: cloud front url detached 메서드 분리

* feat: 운영에서 update 안되는 이슈로 인해 application-dev.yml 수정

* refactor: ddl-auto create mode

* refactor: 필드값 response에 맞게끔 변경

* refactor: ddl-auto 속성 변경

* feat: 후원 금액 validation 추가

Co-authored-by: Bepoz <45073750+Be-poz@users.noreply.github.com>
Co-authored-by: 김주원 <kjw11077@naver.com>
Co-authored-by: hwano <jho2301@gmail.com>
Co-authored-by: rok93 <goodboy302@naver.com>
@Be-poz Be-poz added the server 백엔드 관련 이슈 label Aug 1, 2021
@Be-poz Be-poz added this to the TYF-SPRINT3 milestone Aug 1, 2021
@DWL5 DWL5 merged commit 42061dd into release Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server 백엔드 관련 이슈
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants