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

[Master] 7-8주차 PR #84

Merged
merged 83 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
507e9d8
[chore] 사용하지 않는 import 문 삭제
Oct 11, 2024
7f74c58
[refactor] QueryDSL 적용
dong-yxxn Oct 11, 2024
5a299a4
Merge remote-tracking branch 'origin/weekly/6' into feat/#7-place
dong-yxxn Oct 11, 2024
ffef644
[fix] PlaceService에서 video null 처리 구현
dong-yxxn Oct 11, 2024
0f5efca
[refactor] weekly에서 배포로 수정
wndlthsk Oct 11, 2024
71c6cbc
Merge branch 'weekly/6' of https://github.com/kakao-tech-campus-2nd-s…
Oct 12, 2024
a7667cb
Merge pull request #60 from kakao-tech-campus-2nd-step3/feat/#8-ci-cd
sanghee0820 Oct 13, 2024
d24a906
[refactor]: 장소 세부정보 조회에서 로직 수정
dong-yxxn Oct 13, 2024
97e0421
[refactor]: place-video간 일대다 관계 반영
dong-yxxn Oct 13, 2024
a342960
[fix] 로그인 시, 무한 리다이렉트 발생 에러 해결
suhyeon7497 Oct 13, 2024
1a4c467
Merge remote-tracking branch 'origin/weekly/6' into feat/#7-place
dong-yxxn Oct 13, 2024
73f2266
[chore] 로그 삭제
suhyeon7497 Oct 13, 2024
8f6607f
[refactor] Oauth2Login시 query문 한개 줄임
suhyeon7497 Oct 13, 2024
0e7aea3
[refactor]: QueryDsl 적용
dong-yxxn Oct 13, 2024
2523396
Merge pull request #59 from kakao-tech-campus-2nd-step3/feat/#7-place
sanghee0820 Oct 14, 2024
923e73a
[refactor] 비디오 도메인의 연관관계 null 허용 수정
Oct 14, 2024
c35a6e2
[refactor] 토큰 검증 로직 수정
Oct 14, 2024
6929ced
[feat] refreshToken swagger 적용
suhyeon7497 Oct 14, 2024
2d473bc
[refactor]: PlaceDetailInfo.Menu.price 타입 String으로 변경
dong-yxxn Oct 14, 2024
397b4fe
Merge remote-tracking branch 'origin/weekly/6' into feat/#7-place
dong-yxxn Oct 14, 2024
3b506a1
[refactor] 비디오 도메인의 연관관계 null 허용 수정
Oct 14, 2024
5ea8741
[refactor] 비디오 엔티티에 장소 정보가 없는 경우에 대한 예외 처리
Oct 14, 2024
f0404b4
Merge pull request #63 from kakao-tech-campus-2nd-step3/feat/#7-place
sanghee0820 Oct 14, 2024
ff70a78
Merge pull request #62 from kakao-tech-campus-2nd-step3/refactor/#49-…
sanghee0820 Oct 14, 2024
43702b6
Merge pull request #61 from kakao-tech-campus-2nd-step3/feat/#44-toke…
sanghee0820 Oct 14, 2024
ce9fb86
[fix] cors error
suhyeon7497 Oct 14, 2024
a7dc858
Merge pull request #64 from kakao-tech-campus-2nd-step3/feat/#44-toke…
sanghee0820 Oct 14, 2024
f6797a6
[fix] cors error 수정2
suhyeon7497 Oct 14, 2024
2574e11
Merge pull request #65 from kakao-tech-campus-2nd-step3/feat/#44-toke…
sanghee0820 Oct 14, 2024
58f7f7c
[fix] cors error 3
suhyeon7497 Oct 14, 2024
9bb07a8
Merge pull request #66 from kakao-tech-campus-2nd-step3/feat/#44-toke…
sanghee0820 Oct 14, 2024
0e67603
[fix] Cors 설정 변경
sanghee0820 Oct 14, 2024
ccff3b1
[fix] Cors 설정 변경
sanghee0820 Oct 14, 2024
f37f180
[feat] swagger permitAll로 설정
sanghee0820 Oct 14, 2024
6fa28fa
Merge pull request #67 from kakao-tech-campus-2nd-step3/fix/swagger-p…
sanghee0820 Oct 14, 2024
26a0158
[fix] Cors 설정 변경
sanghee0820 Oct 14, 2024
2a34307
[fix] Cors 설정 변경
sanghee0820 Oct 14, 2024
c74f680
[fix] permitAll 설정
sanghee0820 Oct 14, 2024
9c93f18
[fix] permitAll 설정
sanghee0820 Oct 14, 2024
882c059
[feat] 오류가 생겼을 경우 log 추가
sanghee0820 Oct 14, 2024
95fa4fe
[fix] cors설정 변경
sanghee0820 Oct 14, 2024
dff6c94
[fix] cors설정 변경
sanghee0820 Oct 14, 2024
4521869
[fix] 임시 로직을 수정
Oct 15, 2024
c330cc9
[feat] 유튜브 채널 관련 에러코드 추가
sanghee0820 Oct 15, 2024
7f96ced
[feat] 유튜브 최신 영상 업데이트 로직 추가
sanghee0820 Oct 15, 2024
9e8b198
[feat] 트랜젝션 내 유튜브 채널 최신 영상 업데이트 로직 추가
sanghee0820 Oct 15, 2024
bba4009
[fix] PlaceDetailInfo.MenuInfos timeExp 직렬화 적용
dong-yxxn Oct 15, 2024
6b1f51d
[refactor] 변환 메서드 추가
wndlthsk Oct 15, 2024
1252b70
[feat] 로그인 시 좋아요한 인플루언서 반영하여 반환 기능
wndlthsk Oct 15, 2024
b0cf076
Merge remote-tracking branch 'origin/weekly/6' into feat/#20-influencer
wndlthsk Oct 15, 2024
fb37b3d
[fix] 필드명 isLiked로 수정
wndlthsk Oct 17, 2024
10ad340
[refactor] import문 정리
wndlthsk Oct 17, 2024
934b143
[refactor] 인플루언서 좋아요 request명 변경 및 RequestBody로 변경
wndlthsk Oct 17, 2024
ac8969b
Merge pull request #69 from kakao-tech-campus-2nd-step3/fix/#68-Video…
BaeJunH0 Oct 17, 2024
2f49833
Merge pull request #70 from kakao-tech-campus-2nd-step3/feat/#7-place
sanghee0820 Oct 17, 2024
c609e14
[feat] menuboardPhoto 추가
sanghee0820 Oct 17, 2024
82840ae
[refactor] 필요없는 메서드 삭제
wndlthsk Oct 17, 2024
4a60607
[refactor] 좋아요 취소 가능하도록 수정
wndlthsk Oct 17, 2024
fa62990
[test] 테스트 오류 해결
wndlthsk Oct 17, 2024
53f29f9
[feat] JsonNode 파싱 시 menuBoardPhotoUrl 추가
sanghee0820 Oct 17, 2024
8a9b168
Merge remote-tracking branch 'origin/weekly/7' into feat/#20-influencer
wndlthsk Oct 17, 2024
5e9436a
Merge pull request #71 from kakao-tech-campus-2nd-step3/feat/#9-summa…
dong-yxxn Oct 17, 2024
95970e4
[feat] 스웨거 내용 추가
wndlthsk Oct 17, 2024
585e263
[refactor]: MenuBoardPhotoUrl DTO로 반환함
dong-yxxn Oct 17, 2024
cb429e8
[refactor] url 형식 변환을 DTO가 아닌, 엔티티에서 수정하기로
Oct 17, 2024
d62b2a9
[feat] Url 반환 시 youtube url 반환하도록 변경
sanghee0820 Oct 17, 2024
59f4e1a
Merge pull request #73 from kakao-tech-campus-2nd-step3/feat/#7-place
sanghee0820 Oct 17, 2024
855ffc7
[feat] login page 날려버리기
suhyeon7497 Oct 17, 2024
024e820
Merge pull request #76 from kakao-tech-campus-2nd-step3/feat/#9-summa…
sanghee0820 Oct 17, 2024
70a6438
[refactor] user id, influencer id로 호출하도록 변경
wndlthsk Oct 17, 2024
26be41d
[fix] 값이 없을 경우 default 저장
sanghee0820 Oct 17, 2024
d3cbe7e
Merge remote-tracking branch 'origin/weekly/7' into refactor/#74-Vide…
Oct 17, 2024
b04c06d
Merge pull request #77 from kakao-tech-campus-2nd-step3/feat/#50-plac…
dong-yxxn Oct 17, 2024
4e56a8b
[build] 타임리프 종속성 추가
Oct 17, 2024
d559e37
[feat] 비디오 도메인에 장소 정보가 null 인 비디오를 조회하는 기능 구현
Oct 17, 2024
6d74c9d
[feat] 어드민 페이지 프로토타입 구현
Oct 17, 2024
0549b1d
[refactor] 쿼리문으로 좋아요한 인플루언서 id 가져오도록 수정
wndlthsk Oct 17, 2024
2b2cbbe
[test] 테스트 오류 해결
wndlthsk Oct 17, 2024
adc7074
Merge pull request #72 from kakao-tech-campus-2nd-step3/feat/#20-infl…
sanghee0820 Oct 18, 2024
a93ee49
Merge pull request #78 from kakao-tech-campus-2nd-step3/feat/#9-summa…
BaeJunH0 Oct 18, 2024
624b58f
Merge pull request #81 from kakao-tech-campus-2nd-step3/feat/#80-Vide…
sanghee0820 Oct 18, 2024
7f1e8b6
Merge pull request #82 from kakao-tech-campus-2nd-step3/weekly/7
sanghee0820 Oct 18, 2024
52d268c
Merge pull request #83 from kakao-tech-campus-2nd-step3/develop
sanghee0820 Oct 18, 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: 14 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ jobs:
runs-on: self-hosted

