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

11주차 PR (Master <- Develop) #150

Merged
merged 53 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
d891624
[Weekly/11/Test/like] Like리팩터링 및 Event Unit Test 수정 (#97)
ariimo Nov 8, 2024
327c4f0
[Weekly/11/Test/Image] 이미지 업로드 최대사이즈 제한 설정 (#96)
Daolove0323 Nov 8, 2024
b7144a1
[Weekly/11/Config] feat: objectmapeer bean등록 (#98)
Daolove0323 Nov 9, 2024
09e1957
[Weekly11/Image/IdSetting] feat: id generation type setting (#99)
Daolove0323 Nov 9, 2024
3d1d3da
[Weekly/11/Config] feat: ddl create strategy (#100)
Daolove0323 Nov 9, 2024
3bf1c14
[Weekly/11] feat: image path (#101)
Daolove0323 Nov 9, 2024
688a9f6
[Weekly/11] Image/path (#102)
Daolove0323 Nov 9, 2024
8d3068f
[Weekly/11/Feature/ImageController] 이미지 컨트롤러 예외수정 (#103)
Daolove0323 Nov 9, 2024
0acde4c
[Weekly/11/All/refactor ] 전반적인 코드 리팩토링
Daolove0323 Nov 9, 2024
8e5ecef
[Weekly/11/Feature/RestClientUtil] 유틸추가, 이미지 삭제 (#106)
Daolove0323 Nov 10, 2024
d5b29f3
[Weekly/11] Image/test (#107)
Daolove0323 Nov 10, 2024
eec6154
[Weekly/11/Refactor/ExtractRestClient] RestClientUtil 이용, 로직 추출 (#108)
lja3723 Nov 10, 2024
d399e95
[Weekly/11] refactor: ImageService delete (#109)
Daolove0323 Nov 11, 2024
82f31ff
[Weekly/11] Image/delete (#110)
Daolove0323 Nov 11, 2024
7795e24
[Weekly/11/Feature/MySQL] MySQL 연동, 도커 볼륨 및 이미지 저장 연동 (#111)
lja3723 Nov 12, 2024
7ff6f8e
[Weekly/11] Image/delete (#114)
Daolove0323 Nov 12, 2024
1624888
[Weekly/11/Refactor/Review] Review 페이지네이션 적용, Review validation 적용 (#…
ariimo Nov 12, 2024
fd01473
[Weekly/11] Feature/image/delete (#117)
Daolove0323 Nov 12, 2024
48610a4
[Weekly/11/Refactor/Validation] from 생성 및 리팩터링 (#118)
ariimo Nov 12, 2024
852a69f
[Weekly/11/Refactor/Validation] thumbnail 추가 (#119)
ariimo Nov 12, 2024
d8bfb07
[Weekly/11/Refactor/Test-TeatData] testdata 리팩터링 (#120)
lja3723 Nov 12, 2024
bed4e0b
[Weekly/11] Feature/Image/thumbnail (#121)
Daolove0323 Nov 12, 2024
72472ff
[Weekly/11/Refactor/Thumbnail] 섬네일 관련 테스트데이터 정합성 수정 (#122)
lja3723 Nov 13, 2024
31309c2
[Weekly/11/Test/event] LikeController 반환값 수정, Event Controller에 모든 이벤…
ariimo Nov 13, 2024
52bf29d
[Test/event] EventControllerTest 주석처리 (#124)
ariimo Nov 13, 2024
3d33d64
[Weekly/11/Test/event] refactor Event (#125)
ariimo Nov 13, 2024
e24a380
[Weekly/11/Test/event] EventController getAllEvents로직 추가 (#126)
ariimo Nov 13, 2024
8885eff
[Weekly/11] Feature/curation/test (#127)
Daolove0323 Nov 13, 2024
e09aa2f
[Weekly/11/Refactor/MemberControllers] 소셜로그인 깨짐 해결, 멤버 이미지 url respon…
lja3723 Nov 13, 2024
6d33db8
[Weekly/11/Refactor/All] getUnreviewedEventsByMemberId 로직 생성 (#129)
ariimo Nov 13, 2024
3434839
[Weekly/11/Refactor/All] fix: memberData (#130)
ariimo Nov 13, 2024
75b60da
[Weekly/11/Refactor/All] refactor: Advertisement, Event 유효성 리팩터링 (#131)
ariimo Nov 14, 2024
9ef0f28
[Weekly/11/Refactor/ExtractTestCreateApi] 테스트 생성 api 분리 (#132)
lja3723 Nov 14, 2024
8d2fe30
[Weekly/11/Feature/addEquals-HashCode-ToString] equals, hashcode, toS…
lja3723 Nov 14, 2024
2f2ca73
[Weekly/11/Test/event] EventController Test 작성 (#134)
ariimo Nov 14, 2024
7be14a3
[Weekly/11/Curation/test] 큐레이션 서비스 유닛 테스트 (#135)
Daolove0323 Nov 14, 2024
1758576
[Weekly/11/Feature/LoggingAOP] 메서드 호출 Logger AOP 추가 (#136)
lja3723 Nov 14, 2024
253f743
[Weekly/11/Test/Review] ReviewController 단위테스트 작성 (#137)
ariimo Nov 14, 2024
19808e3
[Weekly/11/TestData/Like] likeData 추가 (#138)
lja3723 Nov 14, 2024
bdbe9b2
[Weekly/11/Refactor/TokenResponse] token response에 사용자 아이디, 타입 반환하도록 …
lja3723 Nov 14, 2024
4252796
[Weekly/11/Reservation/test] Reservation 유닛테스트 (#140)
Daolove0323 Nov 14, 2024
8d6da0c
[Weekly/11/Test/Like] LikeControllerUnitTest 생성 (#141)
ariimo Nov 14, 2024
4d31a5c
[Weekly/11/Refactor/All] Transactional 설정, 접근제어자 설정 (#142)
ariimo Nov 15, 2024
b7ec6d0
[Weekly/11] not null 속성 수정 (#143)
Daolove0323 Nov 15, 2024
63aa785
[Weekly/11/Hotfix/brokenBuild] 빌드 실패 오류 수정 (#144)
lja3723 Nov 15, 2024
fef728f
[Weekly/11/Hotfix/Event] 모든 이벤트조회 수정
Daolove0323 Nov 15, 2024
4ca29d9
[Weekly/11//Feacture/Event] 이벤트 레포지토리 JPQL 수정
Daolove0323 Nov 15, 2024
1b062d2
[Weekly/11/HotFix/Event] 이벤트 조회 버그 수정
Daolove0323 Nov 15, 2024
b330f8a
[Weekly/11/Feature/curation] JPQL 수정
Daolove0323 Nov 15, 2024
f938260
[Weekly/11/Refactor/All] 예외, TODO제거, 이름변경 외 다수 (#145)
lja3723 Nov 15, 2024
5b89867
[Weekly/11/Test/Event] EventServiceUnitTest 작성 (#146)
ariimo Nov 15, 2024
d9b4d3a
[Weekly/11/Refactor/ErrorCode] ErrorCode 수정 (#147)
ariimo Nov 15, 2024
725dbf7
[Weekly/11/Refactor/all] 소셜로그인 오류 수정 (#148)
lja3723 Nov 15, 2024
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
20 changes: 12 additions & 8 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@ name: CI/CD Github Action
on:
push:
branches: [ "Master", "Weekly/*" ]
pull_request_target:
branches: [ "Master", "Weekly/*" ]

permissions:
contents: read

env:
DATASOURCE_URL : ${{ secrets.ENV_DATASOURCE_URL }}
DATASOURCE_USERNAME : ${{ secrets.ENV_DATASOURCE_USERNAME }}
DATASOURCE_PASSWORD : ${{ secrets.ENV_DATASOURCE_PASSWORD }}
GOOGLE_CLIENT_ID : ${{ secrets.ENV_GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ secrets.ENV_GOOGLE_CLIENT_SECRET }}
GOOGLE_REDIRECT_URI : ${{ secrets.ENV_GOOGLE_REDIRECT_URI }}
IMAGE_UPLOAD_PATH : ${{ secrets.ENV_IMAGE_UPLOAD_PATH }}
JWT_SECRET : ${{ secrets.ENV_JWT_SECRET }}
KAKAO_CLIENT_ID : ${{ secrets.ENV_KAKAO_CLIENT_ID }}
KAKAO_CLIENT_SECRET : ${{ secrets.ENV_KAKAO_CLIENT_SECRET }}
KAKAO_REDIRECT_URI : ${{ secrets.ENV_KAKAO_REDIRECT_URI }}
KAKAOPAY_SECRET_KEY : ${{ secrets.ENV_KAKAOPAY_SECRET_KEY }}
SERVER_DOMAIN_NAME : ${{ secrets.ENV_SERVER_DOMAIN_NAME }}

jobs:
## 1단계: 프로젝트 빌드
Expand Down Expand Up @@ -137,14 +138,17 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
echo "GOOGLE_CLIENT_ID=${{ secrets.ENV_GOOGLE_CLIENT_ID }}" > ~/.env
echo "DATASOURCE_URL=${{ secrets.ENV_DATASOURCE_URL }}" > ~/.env
echo "DATASOURCE_USERNAME=${{ secrets.ENV_DATASOURCE_USERNAME }}" >> ~/.env
echo "DATASOURCE_PASSWORD=${{ secrets.ENV_DATASOURCE_PASSWORD }}" >> ~/.env
echo "GOOGLE_CLIENT_ID=${{ secrets.ENV_GOOGLE_CLIENT_ID }}" >> ~/.env
echo "GOOGLE_CLIENT_SECRET=${{ secrets.ENV_GOOGLE_CLIENT_SECRET }}" >> ~/.env
echo "GOOGLE_REDIRECT_URI=${{ secrets.ENV_GOOGLE_REDIRECT_URI }}" >> ~/.env
echo "JWT_SECRET=${{ secrets.ENV_JWT_SECRET }}" >> ~/.env
echo "IMAGE_UPLOAD_PATH=${{ secrets.ENV_IMAGE_UPLOAD_PATH }}" >> ~/.env
echo "KAKAO_CLIENT_ID=${{ secrets.ENV_KAKAO_CLIENT_ID }}" >> ~/.env
echo "KAKAO_CLIENT_SECRET=${{ secrets.ENV_KAKAO_CLIENT_SECRET }}" >> ~/.env
echo "KAKAO_REDIRECT_URI=${{ secrets.ENV_KAKAO_REDIRECT_URI }}" >> ~/.env
echo "KAKAOPAY_SECRET_KEY=${{ secrets.ENV_KAKAOPAY_SECRET_KEY }}" >> ~/.env
echo "SERVER_DOMAIN_NAME=${{ secrets.ENV_SERVER_DOMAIN_NAME }}" >> ~/.env
echo "Environment setup has been completed."

- name: Pull New Docker Image
Expand Down Expand Up @@ -175,7 +179,7 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
envs: GITHUB_SHA
script: sudo docker run --rm -d -p 80:8080 --env-file ~/.env --name would-you-in ${{ secrets.DOCKER_REPO_FULLNAME }}
script: sudo docker run --rm -d -p 80:8080 --env-file ~/.env --name would-you-in -v would-you-in-image-volume:${{ secrets.ENV_IMAGE_UPLOAD_PATH }} ${{ secrets.DOCKER_REPO_FULLNAME }}

- name: Clean-Up Docker Image
uses: appleboy/ssh-action@master
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ out/
.vscode/

### static images
/src/main/resources/staticimages/
/src/main/resources/static/images/

### env file
.env
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'com.h2database:h2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
implementation 'com.fasterxml.jackson.core:jackson-databind'
implementation group: 'net.coobird', name: 'thumbnailator', version: '0.4.14'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.mysql:mysql-connector-j'
runtimeOnly 'com.h2database:h2'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
Expand All @@ -50,6 +49,8 @@ dependencies {

//for test
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
testCompileOnly 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'

//for Swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.1.0'
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading