From 29341ca8fcd5d3926d7b6810f3fa5a40e2b8763b Mon Sep 17 00:00:00 2001 From: chae_1 <129128205+sungchaewon@users.noreply.github.com> Date: Thu, 19 Jun 2025 21:17:16 +0900 Subject: [PATCH 1/7] Update MypagePostController.java --- .../java/com/example/FixLog/controller/MypagePostController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/example/FixLog/controller/MypagePostController.java b/src/main/java/com/example/FixLog/controller/MypagePostController.java index 97bfab9..efd76e7 100644 --- a/src/main/java/com/example/FixLog/controller/MypagePostController.java +++ b/src/main/java/com/example/FixLog/controller/MypagePostController.java @@ -44,6 +44,7 @@ public ResponseEntity>> getLiked String email = userDetails.getUsername(); PageResponseDto result = mypagePostService.getLikedPosts(email, page, sort, size); return ResponseEntity.ok(Response.success("내가 좋아요한 글 보기 성공", result)); + } From aace4b7058191f301df52de1daf3270ed881cbb3 Mon Sep 17 00:00:00 2001 From: chae_1 <129128205+sungchaewon@users.noreply.github.com> Date: Thu, 19 Jun 2025 21:19:41 +0900 Subject: [PATCH 2/7] =?UTF-8?q?Update=20application.properties(=EB=B0=B0?= =?UTF-8?q?=ED=8F=AC=EC=9A=A9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.properties | 64 +++++++++++------------ 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 786104f..c3d9f20 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,52 +1,52 @@ spring.application.name=FixLog ##### [DEV] ##### -server.port=8083 +#server.port=8083 # DB (MySQL) +#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +#spring.datasource.url=jdbc:mysql://fixlog-db.c7cau8y2srl7.ap-northeast-2.rds.amazonaws.com:3306/fixlog?serverTimezone=Asia/Seoul +#spring.datasource.username=admin +#spring.datasource.password=${MYSQL_PASSWORD} + +# JPA +#spring.jpa.hibernate.ddl-auto=update +#spring.jpa.show-sql=true +#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect +#spring.jpa.properties.hibernate.format_sql=true + +# AWS S3 +#cloud.aws.credentials.access-key=${AWS_ACCESS_KEY_ID} +#cloud.aws.credentials.secret-key=${AWS_SECRET_ACCESS_KEY} +#cloud.aws.region.static=${AWS_REGION} +#cloud.aws.s3.bucket=${AWS_S3_BUCKET} + +# JWT +#jwt.secret=${JWT_KEY} + +# Spring Security 디버깅 로그 +#logging.level.org.springframework.security=DEBUG + +##### [PROD] ##### +server.port=8083 + spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver -spring.datasource.url=jdbc:mysql://fixlog-db.c7cau8y2srl7.ap-northeast-2.rds.amazonaws.com:3306/fixlog?serverTimezone=Asia/Seoul -spring.datasource.username=admin +spring.datasource.url=${MYSQL_URL} +spring.datasource.username=${MYSQL_USERNAME} spring.datasource.password=${MYSQL_PASSWORD} -# JPA spring.jpa.hibernate.ddl-auto=update spring.jpa.show-sql=true spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect spring.jpa.properties.hibernate.format_sql=true -# AWS S3 cloud.aws.credentials.access-key=${AWS_ACCESS_KEY_ID} cloud.aws.credentials.secret-key=${AWS_SECRET_ACCESS_KEY} cloud.aws.region.static=${AWS_REGION} cloud.aws.s3.bucket=${AWS_S3_BUCKET} -# JWT jwt.secret=${JWT_KEY} -# Spring Security 디버깅 로그 -logging.level.org.springframework.security=DEBUG - -##### [PROD] ##### -# server.port=8083 -# -# spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver -# spring.datasource.url=${MYSQL_URL} -# spring.datasource.username=${MYSQL_USERNAME} -# spring.datasource.password=${MYSQL_PASSWORD} -# -# spring.jpa.hibernate.ddl-auto=update -# spring.jpa.show-sql=true -# spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect -# spring.jpa.properties.hibernate.format_sql=true -# -# cloud.aws.credentials.access-key=${AWS_ACCESS_KEY_ID} -# cloud.aws.credentials.secret-key=${AWS_SECRET_ACCESS_KEY} -# cloud.aws.region.static=${AWS_REGION} -# cloud.aws.s3.bucket=${AWS_S3_BUCKET} -# -# jwt.secret=${JWT_KEY} -# -# logging.level.root=INFO -# logging.level.com.example.FixLog=DEBUG -# logging.file.name=logs/app.log +logging.level.root=INFO +logging.level.com.example.FixLog=DEBUG +logging.file.name=logs/app.log From 75eb698f1d146b4de7e635e442a7d7ee82711906 Mon Sep 17 00:00:00 2001 From: sungchaewon Date: Thu, 19 Jun 2025 21:28:02 +0900 Subject: [PATCH 3/7] chore: ignore generated Q classes --- .gitignore | 1 + .../FixLog/domain/bookmark/QBookmark.java | 56 ------------- .../domain/bookmark/QBookmarkFolder.java | 55 ------------- .../example/FixLog/domain/follow/QFollow.java | 54 ------------- .../com/example/FixLog/domain/fork/QFork.java | 57 ------------- .../example/FixLog/domain/like/QPostLike.java | 56 ------------- .../example/FixLog/domain/member/QMember.java | 71 ---------------- .../com/example/FixLog/domain/post/QPost.java | 81 ------------------- .../example/FixLog/domain/post/QPostTag.java | 54 ------------- .../com/example/FixLog/domain/tag/QTag.java | 43 ---------- .../com/example/FixLog/tset/QTestMember.java | 41 ---------- 11 files changed, 1 insertion(+), 568 deletions(-) delete mode 100644 src/main/generated/com/example/FixLog/domain/bookmark/QBookmark.java delete mode 100644 src/main/generated/com/example/FixLog/domain/bookmark/QBookmarkFolder.java delete mode 100644 src/main/generated/com/example/FixLog/domain/follow/QFollow.java delete mode 100644 src/main/generated/com/example/FixLog/domain/fork/QFork.java delete mode 100644 src/main/generated/com/example/FixLog/domain/like/QPostLike.java delete mode 100644 src/main/generated/com/example/FixLog/domain/member/QMember.java delete mode 100644 src/main/generated/com/example/FixLog/domain/post/QPost.java delete mode 100644 src/main/generated/com/example/FixLog/domain/post/QPostTag.java delete mode 100644 src/main/generated/com/example/FixLog/domain/tag/QTag.java delete mode 100644 src/main/generated/com/example/FixLog/tset/QTestMember.java diff --git a/.gitignore b/.gitignore index 8c5e601..5f8cfe0 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ out/ .env *.env .env +src/main/generated/ diff --git a/src/main/generated/com/example/FixLog/domain/bookmark/QBookmark.java b/src/main/generated/com/example/FixLog/domain/bookmark/QBookmark.java deleted file mode 100644 index 8a75601..0000000 --- a/src/main/generated/com/example/FixLog/domain/bookmark/QBookmark.java +++ /dev/null @@ -1,56 +0,0 @@ -package com.example.FixLog.domain.bookmark; - -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; - - -/** - * QBookmark is a Querydsl query type for Bookmark - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QBookmark extends EntityPathBase { - - private static final long serialVersionUID = -975112590L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QBookmark bookmark = new QBookmark("bookmark"); - - public final NumberPath bookmarkId = createNumber("bookmarkId", Long.class); - - public final QBookmarkFolder folderId; - - public final BooleanPath isMarked = createBoolean("isMarked"); - - public final com.example.FixLog.domain.post.QPost postId; - - public QBookmark(String variable) { - this(Bookmark.class, forVariable(variable), INITS); - } - - public QBookmark(Path path) { - this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); - } - - public QBookmark(PathMetadata metadata) { - this(metadata, PathInits.getFor(metadata, INITS)); - } - - public QBookmark(PathMetadata metadata, PathInits inits) { - this(Bookmark.class, metadata, inits); - } - - public QBookmark(Class type, PathMetadata metadata, PathInits inits) { - super(type, metadata, inits); - this.folderId = inits.isInitialized("folderId") ? new QBookmarkFolder(forProperty("folderId"), inits.get("folderId")) : null; - this.postId = inits.isInitialized("postId") ? new com.example.FixLog.domain.post.QPost(forProperty("postId"), inits.get("postId")) : null; - } - -} - diff --git a/src/main/generated/com/example/FixLog/domain/bookmark/QBookmarkFolder.java b/src/main/generated/com/example/FixLog/domain/bookmark/QBookmarkFolder.java deleted file mode 100644 index 9ae87de..0000000 --- a/src/main/generated/com/example/FixLog/domain/bookmark/QBookmarkFolder.java +++ /dev/null @@ -1,55 +0,0 @@ -package com.example.FixLog.domain.bookmark; - -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; - - -/** - * QBookmarkFolder is a Querydsl query type for BookmarkFolder - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QBookmarkFolder extends EntityPathBase { - - private static final long serialVersionUID = 655942016L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QBookmarkFolder bookmarkFolder = new QBookmarkFolder("bookmarkFolder"); - - public final ListPath bookmarks = this.createList("bookmarks", Bookmark.class, QBookmark.class, PathInits.DIRECT2); - - public final NumberPath folderId = createNumber("folderId", Long.class); - - public final StringPath folderName = createString("folderName"); - - public final com.example.FixLog.domain.member.QMember userId; - - public QBookmarkFolder(String variable) { - this(BookmarkFolder.class, forVariable(variable), INITS); - } - - public QBookmarkFolder(Path path) { - this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); - } - - public QBookmarkFolder(PathMetadata metadata) { - this(metadata, PathInits.getFor(metadata, INITS)); - } - - public QBookmarkFolder(PathMetadata metadata, PathInits inits) { - this(BookmarkFolder.class, metadata, inits); - } - - public QBookmarkFolder(Class type, PathMetadata metadata, PathInits inits) { - super(type, metadata, inits); - this.userId = inits.isInitialized("userId") ? new com.example.FixLog.domain.member.QMember(forProperty("userId"), inits.get("userId")) : null; - } - -} - diff --git a/src/main/generated/com/example/FixLog/domain/follow/QFollow.java b/src/main/generated/com/example/FixLog/domain/follow/QFollow.java deleted file mode 100644 index 4186783..0000000 --- a/src/main/generated/com/example/FixLog/domain/follow/QFollow.java +++ /dev/null @@ -1,54 +0,0 @@ -package com.example.FixLog.domain.follow; - -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; - - -/** - * QFollow is a Querydsl query type for Follow - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QFollow extends EntityPathBase { - - private static final long serialVersionUID = 1281338898L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QFollow follow = new QFollow("follow"); - - public final com.example.FixLog.domain.member.QMember followerId; - - public final NumberPath followId = createNumber("followId", Long.class); - - public final com.example.FixLog.domain.member.QMember followingId; - - public QFollow(String variable) { - this(Follow.class, forVariable(variable), INITS); - } - - public QFollow(Path path) { - this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); - } - - public QFollow(PathMetadata metadata) { - this(metadata, PathInits.getFor(metadata, INITS)); - } - - public QFollow(PathMetadata metadata, PathInits inits) { - this(Follow.class, metadata, inits); - } - - public QFollow(Class type, PathMetadata metadata, PathInits inits) { - super(type, metadata, inits); - this.followerId = inits.isInitialized("followerId") ? new com.example.FixLog.domain.member.QMember(forProperty("followerId"), inits.get("followerId")) : null; - this.followingId = inits.isInitialized("followingId") ? new com.example.FixLog.domain.member.QMember(forProperty("followingId"), inits.get("followingId")) : null; - } - -} - diff --git a/src/main/generated/com/example/FixLog/domain/fork/QFork.java b/src/main/generated/com/example/FixLog/domain/fork/QFork.java deleted file mode 100644 index 4631aad..0000000 --- a/src/main/generated/com/example/FixLog/domain/fork/QFork.java +++ /dev/null @@ -1,57 +0,0 @@ -package com.example.FixLog.domain.fork; - -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; - - -/** - * QFork is a Querydsl query type for Fork - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QFork extends EntityPathBase { - - private static final long serialVersionUID = 1327242738L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QFork fork = new QFork("fork"); - - public final com.example.FixLog.domain.post.QPost forkedPostId; - - public final NumberPath forkId = createNumber("forkId", Long.class); - - public final com.example.FixLog.domain.post.QPost originalPostId; - - public final com.example.FixLog.domain.member.QMember userId; - - public QFork(String variable) { - this(Fork.class, forVariable(variable), INITS); - } - - public QFork(Path path) { - this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); - } - - public QFork(PathMetadata metadata) { - this(metadata, PathInits.getFor(metadata, INITS)); - } - - public QFork(PathMetadata metadata, PathInits inits) { - this(Fork.class, metadata, inits); - } - - public QFork(Class type, PathMetadata metadata, PathInits inits) { - super(type, metadata, inits); - this.forkedPostId = inits.isInitialized("forkedPostId") ? new com.example.FixLog.domain.post.QPost(forProperty("forkedPostId"), inits.get("forkedPostId")) : null; - this.originalPostId = inits.isInitialized("originalPostId") ? new com.example.FixLog.domain.post.QPost(forProperty("originalPostId"), inits.get("originalPostId")) : null; - this.userId = inits.isInitialized("userId") ? new com.example.FixLog.domain.member.QMember(forProperty("userId"), inits.get("userId")) : null; - } - -} - diff --git a/src/main/generated/com/example/FixLog/domain/like/QPostLike.java b/src/main/generated/com/example/FixLog/domain/like/QPostLike.java deleted file mode 100644 index 5bb85a6..0000000 --- a/src/main/generated/com/example/FixLog/domain/like/QPostLike.java +++ /dev/null @@ -1,56 +0,0 @@ -package com.example.FixLog.domain.like; - -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; - - -/** - * QPostLike is a Querydsl query type for PostLike - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QPostLike extends EntityPathBase { - - private static final long serialVersionUID = -1255529902L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QPostLike postLike = new QPostLike("postLike"); - - public final BooleanPath isLiked = createBoolean("isLiked"); - - public final NumberPath likeId = createNumber("likeId", Long.class); - - public final com.example.FixLog.domain.post.QPost postId; - - public final com.example.FixLog.domain.member.QMember userId; - - public QPostLike(String variable) { - this(PostLike.class, forVariable(variable), INITS); - } - - public QPostLike(Path path) { - this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); - } - - public QPostLike(PathMetadata metadata) { - this(metadata, PathInits.getFor(metadata, INITS)); - } - - public QPostLike(PathMetadata metadata, PathInits inits) { - this(PostLike.class, metadata, inits); - } - - public QPostLike(Class type, PathMetadata metadata, PathInits inits) { - super(type, metadata, inits); - this.postId = inits.isInitialized("postId") ? new com.example.FixLog.domain.post.QPost(forProperty("postId"), inits.get("postId")) : null; - this.userId = inits.isInitialized("userId") ? new com.example.FixLog.domain.member.QMember(forProperty("userId"), inits.get("userId")) : null; - } - -} - diff --git a/src/main/generated/com/example/FixLog/domain/member/QMember.java b/src/main/generated/com/example/FixLog/domain/member/QMember.java deleted file mode 100644 index b466382..0000000 --- a/src/main/generated/com/example/FixLog/domain/member/QMember.java +++ /dev/null @@ -1,71 +0,0 @@ -package com.example.FixLog.domain.member; - -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; - - -/** - * QMember is a Querydsl query type for Member - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QMember extends EntityPathBase { - - private static final long serialVersionUID = -933378574L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QMember member = new QMember("member1"); - - public final StringPath bio = createString("bio"); - - public final com.example.FixLog.domain.bookmark.QBookmarkFolder bookmarkFolder; - - public final DateTimePath createdAt = createDateTime("createdAt", java.time.LocalDateTime.class); - - public final StringPath email = createString("email"); - - public final BooleanPath isDeleted = createBoolean("isDeleted"); - - public final StringPath nickname = createString("nickname"); - - public final StringPath password = createString("password"); - - public final ListPath posts = this.createList("posts", com.example.FixLog.domain.post.Post.class, com.example.FixLog.domain.post.QPost.class, PathInits.DIRECT2); - - public final StringPath profileImageUrl = createString("profileImageUrl"); - - public final EnumPath socialType = createEnum("socialType", SocialType.class); - - public final DateTimePath updatedAt = createDateTime("updatedAt", java.time.LocalDateTime.class); - - public final NumberPath userId = createNumber("userId", Long.class); - - public QMember(String variable) { - this(Member.class, forVariable(variable), INITS); - } - - public QMember(Path path) { - this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); - } - - public QMember(PathMetadata metadata) { - this(metadata, PathInits.getFor(metadata, INITS)); - } - - public QMember(PathMetadata metadata, PathInits inits) { - this(Member.class, metadata, inits); - } - - public QMember(Class type, PathMetadata metadata, PathInits inits) { - super(type, metadata, inits); - this.bookmarkFolder = inits.isInitialized("bookmarkFolder") ? new com.example.FixLog.domain.bookmark.QBookmarkFolder(forProperty("bookmarkFolder"), inits.get("bookmarkFolder")) : null; - } - -} - diff --git a/src/main/generated/com/example/FixLog/domain/post/QPost.java b/src/main/generated/com/example/FixLog/domain/post/QPost.java deleted file mode 100644 index 76d7522..0000000 --- a/src/main/generated/com/example/FixLog/domain/post/QPost.java +++ /dev/null @@ -1,81 +0,0 @@ -package com.example.FixLog.domain.post; - -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; - - -/** - * QPost is a Querydsl query type for Post - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QPost extends EntityPathBase { - - private static final long serialVersionUID = 1578031282L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QPost post = new QPost("post"); - - public final ListPath bookmarks = this.createList("bookmarks", com.example.FixLog.domain.bookmark.Bookmark.class, com.example.FixLog.domain.bookmark.QBookmark.class, PathInits.DIRECT2); - - public final StringPath causeAnalysis = createString("causeAnalysis"); - - public final StringPath coverImage = createString("coverImage"); - - public final DateTimePath createdAt = createDateTime("createdAt", java.time.LocalDateTime.class); - - public final DateTimePath editedAt = createDateTime("editedAt", java.time.LocalDateTime.class); - - public final StringPath environment = createString("environment"); - - public final StringPath errorMessage = createString("errorMessage"); - - public final StringPath extraContent = createString("extraContent"); - - public final NumberPath postId = createNumber("postId", Long.class); - - public final ListPath postLikes = this.createList("postLikes", com.example.FixLog.domain.like.PostLike.class, com.example.FixLog.domain.like.QPostLike.class, PathInits.DIRECT2); - - public final ListPath postTags = this.createList("postTags", PostTag.class, QPostTag.class, PathInits.DIRECT2); - - public final StringPath postTitle = createString("postTitle"); - - public final StringPath problem = createString("problem"); - - public final StringPath referenceLink = createString("referenceLink"); - - public final StringPath reproduceCode = createString("reproduceCode"); - - public final StringPath solutionCode = createString("solutionCode"); - - public final com.example.FixLog.domain.member.QMember userId; - - public QPost(String variable) { - this(Post.class, forVariable(variable), INITS); - } - - public QPost(Path path) { - this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); - } - - public QPost(PathMetadata metadata) { - this(metadata, PathInits.getFor(metadata, INITS)); - } - - public QPost(PathMetadata metadata, PathInits inits) { - this(Post.class, metadata, inits); - } - - public QPost(Class type, PathMetadata metadata, PathInits inits) { - super(type, metadata, inits); - this.userId = inits.isInitialized("userId") ? new com.example.FixLog.domain.member.QMember(forProperty("userId"), inits.get("userId")) : null; - } - -} - diff --git a/src/main/generated/com/example/FixLog/domain/post/QPostTag.java b/src/main/generated/com/example/FixLog/domain/post/QPostTag.java deleted file mode 100644 index d3844cd..0000000 --- a/src/main/generated/com/example/FixLog/domain/post/QPostTag.java +++ /dev/null @@ -1,54 +0,0 @@ -package com.example.FixLog.domain.post; - -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; - - -/** - * QPostTag is a Querydsl query type for PostTag - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QPostTag extends EntityPathBase { - - private static final long serialVersionUID = -1582016120L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QPostTag postTag = new QPostTag("postTag"); - - public final QPost postId; - - public final NumberPath postTagId = createNumber("postTagId", Long.class); - - public final com.example.FixLog.domain.tag.QTag tagId; - - public QPostTag(String variable) { - this(PostTag.class, forVariable(variable), INITS); - } - - public QPostTag(Path path) { - this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); - } - - public QPostTag(PathMetadata metadata) { - this(metadata, PathInits.getFor(metadata, INITS)); - } - - public QPostTag(PathMetadata metadata, PathInits inits) { - this(PostTag.class, metadata, inits); - } - - public QPostTag(Class type, PathMetadata metadata, PathInits inits) { - super(type, metadata, inits); - this.postId = inits.isInitialized("postId") ? new QPost(forProperty("postId"), inits.get("postId")) : null; - this.tagId = inits.isInitialized("tagId") ? new com.example.FixLog.domain.tag.QTag(forProperty("tagId")) : null; - } - -} - diff --git a/src/main/generated/com/example/FixLog/domain/tag/QTag.java b/src/main/generated/com/example/FixLog/domain/tag/QTag.java deleted file mode 100644 index 04398e7..0000000 --- a/src/main/generated/com/example/FixLog/domain/tag/QTag.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.example.FixLog.domain.tag; - -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; - - -/** - * QTag is a Querydsl query type for Tag - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QTag extends EntityPathBase { - - private static final long serialVersionUID = -1474567286L; - - public static final QTag tag = new QTag("tag"); - - public final EnumPath tagCategory = createEnum("tagCategory", TagCategory.class); - - public final NumberPath tagId = createNumber("tagId", Long.class); - - public final StringPath tagInfo = createString("tagInfo"); - - public final StringPath tagName = createString("tagName"); - - public QTag(String variable) { - super(Tag.class, forVariable(variable)); - } - - public QTag(Path path) { - super(path.getType(), path.getMetadata()); - } - - public QTag(PathMetadata metadata) { - super(Tag.class, metadata); - } - -} - diff --git a/src/main/generated/com/example/FixLog/tset/QTestMember.java b/src/main/generated/com/example/FixLog/tset/QTestMember.java deleted file mode 100644 index daad525..0000000 --- a/src/main/generated/com/example/FixLog/tset/QTestMember.java +++ /dev/null @@ -1,41 +0,0 @@ -package com.example.FixLog.tset; - -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; - - -/** - * QTestMember is a Querydsl query type for TestMember - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QTestMember extends EntityPathBase { - - private static final long serialVersionUID = -1256703330L; - - public static final QTestMember testMember = new QTestMember("testMember"); - - public final NumberPath id = createNumber("id", Long.class); - - public final StringPath name = createString("name"); - - public final StringPath password = createString("password"); - - public QTestMember(String variable) { - super(TestMember.class, forVariable(variable)); - } - - public QTestMember(Path path) { - super(path.getType(), path.getMetadata()); - } - - public QTestMember(PathMetadata metadata) { - super(TestMember.class, metadata); - } - -} - From 969934a31b0b1151e28933d5d82e447c2f5c5694 Mon Sep 17 00:00:00 2001 From: chae_1 <129128205+sungchaewon@users.noreply.github.com> Date: Thu, 19 Jun 2025 21:44:30 +0900 Subject: [PATCH 4/7] Update deploy.sh --- scripts/deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 679c7e5..676354c 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,6 +1,8 @@ #!/bin/bash -export $(grep -v '^#' /home/ec2-user/app/.env | xargs) +set -a +source /home/ec2-user/app/.env +set +a BUILD_JAR=$(ls /home/ec2-user/app/*.jar) JAR_NAME=$(basename $BUILD_JAR) From 479c3628c75eb53cd9a8c74b9eb237d11df0f292 Mon Sep 17 00:00:00 2001 From: chae_1 <129128205+sungchaewon@users.noreply.github.com> Date: Thu, 19 Jun 2025 21:52:23 +0900 Subject: [PATCH 5/7] Update JwtUtil.java --- src/main/java/com/example/FixLog/util/JwtUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/example/FixLog/util/JwtUtil.java b/src/main/java/com/example/FixLog/util/JwtUtil.java index 4db6170..615c732 100644 --- a/src/main/java/com/example/FixLog/util/JwtUtil.java +++ b/src/main/java/com/example/FixLog/util/JwtUtil.java @@ -14,7 +14,7 @@ @Component public class JwtUtil { - @Value("${spring.jwt.secret}") + @Value("${jwt.secret}") private String secretKeyString; private Key secretKey; From 6c7a9c9a9386d3efc5861d959e350ab3184f7466 Mon Sep 17 00:00:00 2001 From: chae_1 <129128205+sungchaewon@users.noreply.github.com> Date: Thu, 19 Jun 2025 21:55:37 +0900 Subject: [PATCH 6/7] =?UTF-8?q?Update=20deploy.sh=20=EB=8B=A4=EC=8B=9C=20?= =?UTF-8?q?=EB=90=98=EB=8F=8C=EB=A6=AC=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/deploy.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 676354c..3597f2a 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,8 +1,6 @@ #!/bin/bash -set -a -source /home/ec2-user/app/.env -set +a +export $(grep -v '^#' /home/ec2-user/app/.env | xargs)Add commentMore actions BUILD_JAR=$(ls /home/ec2-user/app/*.jar) JAR_NAME=$(basename $BUILD_JAR) From a456416ab222e25ec2528cda28c51a32529b5fe1 Mon Sep 17 00:00:00 2001 From: chae_1 <129128205+sungchaewon@users.noreply.github.com> Date: Thu, 19 Jun 2025 21:58:59 +0900 Subject: [PATCH 7/7] Update deploy.sh --- scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 3597f2a..679c7e5 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,6 +1,6 @@ #!/bin/bash -export $(grep -v '^#' /home/ec2-user/app/.env | xargs)Add commentMore actions +export $(grep -v '^#' /home/ec2-user/app/.env | xargs) BUILD_JAR=$(ls /home/ec2-user/app/*.jar) JAR_NAME=$(basename $BUILD_JAR)