# weekly/* 브랜치에서는 실행되지 않도록 조건 추가
if: startsWith(github.ref, 'refs/heads/Master') || startsWith(github.ref, 'refs/heads/develop')
# if: startsWith(github.ref, 'refs/heads/Master') || startsWith(github.ref, 'refs/heads/develop')

# weekly/* 브랜치에서만 실행되도록
if: startsWith(github.ref, 'refs/heads/weekly/')

steps:
# 최신 이미지를 pull
Expand All @@ -76,13 +79,18 @@ jobs:
echo "${{ secrets.ENV }}" >> .env

# 브랜치에 따라 다른 환경 변수를 설정하여 컨테이너 실행
# - name: docker run new container
# run: |
# if [ "${{ github.ref }}" == "refs/heads/Master" ]; then
# sudo docker run --name inplace --rm -d -p 8080:8080 --env-file .env ${{ secrets.DOCKERHUB_USERNAME }}/inplace
# elif [ "${{ github.ref }}" == "refs/heads/develop" ]; then
# sudo docker run --name inplace-dev --rm -d -p 8081:8080 --env-file .env ${{ secrets.DOCKERHUB_USERNAME }}/inplace
# fi

# weekly/* 브랜치 8081 포트로 설정
- name: docker run new container
run: |
if [ "${{ github.ref }}" == "refs/heads/Master" ]; then
sudo docker run --name inplace --rm -d -p 8080:8080 --env-file .env ${{ secrets.DOCKERHUB_USERNAME }}/inplace
elif [ "${{ github.ref }}" == "refs/heads/develop" ]; then
sudo docker run --name inplace-dev --rm -d -p 8081:8080 --env-file .env ${{ secrets.DOCKERHUB_USERNAME }}/inplace
fi
sudo docker run --name inplace-dev --rm -d -p 8081:8080 --env-file .env ${{ secrets.DOCKERHUB_USERNAME }}/inplace

