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

[realease] 1.1.0 버전 백엔드 배포 #419

Merged
merged 170 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
ac82c1c
[refactor] MemberRepository Id로 회원 조회 수정 (#224)
Combi153 Aug 12, 2023
5a3b052
[refactor] TripRepository Id로 여행 조회 수정 (#224)
Combi153 Aug 12, 2023
90ac3e6
[refactor] PostRepository Id로 감상 조회 수정 (#224)
Combi153 Aug 12, 2023
92df748
[chore] github action 설정 변경 (#323)
Combi153 Aug 17, 2023
f114ad7
Merge pull request #324 from woowacourse-teams/chore/#323
Combi153 Aug 17, 2023
ba59ede
[chore] CD 설정 수정 (#325)
greeng00se Aug 17, 2023
fd0b6ac
Merge pull request #326 from woowacourse-teams/feature/#325
greeng00se Aug 17, 2023
e5f8bff
[chome] CD yml파일 수정
greeng00se Aug 17, 2023
3761f87
[chore] 배포 스크립트 수정(#325)
greeng00se Aug 17, 2023
9daed87
[chore] conflict 해결 (#224)
Combi153 Aug 31, 2023
7684a9e
[chore] conflict 해결 (#224)
Combi153 Aug 12, 2023
88447c8
[chore] conflict 해결 (#224)
Combi153 Aug 12, 2023
91ae22c
Merge remote-tracking branch 'origin/refactor/#224' into refactor/#224
Combi153 Aug 31, 2023
941e922
Merge pull request #290 from woowacourse-teams/refactor/#224
Combi153 Aug 31, 2023
5dd7d29
[refactor] trip 패키지 구조 변경 (#223)
greeng00se Aug 31, 2023
8ebc89e
[refactor] member 패키지 구조 변경 (#223)
greeng00se Aug 31, 2023
7e8a1e1
[refactor] draw 패키지 구조 변경 (#223)
greeng00se Aug 31, 2023
dbe6c9d
[refactor] post 패키지 구조 변경 (#223)
greeng00se Aug 31, 2023
40ec6d4
[refactor] auth 패키지 구조 변경 (#223)
greeng00se Aug 31, 2023
b340926
[refactor] file 패키지 구조 변경 (#223)
greeng00se Aug 31, 2023
930ad24
[refactor] common 패키지 구조 변경 (#223)
greeng00se Aug 31, 2023
a5eece8
Merge pull request #333 from woowacourse-teams/refactor/#223
Combi153 Sep 1, 2023
d0051e6
[feat] PointRepository 추가 (#276)
Combi153 Sep 1, 2023
a058925
[refactor] @NonNull 어노테이션 삭제 (#276)
Combi153 Sep 1, 2023
0733103
[style] 코드 스타일 변경 (#276)
Combi153 Sep 1, 2023
68759a5
[refactor] Point, Trip 다대일 양방향 매핑 (#276)
Combi153 Sep 1, 2023
79bda06
[style] 코드 스타일 변경 (#276)
Combi153 Sep 1, 2023
49acf10
[refactor] Point hard delete로 변경 (#276)
Combi153 Sep 1, 2023
54c2c76
[style] static import 적용 (#276)
Combi153 Sep 1, 2023
4b5fa6c
[refactor] 메서드 로직 수정 (#276)
Combi153 Sep 1, 2023
996d643
[style] static import 변경, 개행 삭제 (#276)
Combi153 Sep 1, 2023
19247b4
Merge pull request #334 from woowacourse-teams/refactor/#276
Combi153 Sep 1, 2023
2361b36
[refactor] JwtTokenProvider 중복 제거 (#337)
greeng00se Sep 3, 2023
757335e
[feat] configuration processor 설정 추가 (#337)
greeng00se Sep 3, 2023
aa5674d
[feat] refresh 토큰 설정 추가 (#337)
greeng00se Sep 3, 2023
63d180a
[refactor] JwtTokenProvider 중복 제거 (#337)
greeng00se Sep 3, 2023
bec4b9c
[refactor] JwtTokenProvider 중복 제거 (#337)
greeng00se Sep 3, 2023
ec614a0
[feat] RefreshToken 생성 메서드 추가 (#337)
greeng00se Sep 3, 2023
2a2c17a
[feat] RefreshTokenRepository 추가 (#337)
greeng00se Sep 3, 2023
3993b5c
[feat] refreshToken 생성 및 반환 로직 추가 (#337)
greeng00se Sep 3, 2023
3f230da
[feat] refreshToken 재발급 api, service 메서드 추가 (#337)
greeng00se Sep 3, 2023
e51e468
[refactor] JwtTokenProvider 중복 제거 (#337)
greeng00se Sep 3, 2023
e701692
[fix] rebase 못한 부분 수정 (#337)
greeng00se Sep 3, 2023
60c1dfc
[refactor] JwtTokenProvider 키 생성 로직 중복 제거 (#337)
greeng00se Sep 4, 2023
4702022
[refactor] memberId 변수 추출 (#337)
greeng00se Sep 4, 2023
b566326
[refactor] 만료된 인증 토큰 -> 만료된 엑세스 토큰으로 예외 message 수정 (#337)
greeng00se Sep 4, 2023
e05a173
Merge pull request #339 from woowacourse-teams/feature/#337
greeng00se Sep 5, 2023
c5bc8a3
[refactor] post 패키지에서 fileType에 대한 의존 제거 (#341)
greeng00se Sep 7, 2023
229feb4
[refactor] 이미지를 저장하는 경우 대표 이미지도 변경하는 기능 추가 (#341)
greeng00se Sep 7, 2023
ae223b3
[refactor] 기존 정렬 로직으로 수정 (#341)
greeng00se Sep 7, 2023
a5550c4
[test] FileUploadTest 오타 수정 (#341)
greeng00se Sep 7, 2023
91a4030
Merge pull request #342 from woowacourse-teams/feature/#341
greeng00se Sep 7, 2023
aa5518e
[fix] dto의 image null인 경우 빈 문자열을 반환하도록 수정 (#343)
greeng00se Sep 8, 2023
0e9d8df
[test] isNull로 확인하는 부분 수정 (#343)
greeng00se Sep 8, 2023
81c10de
Merge pull request #344 from woowacourse-teams/fix/#343
greeng00se Sep 8, 2023
65bc548
[chore] dev cd 스크립트 수정
greeng00se Sep 8, 2023
e4354dd
Merge pull request #345 from woowacourse-teams/chore/dev-cd
greeng00se Sep 8, 2023
8b8f4e6
[refactor] OAuth API 호출에 해당하는 부분을 트랜잭션에서 제외 (#349)
greeng00se Sep 13, 2023
9e28c29
[feat] Member 삭제 Event 구현 (#346)
Combi153 Sep 14, 2023
36bdcd8
[build] Querydsl 의존성 및 설정 추가 (#361)
Combi153 Sep 14, 2023
8684f80
[feat] refreshToken 생성자 추가 (#349)
greeng00se Sep 14, 2023
65fd9e9
[refactor] Api 요청 OAuthService로 분리 (#349)
greeng00se Sep 14, 2023
c6b2f6f
[refactor] AuthService 분리 (#349)
greeng00se Sep 14, 2023
a2fb27a
[refactor] Token 생성 서비스 분리 (#349)
greeng00se Sep 16, 2023
c24a97e
[refactor] transactionTemplate 사용하여 AuthService와 TokenGenerateService…
greeng00se Sep 16, 2023
7f4005a
[build] Querydsl 관련 설정 변경 (#361)
Combi153 Sep 16, 2023
3016f43
[feat] TripRepository 동적 쿼리로 조회 기능 추가 (#361)
Combi153 Sep 16, 2023
316f578
[feat] 감상이 있는 여행 조회 API 추가 (#361)
Combi153 Sep 16, 2023
b164083
feat: 감상을 조건별로 검색하는 기능 구현
Jaeyoung22 Sep 15, 2023
b6fb777
refactor: 쓰이지 않는 어노테이션 제거
Jaeyoung22 Sep 17, 2023
873bed3
refactor: 테스트코드에 한글 추가
Jaeyoung22 Sep 17, 2023
db7b266
refactor: 빌더패턴 적용
Jaeyoung22 Sep 17, 2023
b55f462
style: 주석 제거
Jaeyoung22 Sep 17, 2023
918b769
[refactor] 사용자 API 명세 및 코드 변경 (#369)
greeng00se Sep 18, 2023
f396950
Merge pull request #350 from woowacourse-teams/refactor/#349
greeng00se Sep 18, 2023
60d2172
[refactor] TripCustomRepositoryImpl 메서드 이름 수정 (#361)
Combi153 Sep 18, 2023
f5f9669
fix: 주소 검색 로직 수정
Jaeyoung22 Sep 18, 2023
9546ec2
[refactor] OAuth API 호출에 해당하는 부분을 트랜잭션에서 제외 (#349)
greeng00se Sep 13, 2023
6125f8d
[feat] refreshToken 생성자 추가 (#349)
greeng00se Sep 14, 2023
09bcbd7
[refactor] Api 요청 OAuthService로 분리 (#349)
greeng00se Sep 14, 2023
7e15dab
[refactor] AuthService 분리 (#349)
greeng00se Sep 14, 2023
bacda4d
[refactor] Token 생성 서비스 분리 (#349)
greeng00se Sep 16, 2023
9fe86f1
[refactor] transactionTemplate 사용하여 AuthService와 TokenGenerateService…
greeng00se Sep 16, 2023
173c7b9
[refactor] 사용자 API 명세 및 코드 변경 (#369)
greeng00se Sep 18, 2023
86745de
[chore] conflict 해결 (#346)
Combi153 Sep 18, 2023
67174e9
Merge branch 'develop-backend' into feature/#346
Combi153 Sep 18, 2023
c354e7d
refactor: q타입 객체 static으로 설정
Jaeyoung22 Sep 18, 2023
0e65172
Merge pull request #360 from woowacourse-teams/feature/#346
Combi153 Sep 18, 2023
beec873
refactor: 메서드명 변경
Jaeyoung22 Sep 18, 2023
bba1c0e
refactor: long value로 설정
Jaeyoung22 Sep 18, 2023
3af4ac0
[feat] 비동기 예외 처리 (#368)
greeng00se Sep 18, 2023
d19fc0d
[chore] submodule 수정 (#368)
greeng00se Sep 18, 2023
99f4c48
refactor: query관련 클래스 패키지 구조 변경
Jaeyoung22 Sep 18, 2023
f709250
refactor: 불필요한 VO 제거
Jaeyoung22 Sep 18, 2023
303d1e5
refactor: 추가적인 리팩터링
Jaeyoung22 Sep 18, 2023
e64d81a
test: 테스트 추가
Jaeyoung22 Sep 18, 2023
be6bb5c
refactor: 패키지 구조 변경
Jaeyoung22 Sep 18, 2023
da46c96
refactor: QueryService 구현
Jaeyoung22 Sep 18, 2023
2a8219d
[build] gradle.build 재변경 (#361)
Combi153 Sep 18, 2023
68cee55
[test] TripController 테스트 분리 (#361)
Combi153 Sep 18, 2023
9b932d9
[chore] .gitignore 수정 (#361)
Combi153 Sep 18, 2023
5cdaf47
[refactor] TripCustomRepositoryImpl 로직 수정 (#361)
Combi153 Sep 18, 2023
6a05b94
refactor: List 자료형 Set으로 변경
Jaeyoung22 Sep 18, 2023
c287c5f
fix: SpringBootTest에 Transaction 설정
Jaeyoung22 Sep 18, 2023
2e28027
fix: 테스트 코드 수정
Jaeyoung22 Sep 18, 2023
73d5b11
[refactor] TripQueryService 추가 및 의존 방향 수정 (#361)
Combi153 Sep 18, 2023
dbe0477
fix: 경로 이미지 생성 Mocking으로 RollBack
Jaeyoung22 Sep 19, 2023
62c1bf8
[refactor] validate 일단 빼기 (#361)
Combi153 Sep 19, 2023
2168d1d
fix: 잘못된 로직 수정
Jaeyoung22 Sep 19, 2023
8eeb0ad
Merge pull request #367 from woowacourse-teams/feature/#363
Jaeyoung22 Sep 19, 2023
e110b1a
[refactor] validate 다시 넣기 (#361)
Combi153 Sep 19, 2023
b182a07
[feat] builder 적용 (#361)
Combi153 Sep 19, 2023
d36391e
[refactor] 도메인 객체 삭제 및 VO로 통일 (#361)
Combi153 Sep 19, 2023
e1519e9
[build] Querydsl 관련 설정 변경 (#361)
Combi153 Sep 16, 2023
f151e3a
[chore] conflict 해결 (#361)
Combi153 Sep 19, 2023
57b0b1b
[feat] 감상이 있는 여행 조회 API 추가 (#361)
Combi153 Sep 16, 2023
2b64b53
[refactor] TripCustomRepositoryImpl 메서드 이름 수정 (#361)
Combi153 Sep 18, 2023
115a3f8
[build] gradle.build 재변경 (#361)
Combi153 Sep 18, 2023
7fb432c
[test] TripController 테스트 분리 (#361)
Combi153 Sep 18, 2023
fedfeb3
[chore] .gitignore 수정 (#361)
Combi153 Sep 18, 2023
b8e28b3
[refactor] TripCustomRepositoryImpl 로직 수정 (#361)
Combi153 Sep 18, 2023
395f8ff
[refactor] TripQueryService 추가 및 의존 방향 수정 (#361)
Combi153 Sep 18, 2023
cac98f1
[refactor] validate 일단 빼기 (#361)
Combi153 Sep 19, 2023
6e90214
[refactor] validate 다시 넣기 (#361)
Combi153 Sep 19, 2023
d483ae4
[feat] builder 적용 (#361)
Combi153 Sep 19, 2023
526c8e3
[refactor] 도메인 객체 삭제 및 VO로 통일 (#361)
Combi153 Sep 19, 2023
0502dd6
Merge remote-tracking branch 'origin/feature/#361' into feature/#361
Combi153 Sep 19, 2023
0639641
[chore] conflict 해결 (#361)
Combi153 Sep 19, 2023
069e7d7
[chore] 불필요한 주석 삭제 (#361)
Combi153 Sep 19, 2023
b1dd885
Merge pull request #364 from woowacourse-teams/feature/#361
Combi153 Sep 19, 2023
7006c6d
[refactor] Trip 전체 조회 api QueryString 방식으로 수정 (#379)
Combi153 Sep 20, 2023
bde72e5
[refactor] Post 전체 조회 api QueryString 방식으로 수정 (#379)
Combi153 Sep 20, 2023
bbc1f58
Merge pull request #380 from woowacourse-teams/refactor/#379
Combi153 Sep 20, 2023
e86fa9b
[fix] 여행 중복 조회 제거 (#381)
Combi153 Sep 20, 2023
eb76e45
[refactor] DTO 반환 값 수정 (#381)
Combi153 Sep 20, 2023
89db5d8
Merge pull request #382 from woowacourse-teams/fix/#381
Combi153 Sep 20, 2023
1fce51a
[feat] 감상 조회시 다른 유저도 감상을 조회할 수 있도록 변경 (#388)
Jaeyoung22 Sep 20, 2023
7ad7f59
Merge pull request #389 from woowacourse-teams/feature/#388
Jaeyoung22 Sep 21, 2023
8e5855c
[chore] submodule update (#385)
Combi153 Sep 21, 2023
0e77800
[feat] fetch join 설정 (#388)
Jaeyoung22 Sep 21, 2023
c314cd9
[refactor] flyway 버전 업 (#385)
Combi153 Sep 21, 2023
92029cb
[feat] JPQL fetch join 설정 (#388)
Jaeyoung22 Sep 21, 2023
141d971
[feat] 감상 조회시 다른 유저도 감상을 조회할 수 있도록 변경 (#388)
Jaeyoung22 Sep 20, 2023
8131095
Merge pull request #392 from woowacourse-teams/feature/#385
Combi153 Sep 21, 2023
fbfa56d
[feat] point에서 trip을 지연로딩하도록 변경 (#388)
Jaeyoung22 Sep 21, 2023
c82f5fd
Merge pull request #394 from woowacourse-teams/refactor/#387
Jaeyoung22 Sep 21, 2023
9f5d71f
[refactor] 회원 삭제 시 쿼리 변경 (#398)
Combi153 Sep 21, 2023
5f60cca
[test] 테스트 코드 추가 (#398)
Combi153 Sep 21, 2023
3b709e0
[fix] 경로 이미지 출력 문제 수정 (#401)
greeng00se Sep 22, 2023
6cc528e
[refactor] 감상, 여행 삭제 로직 변경 (#398)
Combi153 Sep 23, 2023
6aab9fa
[feat] MemberRepository Id로 닉네임 조회 기능 추가 (#403)
Combi153 Sep 25, 2023
ab27ad1
[refactor] Trip, Post에서 Member 간접 참조로 변경 (#403)
Combi153 Sep 25, 2023
11c4ef1
[chore] submodule 설정 (#368)
greeng00se Sep 26, 2023
bc31e3b
Merge pull request #372 from woowacourse-teams/feature/#368
greeng00se Sep 26, 2023
0692780
[refactor] 회원 삭제 시 쿼리 변경 (#398)
Combi153 Sep 21, 2023
950ce0e
[test] 테스트 코드 추가 (#398)
Combi153 Sep 21, 2023
5f1c52e
[refactor] 감상, 여행 삭제 로직 변경 (#398)
Combi153 Sep 23, 2023
74bac38
Merge remote-tracking branch 'origin/refactor/#398' into refactor/#398
Combi153 Sep 26, 2023
f7a3f20
Merge pull request #400 from woowacourse-teams/refactor/#398
Combi153 Sep 26, 2023
0112f7b
[refactor] 예외 처리 로직 변경 (#403)
Combi153 Sep 26, 2023
87ebd73
[feat] 비동기 예외 처리 (#368)
greeng00se Sep 18, 2023
56ca9e8
[refactor] 회원 삭제 시 쿼리 변경 (#398)
Combi153 Sep 21, 2023
f2da542
[test] 테스트 코드 추가 (#398)
Combi153 Sep 21, 2023
5355c9a
[refactor] 감상, 여행 삭제 로직 변경 (#398)
Combi153 Sep 23, 2023
560dc4b
[refactor] 회원 삭제 시 쿼리 변경 (#398)
Combi153 Sep 21, 2023
fd638e4
[chore] rebase 시 conflict 해결 (#403)
Combi153 Sep 27, 2023
8a96290
[chore] 도메인 변경에 따른 @Query 내용 수정 (#403)
Combi153 Sep 27, 2023
ab8ba43
Merge branch 'develop-backend' into refactor/#403
Combi153 Sep 27, 2023
9f3472c
Merge pull request #406 from woowacourse-teams/refactor/#403
Combi153 Sep 27, 2023
7584c78
Merge pull request #418 from woowacourse-teams/develop-backend
Combi153 Sep 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/backend-dev-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
deploy:
runs-on: self-hosted
runs-on: backend-dev-cd

steps:
- name: 배포 스크립트 실행
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -192,3 +192,4 @@ fabric.properties
!/gradle/wrapper/gradle-wrapper.jar

# End of https://www.toptal.com/developers/gitignore/api/android,androidstudio,kotlin
/backend/src/main/generated/
40 changes: 40 additions & 0 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,45 @@ repositories {
}

dependencies {
// spring
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'

// configuration processor
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"

// jwt
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'

// h2
runtimeOnly 'com.h2database:h2'

// mysql
runtimeOnly 'com.mysql:mysql-connector-j'

// swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.1.0'

// test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.rest-assured:rest-assured:5.3.0'

// flyway
implementation 'org.flywaydb:flyway-core'
implementation 'org.flywaydb:flyway-mysql'

// lombok
compileOnly 'org.projectlombok:lombok:1.18.28'
annotationProcessor 'org.projectlombok:lombok:1.18.28'

// querydsl
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
annotationProcessor 'com.querydsl:querydsl-apt:5.0.0:jakarta'
annotationProcessor 'jakarta.annotation:jakarta.annotation-api'
annotationProcessor 'jakarta.persistence:jakarta.persistence-api'
}

processResources.dependsOn('copySecret')
Expand All @@ -52,3 +72,23 @@ tasks.register('copySecret', Copy) {
tasks.named('test') {
useJUnitPlatform()
}

// configuration processor
tasks.named('compileJava') {
inputs.files(tasks.named('processResources'))
}

// Querydsl
def querydslDir = "$buildDir/generated/querydsl"

sourceSets {
main.java.srcDirs += [querydslDir]
}

tasks.withType(JavaCompile).configureEach {
options.annotationProcessorGeneratedSourcesDirectory = file(querydslDir)
}

clean.doLast {
file(querydslDir).deleteDir()
}
2 changes: 2 additions & 0 deletions backend/src/main/java/dev/tripdraw/BackendApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;

@ConfigurationPropertiesScan
@SpringBootApplication
public class BackendApplication {

Expand Down
66 changes: 0 additions & 66 deletions backend/src/main/java/dev/tripdraw/application/AuthService.java

This file was deleted.

45 changes: 0 additions & 45 deletions backend/src/main/java/dev/tripdraw/application/MemberService.java

This file was deleted.

158 changes: 0 additions & 158 deletions backend/src/main/java/dev/tripdraw/application/PostService.java

This file was deleted.

Loading