From 04c027f3f30fadb08120eab5682b4b52d651f392 Mon Sep 17 00:00:00 2001 From: HyeokJoon Date: Thu, 4 Jul 2024 14:33:05 +0900 Subject: [PATCH] [FIX]/#19-deploy --- Dockerfile | 16 +++++ .../chimaera/wagubook/entity/QCategory.java | 55 -------------- .../com/chimaera/wagubook/entity/QFollow.java | 54 -------------- .../chimaera/wagubook/entity/QLocation.java | 41 ----------- .../com/chimaera/wagubook/entity/QMember.java | 58 --------------- .../com/chimaera/wagubook/entity/QMenu.java | 61 ---------------- .../com/chimaera/wagubook/entity/QPost.java | 71 ------------------- .../com/chimaera/wagubook/entity/QShare.java | 55 -------------- .../com/chimaera/wagubook/entity/QStore.java | 57 --------------- 9 files changed, 16 insertions(+), 452 deletions(-) create mode 100644 Dockerfile delete mode 100644 src/main/generated/com/chimaera/wagubook/entity/QCategory.java delete mode 100644 src/main/generated/com/chimaera/wagubook/entity/QFollow.java delete mode 100644 src/main/generated/com/chimaera/wagubook/entity/QLocation.java delete mode 100644 src/main/generated/com/chimaera/wagubook/entity/QMember.java delete mode 100644 src/main/generated/com/chimaera/wagubook/entity/QMenu.java delete mode 100644 src/main/generated/com/chimaera/wagubook/entity/QPost.java delete mode 100644 src/main/generated/com/chimaera/wagubook/entity/QShare.java delete mode 100644 src/main/generated/com/chimaera/wagubook/entity/QStore.java diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ba72422 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +# Dockerfile + +# jdk17 Image Start +FROM openjdk:17 + +# 인자 설정 - JAR_File +ARG JAR_FILE=build/libs/*.jar + +# jar 파일 복제 +COPY ${JAR_FILE} app.jar + +# 인자 설정 부분과 jar 파일 복제 부분 합쳐서 진행해도 무방 +#COPY build/libs/*.jar app.jar + +# 실행 명령어 +ENTRYPOINT ["java", "-jar", "app.jar"] \ No newline at end of file diff --git a/src/main/generated/com/chimaera/wagubook/entity/QCategory.java b/src/main/generated/com/chimaera/wagubook/entity/QCategory.java deleted file mode 100644 index bfb961b..0000000 --- a/src/main/generated/com/chimaera/wagubook/entity/QCategory.java +++ /dev/null @@ -1,55 +0,0 @@ -package com.chimaera.wagubook.entity; - -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; - - -/** - * QCategory is a Querydsl query type for Category - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QCategory extends EntityPathBase { - - private static final long serialVersionUID = 307433057L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QCategory category = new QCategory("category"); - - public final StringPath categoryName = createString("categoryName"); - - public final NumberPath id = createNumber("id", Long.class); - - public final QMember member; - - public final ListPath posts = this.createList("posts", Post.class, QPost.class, PathInits.DIRECT2); - - public QCategory(String variable) { - this(Category.class, forVariable(variable), INITS); - } - - public QCategory(Path path) { - this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); - } - - public QCategory(PathMetadata metadata) { - this(metadata, PathInits.getFor(metadata, INITS)); - } - - public QCategory(PathMetadata metadata, PathInits inits) { - this(Category.class, metadata, inits); - } - - public QCategory(Class type, PathMetadata metadata, PathInits inits) { - super(type, metadata, inits); - this.member = inits.isInitialized("member") ? new QMember(forProperty("member")) : null; - } - -} - diff --git a/src/main/generated/com/chimaera/wagubook/entity/QFollow.java b/src/main/generated/com/chimaera/wagubook/entity/QFollow.java deleted file mode 100644 index 226898b..0000000 --- a/src/main/generated/com/chimaera/wagubook/entity/QFollow.java +++ /dev/null @@ -1,54 +0,0 @@ -package com.chimaera.wagubook.entity; - -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 = 1363708372L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QFollow follow = new QFollow("follow"); - - public final QMember follower; - - public final QMember following; - - public final NumberPath id = createNumber("id", Long.class); - - 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.follower = inits.isInitialized("follower") ? new QMember(forProperty("follower")) : null; - this.following = inits.isInitialized("following") ? new QMember(forProperty("following")) : null; - } - -} - diff --git a/src/main/generated/com/chimaera/wagubook/entity/QLocation.java b/src/main/generated/com/chimaera/wagubook/entity/QLocation.java deleted file mode 100644 index 6f239f1..0000000 --- a/src/main/generated/com/chimaera/wagubook/entity/QLocation.java +++ /dev/null @@ -1,41 +0,0 @@ -package com.chimaera.wagubook.entity; - -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; - - -/** - * QLocation is a Querydsl query type for Location - */ -@Generated("com.querydsl.codegen.DefaultEmbeddableSerializer") -public class QLocation extends BeanPath { - - private static final long serialVersionUID = -2137001704L; - - public static final QLocation location = new QLocation("location"); - - public final StringPath address = createString("address"); - - public final NumberPath posx = createNumber("posx", Double.class); - - public final NumberPath posy = createNumber("posy", Double.class); - - public QLocation(String variable) { - super(Location.class, forVariable(variable)); - } - - public QLocation(Path path) { - super(path.getType(), path.getMetadata()); - } - - public QLocation(PathMetadata metadata) { - super(Location.class, metadata); - } - -} - diff --git a/src/main/generated/com/chimaera/wagubook/entity/QMember.java b/src/main/generated/com/chimaera/wagubook/entity/QMember.java deleted file mode 100644 index 613b8e6..0000000 --- a/src/main/generated/com/chimaera/wagubook/entity/QMember.java +++ /dev/null @@ -1,58 +0,0 @@ -package com.chimaera.wagubook.entity; - -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 = 1554897085L; - - public static final QMember member = new QMember("member1"); - - public final ListPath categories = this.createList("categories", Category.class, QCategory.class, PathInits.DIRECT2); - - public final ListPath followers = this.createList("followers", Follow.class, QFollow.class, PathInits.DIRECT2); - - public final ListPath followings = this.createList("followings", Follow.class, QFollow.class, PathInits.DIRECT2); - - public final NumberPath id = createNumber("id", Long.class); - - public final StringPath name = createString("name"); - - public final BooleanPath onLive = createBoolean("onLive"); - - public final StringPath password = createString("password"); - - public final StringPath phoneNumber = createString("phoneNumber"); - - public final ListPath posts = this.createList("posts", Post.class, QPost.class, PathInits.DIRECT2); - - public final StringPath profileImage = createString("profileImage"); - - public final StringPath username = createString("username"); - - public QMember(String variable) { - super(Member.class, forVariable(variable)); - } - - public QMember(Path path) { - super(path.getType(), path.getMetadata()); - } - - public QMember(PathMetadata metadata) { - super(Member.class, metadata); - } - -} - diff --git a/src/main/generated/com/chimaera/wagubook/entity/QMenu.java b/src/main/generated/com/chimaera/wagubook/entity/QMenu.java deleted file mode 100644 index fa37e6f..0000000 --- a/src/main/generated/com/chimaera/wagubook/entity/QMenu.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.chimaera.wagubook.entity; - -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; - - -/** - * QMenu is a Querydsl query type for Menu - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QMenu extends EntityPathBase { - - private static final long serialVersionUID = -892235710L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QMenu menu = new QMenu("menu"); - - public final QCategory category; - - public final NumberPath id = createNumber("id", Long.class); - - public final StringPath menuName = createString("menuName"); - - public final NumberPath menuPrice = createNumber("menuPrice", Integer.class); - - public final QPost post; - - public final QStore store; - - public QMenu(String variable) { - this(Menu.class, forVariable(variable), INITS); - } - - public QMenu(Path path) { - this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); - } - - public QMenu(PathMetadata metadata) { - this(metadata, PathInits.getFor(metadata, INITS)); - } - - public QMenu(PathMetadata metadata, PathInits inits) { - this(Menu.class, metadata, inits); - } - - public QMenu(Class type, PathMetadata metadata, PathInits inits) { - super(type, metadata, inits); - this.category = inits.isInitialized("category") ? new QCategory(forProperty("category"), inits.get("category")) : null; - this.post = inits.isInitialized("post") ? new QPost(forProperty("post"), inits.get("post")) : null; - this.store = inits.isInitialized("store") ? new QStore(forProperty("store"), inits.get("store")) : null; - } - -} - diff --git a/src/main/generated/com/chimaera/wagubook/entity/QPost.java b/src/main/generated/com/chimaera/wagubook/entity/QPost.java deleted file mode 100644 index 3dbe3d7..0000000 --- a/src/main/generated/com/chimaera/wagubook/entity/QPost.java +++ /dev/null @@ -1,71 +0,0 @@ -package com.chimaera.wagubook.entity; - -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 = -892136573L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QPost post = new QPost("post"); - - public final QCategory category; - - public final DateTimePath createDate = createDateTime("createDate", java.time.LocalDateTime.class); - - public final NumberPath id = createNumber("id", Long.class); - - public final BooleanPath isAuto = createBoolean("isAuto"); - - public final QMember member; - - public final ListPath menus = this.createList("menus", Menu.class, QMenu.class, PathInits.DIRECT2); - - public final StringPath postContent = createString("postContent"); - - public final StringPath postImage = createString("postImage"); - - public final StringPath postMainMenu = createString("postMainMenu"); - - public final QStore store; - - public final DateTimePath updateDate = createDateTime("updateDate", java.time.LocalDateTime.class); - - 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.category = inits.isInitialized("category") ? new QCategory(forProperty("category"), inits.get("category")) : null; - this.member = inits.isInitialized("member") ? new QMember(forProperty("member")) : null; - this.store = inits.isInitialized("store") ? new QStore(forProperty("store"), inits.get("store")) : null; - } - -} - diff --git a/src/main/generated/com/chimaera/wagubook/entity/QShare.java b/src/main/generated/com/chimaera/wagubook/entity/QShare.java deleted file mode 100644 index ae4ff06..0000000 --- a/src/main/generated/com/chimaera/wagubook/entity/QShare.java +++ /dev/null @@ -1,55 +0,0 @@ -package com.chimaera.wagubook.entity; - -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; - - -/** - * QShare is a Querydsl query type for Share - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QShare extends EntityPathBase { - - private static final long serialVersionUID = -1883885220L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QShare share = new QShare("share"); - - public final NumberPath id = createNumber("id", Long.class); - - public final DateTimePath localDateTime = createDateTime("localDateTime", java.time.LocalDateTime.class); - - public final QMember member; - - public final StringPath url = createString("url"); - - public QShare(String variable) { - this(Share.class, forVariable(variable), INITS); - } - - public QShare(Path path) { - this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); - } - - public QShare(PathMetadata metadata) { - this(metadata, PathInits.getFor(metadata, INITS)); - } - - public QShare(PathMetadata metadata, PathInits inits) { - this(Share.class, metadata, inits); - } - - public QShare(Class type, PathMetadata metadata, PathInits inits) { - super(type, metadata, inits); - this.member = inits.isInitialized("member") ? new QMember(forProperty("member")) : null; - } - -} - diff --git a/src/main/generated/com/chimaera/wagubook/entity/QStore.java b/src/main/generated/com/chimaera/wagubook/entity/QStore.java deleted file mode 100644 index 9962e78..0000000 --- a/src/main/generated/com/chimaera/wagubook/entity/QStore.java +++ /dev/null @@ -1,57 +0,0 @@ -package com.chimaera.wagubook.entity; - -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; - - -/** - * QStore is a Querydsl query type for Store - */ -@Generated("com.querydsl.codegen.DefaultEntitySerializer") -public class QStore extends EntityPathBase { - - private static final long serialVersionUID = -1883514274L; - - private static final PathInits INITS = PathInits.DIRECT2; - - public static final QStore store = new QStore("store"); - - public final NumberPath id = createNumber("id", Long.class); - - public final ListPath menus = this.createList("menus", Menu.class, QMenu.class, PathInits.DIRECT2); - - public final ListPath posts = this.createList("posts", Post.class, QPost.class, PathInits.DIRECT2); - - public final QLocation storeLocation; - - public final StringPath storeName = createString("storeName"); - - public QStore(String variable) { - this(Store.class, forVariable(variable), INITS); - } - - public QStore(Path path) { - this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); - } - - public QStore(PathMetadata metadata) { - this(metadata, PathInits.getFor(metadata, INITS)); - } - - public QStore(PathMetadata metadata, PathInits inits) { - this(Store.class, metadata, inits); - } - - public QStore(Class type, PathMetadata metadata, PathInits inits) { - super(type, metadata, inits); - this.storeLocation = inits.isInitialized("storeLocation") ? new QLocation(forProperty("storeLocation")) : null; - } - -} -