# 미사용 이미지를 정리
- name: delete old docker image
Expand Down
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ dependencies {

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

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"

implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
}

tasks.named('test') {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
package team7.inplace.crawling.domain;

import static com.querydsl.core.types.PathMetadataFactory.*;

import com.querydsl.core.types.dsl.*;

import com.querydsl.core.types.PathMetadata;
import javax.annotation.processing.Generated;
import com.querydsl.core.types.Path;


/**
* QYoutubeChannel is a Querydsl query type for YoutubeChannel
*/
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
public class QYoutubeChannel extends EntityPathBase<YoutubeChannel> {

private static final long serialVersionUID = 2131098359L;

public static final QYoutubeChannel youtubeChannel = new QYoutubeChannel("youtubeChannel");

public final EnumPath<ChannelType> channelType = createEnum("channelType", ChannelType.class);

public final StringPath channelUUID = createString("channelUUID");

public final NumberPath<Long> id = createNumber("id", Long.class);

public final NumberPath<Long> influencerId = createNumber("influencerId", Long.class);

public final StringPath lastVideoUUID = createString("lastVideoUUID");

public final StringPath playListUUID = createString("playListUUID");

public QYoutubeChannel(String variable) {
super(YoutubeChannel.class, forVariable(variable));
}

public QYoutubeChannel(Path<? extends YoutubeChannel> path) {
super(path.getType(), path.getMetadata());
}

public QYoutubeChannel(PathMetadata metadata) {
super(YoutubeChannel.class, metadata);
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
package team7.inplace.favoriteInfluencer.domain;

import static com.querydsl.core.types.PathMetadataFactory.*;

import com.querydsl.core.types.dsl.*;

import com.querydsl.core.types.PathMetadata;
import javax.annotation.processing.Generated;
import com.querydsl.core.types.Path;
import com.querydsl.core.types.dsl.PathInits;


/**
* QFavoriteInfluencer is a Querydsl query type for FavoriteInfluencer
*/
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
public class QFavoriteInfluencer extends EntityPathBase<FavoriteInfluencer> {

private static final long serialVersionUID = -1437439762L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QFavoriteInfluencer favoriteInfluencer = new QFavoriteInfluencer("favoriteInfluencer");

public final NumberPath<Long> id = createNumber("id", Long.class);

public final team7.inplace.influencer.domain.QInfluencer influencer;

public final BooleanPath like = createBoolean("like");

public final team7.inplace.user.domain.QUser user;

public QFavoriteInfluencer(String variable) {
this(FavoriteInfluencer.class, forVariable(variable), INITS);
}

public QFavoriteInfluencer(Path<? extends FavoriteInfluencer> path) {
this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
}

public QFavoriteInfluencer(PathMetadata metadata) {
this(metadata, PathInits.getFor(metadata, INITS));
}

public QFavoriteInfluencer(PathMetadata metadata, PathInits inits) {
this(FavoriteInfluencer.class, metadata, inits);
}

public QFavoriteInfluencer(Class<? extends FavoriteInfluencer> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.influencer = inits.isInitialized("influencer") ? new team7.inplace.influencer.domain.QInfluencer(forProperty("influencer")) : null;
this.user = inits.isInitialized("user") ? new team7.inplace.user.domain.QUser(forProperty("user")) : null;
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
package team7.inplace.influencer.domain;

import static com.querydsl.core.types.PathMetadataFactory.*;

import com.querydsl.core.types.dsl.*;

import com.querydsl.core.types.PathMetadata;
import javax.annotation.processing.Generated;
import com.querydsl.core.types.Path;


/**
* QInfluencer is a Querydsl query type for Influencer
*/
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
public class QInfluencer extends EntityPathBase<Influencer> {

private static final long serialVersionUID = 799784822L;

public static final QInfluencer influencer = new QInfluencer("influencer");

public final NumberPath<Long> id = createNumber("id", Long.class);

public final StringPath imgUrl = createString("imgUrl");

public final StringPath job = createString("job");

public final StringPath name = createString("name");

public QInfluencer(String variable) {
super(Influencer.class, forVariable(variable));
}

public QInfluencer(Path<? extends Influencer> path) {
super(path.getType(), path.getMetadata());
}

public QInfluencer(PathMetadata metadata) {
super(Influencer.class, metadata);
}

}

41 changes: 41 additions & 0 deletions src/main/generated/team7/inplace/place/domain/QAddress.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
package team7.inplace.place.domain;

import static com.querydsl.core.types.PathMetadataFactory.*;

import com.querydsl.core.types.dsl.*;

import com.querydsl.core.types.PathMetadata;
import javax.annotation.processing.Generated;
import com.querydsl.core.types.Path;


/**
* QAddress is a Querydsl query type for Address
*/
@Generated("com.querydsl.codegen.DefaultEmbeddableSerializer")
public class QAddress extends BeanPath<Address> {

private static final long serialVersionUID = -594482223L;

public static final QAddress address = new QAddress("address");

public final StringPath address1 = createString("address1");

public final StringPath address2 = createString("address2");

public final StringPath address3 = createString("address3");

public QAddress(String variable) {
super(Address.class, forVariable(variable));
}

public QAddress(Path<? extends Address> path) {
super(path.getType(), path.getMetadata());
}

public QAddress(PathMetadata metadata) {
super(Address.class, metadata);
}

}

39 changes: 39 additions & 0 deletions src/main/generated/team7/inplace/place/domain/QCoordinate.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package team7.inplace.place.domain;

import static com.querydsl.core.types.PathMetadataFactory.*;

import com.querydsl.core.types.dsl.*;

import com.querydsl.core.types.PathMetadata;
import javax.annotation.processing.Generated;
import com.querydsl.core.types.Path;


/**
* QCoordinate is a Querydsl query type for Coordinate
*/
@Generated("com.querydsl.codegen.DefaultEmbeddableSerializer")
public class QCoordinate extends BeanPath<Coordinate> {

private static final long serialVersionUID = 1083194491L;

public static final QCoordinate coordinate = new QCoordinate("coordinate");

public final StringPath latitude = createString("latitude");

public final StringPath longitude = createString("longitude");

public QCoordinate(String variable) {
super(Coordinate.class, forVariable(variable));
}

public QCoordinate(Path<? extends Coordinate> path) {
super(path.getType(), path.getMetadata());
}

public QCoordinate(PathMetadata metadata) {
super(Coordinate.class, metadata);
}

}

45 changes: 45 additions & 0 deletions src/main/generated/team7/inplace/place/domain/QMenu.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
package team7.inplace.place.domain;

import static com.querydsl.core.types.PathMetadataFactory.*;

import com.querydsl.core.types.dsl.*;

import com.querydsl.core.types.PathMetadata;
import javax.annotation.processing.Generated;
import com.querydsl.core.types.Path;


/**
* QMenu is a Querydsl query type for Menu
*/
@Generated("com.querydsl.codegen.DefaultEmbeddableSerializer")
public class QMenu extends BeanPath<Menu> {

private static final long serialVersionUID = 1908284066L;

public static final QMenu menu = new QMenu("menu");

public final StringPath description = createString("description");

public final StringPath menuImgUrl = createString("menuImgUrl");

public final StringPath menuName = createString("menuName");

public final StringPath price = createString("price");

public final BooleanPath recommend = createBoolean("recommend");

public QMenu(String variable) {
super(Menu.class, forVariable(variable));
}

public QMenu(Path<? extends Menu> path) {
super(path.getType(), path.getMetadata());
}

public QMenu(PathMetadata metadata) {
super(Menu.class, metadata);
}

}

41 changes: 41 additions & 0 deletions src/main/generated/team7/inplace/place/domain/QOffDay.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
package team7.inplace.place.domain;

import static com.querydsl.core.types.PathMetadataFactory.*;

import com.querydsl.core.types.dsl.*;

import com.querydsl.core.types.PathMetadata;
import javax.annotation.processing.Generated;
import com.querydsl.core.types.Path;


/**
* QOffDay is a Querydsl query type for OffDay
*/
@Generated("com.querydsl.codegen.DefaultEmbeddableSerializer")
public class QOffDay extends BeanPath<OffDay> {

private static final long serialVersionUID = -32148432L;

public static final QOffDay offDay = new QOffDay("offDay");

public final StringPath holidayName = createString("holidayName");

public final StringPath temporaryHolidays = createString("temporaryHolidays");

public final StringPath weekAndDay = createString("weekAndDay");

public QOffDay(String variable) {
super(OffDay.class, forVariable(variable));
}

public QOffDay(Path<? extends OffDay> path) {
super(path.getType(), path.getMetadata());
}

public QOffDay(PathMetadata metadata) {
super(OffDay.class, metadata);
}

}

Loading
Loading