-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
638 additions
and
461 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,29 +32,21 @@ public class DataInitializer implements ApplicationRunner { | |
@Override | ||
public void run(ApplicationArguments args) { | ||
Member member1 = memberRepository.save( | ||
new Member("jcoding-play", null, "조경찬", | ||
"[email protected]", true, "119468757")); | ||
new Member("jcoding-play", null, "조경찬", "119468757")); | ||
Member member2 = memberRepository.save( | ||
new Member("ashsty", null, "박민아", | ||
null, false, "77227961")); | ||
new Member("ashsty", null, "박민아", "77227961")); | ||
Member member3 = memberRepository.save( | ||
new Member("youngsu5582", null, "이영수", | ||
null, false, "98307410")); | ||
new Member("youngsu5582", null, "이영수", "98307410")); | ||
Member member4 = memberRepository.save( | ||
new Member("hjk0761", null, "김현중", | ||
null, true, "80106238")); | ||
new Member("hjk0761", null, "김현중", "80106238")); | ||
Member member5 = memberRepository.save( | ||
new Member("chlwlstlf", null, "최진실", | ||
null, true, "63334368")); | ||
new Member("chlwlstlf", null, "최진실", "63334368")); | ||
Member member6 = memberRepository.save( | ||
new Member("00kang", null, "강다빈", | ||
null, true, "70834044")); | ||
new Member("00kang", null, "강다빈", "70834044")); | ||
Member member7 = memberRepository.save( | ||
new Member("pp449", null, "이상엽", | ||
"[email protected]", true, "71641127")); | ||
new Member("pp449", null, "이상엽", "71641127")); | ||
Member member8 = memberRepository.save( | ||
new Member("pobi", null, "포비", | ||
null, false, "99112400")); | ||
new Member("pobi", null, "포비", "99112400")); | ||
|
||
Room room1 = roomRepository.save( | ||
new Room("방 제목 1", "방 설명 1", 3, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,15 +14,6 @@ public record GithubUserInfo(@Schema(description = "아이디", example = "young | |
@JsonProperty("avatar_url") | ||
String avatarUrl, | ||
|
||
@Schema(description = "이메일", example = "[email protected]") | ||
String email, | ||
|
||
@Schema(description = "깃허브 ID", example = "98307410") | ||
String id) { | ||
|
||
public GithubUserInfo { | ||
if (email == null) { | ||
email = ""; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,7 +79,6 @@ void extendAuthorization() { | |
"youngsu5582", | ||
"조희선", | ||
"https://gongu.copyright.or.kr/", | ||
"[email protected]", | ||
"98307410" | ||
)); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,6 @@ public static Member MEMBER_ROOM_MANAGER_JOYSON() { | |
"joyson5582", | ||
"https://avatars.githubusercontent.com/u/98307410?v=4", | ||
"조이썬", | ||
"[email protected]", | ||
false, | ||
"99112400" | ||
); | ||
} | ||
|
@@ -54,8 +52,6 @@ public static Member MEMBER_PORORO_WITH_ID(Long id) { | |
"pororo", | ||
"https://avatars.githubusercontent.com/u/98307410?v=4", | ||
"조경찬", | ||
"[email protected]", | ||
false, | ||
"", | ||
"119468757", | ||
new Profile() | ||
|
@@ -68,8 +64,6 @@ public static Member MEMBER_MOVIN_WITH_ID(Long id) { | |
"hjk0761", | ||
"https://avatars.githubusercontent.com/u/98307410?v=4", | ||
"김현중", | ||
"[email protected]", | ||
false, | ||
"", | ||
"80106238", | ||
new Profile() | ||
|
@@ -82,8 +76,6 @@ public static Member MEMBER_YOUNGSU_WITH_ID(Long id) { | |
"youngsu5582", | ||
"https://avatars.githubusercontent.com/u/98307410?v=4", | ||
"이영수", | ||
"[email protected]", | ||
false, | ||
"", | ||
"98307410", | ||
new Profile() | ||
|
@@ -96,8 +88,6 @@ public static Member MEMBER_ASH_WITH_ID(Long id) { | |
"ashsty", | ||
"https://avatars.githubusercontent.com/u/98307410?v=4", | ||
"박민아", | ||
"[email protected]", | ||
false, | ||
"", | ||
"77227961", | ||
new Profile() | ||
|
@@ -110,8 +100,6 @@ public static Member MEMBER_CHOCO_WITH_ID(Long id) { | |
"choco", | ||
"https://avatars.githubusercontent.com/u/98307410?v=4", | ||
"강다빈", | ||
"[email protected]", | ||
false, | ||
"", | ||
"70834044", | ||
new Profile() | ||
|
@@ -124,8 +112,6 @@ public static Member MEMBER_TENTEN_WITH_ID(Long id) { | |
"chlwlstlf", | ||
"https://avatars.githubusercontent.com/u/98307410?v=4", | ||
"최진실", | ||
"[email protected]", | ||
false, | ||
"", | ||
"63334368", | ||
new Profile() | ||
|
@@ -138,8 +124,6 @@ public static Member MEMBER_DARR_WITH_ID(Long id) { | |
"darr", | ||
"https://avatars.githubusercontent.com/u/98307410?v=4", | ||
"이상엽", | ||
"[email protected]", | ||
false, | ||
"", | ||
"71641127", | ||
new Profile() | ||
|
@@ -151,8 +135,6 @@ public static Member MEMBER_PORORO(Profile profile) { | |
"pororo", | ||
"https://avatars.githubusercontent.com/u/98307410?v=4", | ||
null, | ||
"[email protected]", | ||
false, | ||
"119468757", | ||
profile | ||
); | ||
|
@@ -163,8 +145,6 @@ public static Member MEMBER_PORORO_GITHUB() { | |
"jcoding-play", | ||
"https://avatars.githubusercontent.com/u/98307410?v=4", | ||
null, | ||
"[email protected]", | ||
false, | ||
"119468757" | ||
); | ||
} | ||
|
@@ -186,8 +166,6 @@ public static List<Member> CREATE_MEMBERS(int index) { | |
"name : " + (idx + 10), | ||
"https://avatars.githubusercontent.com/u/98307410?v=4", | ||
null, | ||
"[email protected]", | ||
false, | ||
"119468757" | ||
)) | ||
.toList(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.