리그 수정
This commit is contained in:
parent
a6cfca98aa
commit
237d3eacac
|
@ -72,6 +72,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
||||||
.antMatchers("/auth/**")
|
.antMatchers("/auth/**")
|
||||||
.permitAll()
|
.permitAll()
|
||||||
.antMatchers("/users/**")
|
.antMatchers("/users/**")
|
||||||
|
.permitAll()
|
||||||
|
.antMatchers("/league/**")
|
||||||
.permitAll()
|
.permitAll()
|
||||||
.anyRequest()
|
.anyRequest()
|
||||||
.authenticated();
|
.authenticated();
|
||||||
|
|
|
@ -148,8 +148,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Bundesliga I")
|
.engName("Germany Bundesliga I")
|
||||||
.kor_name("분데스리가")
|
.korName("분데스리가")
|
||||||
.sevenMName("GER BI")
|
.sevenMName("GER BI")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -157,8 +157,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Bundesliga II")
|
.engName("Germany Bundesliga II")
|
||||||
.kor_name("분데스리가 2")
|
.korName("분데스리가 2")
|
||||||
.sevenMName("GER B2")
|
.sevenMName("GER B2")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -167,8 +167,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany 3.Liga")
|
.engName("Germany 3.Liga")
|
||||||
.kor_name("3.리가")
|
.korName("3.리가")
|
||||||
.sevenMName("GER L3")
|
.sevenMName("GER L3")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -176,8 +176,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Regionalliga West")
|
.engName("Germany Regionalliga West")
|
||||||
.kor_name("레기오날리가 웨스트")
|
.korName("레기오날리가 웨스트")
|
||||||
.sevenMName("GER RL W")
|
.sevenMName("GER RL W")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -185,8 +185,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Regionalliga North")
|
.engName("Germany Regionalliga North")
|
||||||
.kor_name("레기오날리가 노스")
|
.korName("레기오날리가 노스")
|
||||||
.sevenMName("GER RL N")
|
.sevenMName("GER RL N")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -195,8 +195,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Regionalliga North East")
|
.engName("Germany Regionalliga North East")
|
||||||
.kor_name("레기오날리가 노스 이스트")
|
.korName("레기오날리가 노스 이스트")
|
||||||
.sevenMName("GER RL NE")
|
.sevenMName("GER RL NE")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -205,8 +205,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Oberliga Rheinland-Pfalz/Saar")
|
.engName("Germany Oberliga Rheinland-Pfalz/Saar")
|
||||||
.kor_name("오벨리가 Rheinland-Pfalz/Saar")
|
.korName("오벨리가 Rheinland-Pfalz/Saar")
|
||||||
.sevenMName("GER OL R")
|
.sevenMName("GER OL R")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -215,8 +215,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Regionalliga Bayern")
|
.engName("Germany Regionalliga Bayern")
|
||||||
.kor_name("레기오날리가 바이에른")
|
.korName("레기오날리가 바이에른")
|
||||||
.sevenMName("GER RL B")
|
.sevenMName("GER RL B")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -225,8 +225,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Oberliga Hamburg")
|
.engName("Germany Oberliga Hamburg")
|
||||||
.kor_name("오벨리가 함부르크")
|
.korName("오벨리가 함부르크")
|
||||||
.sevenMName("GER OL H")
|
.sevenMName("GER OL H")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -235,8 +235,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Oberliga Bayern North")
|
.engName("Germany Oberliga Bayern North")
|
||||||
.kor_name("오벨리가 바이에른 노스")
|
.korName("오벨리가 바이에른 노스")
|
||||||
.sevenMName("GER OL BN")
|
.sevenMName("GER OL BN")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -245,8 +245,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Oberliga Baden-Wuerttemberg")
|
.engName("Germany Oberliga Baden-Wuerttemberg")
|
||||||
.kor_name("오벨리가 Baden-Wuerttemberg")
|
.korName("오벨리가 Baden-Wuerttemberg")
|
||||||
.sevenMName("GER OL BW")
|
.sevenMName("GER OL BW")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -255,8 +255,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Oberliga Westfalen")
|
.engName("Germany Oberliga Westfalen")
|
||||||
.kor_name("오벨리가 Westfalen")
|
.korName("오벨리가 Westfalen")
|
||||||
.sevenMName("GER OL W")
|
.sevenMName("GER OL W")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -265,8 +265,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Oberliga NOFV Sud")
|
.engName("Germany Oberliga NOFV Sud")
|
||||||
.kor_name("오벨리가 NOFV Sud")
|
.korName("오벨리가 NOFV Sud")
|
||||||
.sevenMName("GER OL NS")
|
.sevenMName("GER OL NS")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -275,8 +275,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독일")
|
.korCountry("독일")
|
||||||
.eng_name("Germany Bundesliga Women")
|
.engName("Germany Bundesliga Women")
|
||||||
.kor_name("우먼 분데스리가")
|
.korName("우먼 분데스리가")
|
||||||
.sevenMName("Germany BW")
|
.sevenMName("Germany BW")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -285,8 +285,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("England")
|
.engCountry("England")
|
||||||
.korCountry("잉글랜드")
|
.korCountry("잉글랜드")
|
||||||
.eng_name("Barclays Premier League")
|
.engName("Barclays Premier League")
|
||||||
.kor_name("프리미어 리그")
|
.korName("프리미어 리그")
|
||||||
.sevenMName("Barclays PL")
|
.sevenMName("Barclays PL")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -295,8 +295,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("England")
|
.engCountry("England")
|
||||||
.korCountry("잉글랜드")
|
.korCountry("잉글랜드")
|
||||||
.eng_name("England League 2")
|
.engName("England League 2")
|
||||||
.kor_name("리그 2")
|
.korName("리그 2")
|
||||||
.sevenMName("UK L2")
|
.sevenMName("UK L2")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -305,8 +305,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("England")
|
.engCountry("England")
|
||||||
.korCountry("잉글랜드")
|
.korCountry("잉글랜드")
|
||||||
.eng_name("England National League")
|
.engName("England National League")
|
||||||
.kor_name("내셔널 리그")
|
.korName("내셔널 리그")
|
||||||
.sevenMName("UK NL")
|
.sevenMName("UK NL")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -315,8 +315,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("England")
|
.engCountry("England")
|
||||||
.korCountry("잉글랜드")
|
.korCountry("잉글랜드")
|
||||||
.eng_name("England National League North")
|
.engName("England National League North")
|
||||||
.kor_name("내셔널 리그 노스")
|
.korName("내셔널 리그 노스")
|
||||||
.sevenMName("UK NLN")
|
.sevenMName("UK NLN")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -325,8 +325,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("England")
|
.engCountry("England")
|
||||||
.korCountry("잉글랜드")
|
.korCountry("잉글랜드")
|
||||||
.eng_name("England National League South")
|
.engName("England National League South")
|
||||||
.kor_name("내셔널 리그 사우스")
|
.korName("내셔널 리그 사우스")
|
||||||
.sevenMName("UK NLS")
|
.sevenMName("UK NLS")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -335,8 +335,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("England")
|
.engCountry("England")
|
||||||
.korCountry("잉글랜드")
|
.korCountry("잉글랜드")
|
||||||
.eng_name("England Isthmian Premier Division")
|
.engName("England Isthmian Premier Division")
|
||||||
.kor_name("이스미안 프리미어 디비전")
|
.korName("이스미안 프리미어 디비전")
|
||||||
.sevenMName("Isthmian PD")
|
.sevenMName("Isthmian PD")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -345,8 +345,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("England")
|
.engCountry("England")
|
||||||
.korCountry("잉글랜드")
|
.korCountry("잉글랜드")
|
||||||
.eng_name("England Southern Premier League South")
|
.engName("England Southern Premier League South")
|
||||||
.kor_name("사우던 프리미어 리그 사우스")
|
.korName("사우던 프리미어 리그 사우스")
|
||||||
.sevenMName("England SPL S")
|
.sevenMName("England SPL S")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -355,8 +355,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("England")
|
.engCountry("England")
|
||||||
.korCountry("잉글랜드")
|
.korCountry("잉글랜드")
|
||||||
.eng_name("England Southern Premier League Central")
|
.engName("England Southern Premier League Central")
|
||||||
.kor_name("사우던 프리미어 리그 센트럴")
|
.korName("사우던 프리미어 리그 센트럴")
|
||||||
.sevenMName("England SPL C")
|
.sevenMName("England SPL C")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -365,8 +365,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("England")
|
.engCountry("England")
|
||||||
.korCountry("잉글랜드")
|
.korCountry("잉글랜드")
|
||||||
.eng_name("England Southern League Division One")
|
.engName("England Southern League Division One")
|
||||||
.kor_name("사우던 리그 디비전 1")
|
.korName("사우던 리그 디비전 1")
|
||||||
.sevenMName("UK SLD1")
|
.sevenMName("UK SLD1")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -375,8 +375,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("England")
|
.engCountry("England")
|
||||||
.korCountry("잉글랜드")
|
.korCountry("잉글랜드")
|
||||||
.eng_name("England U23 Development League")
|
.engName("England U23 Development League")
|
||||||
.kor_name("유스 U23 디벨럽먼트 리그")
|
.korName("유스 U23 디벨럽먼트 리그")
|
||||||
.sevenMName("England U23 DL")
|
.sevenMName("England U23 DL")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -385,8 +385,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("England")
|
.engCountry("England")
|
||||||
.korCountry("잉글랜드")
|
.korCountry("잉글랜드")
|
||||||
.eng_name("Lancashire Senior Cup")
|
.engName("Lancashire Senior Cup")
|
||||||
.kor_name("랭커셔 시니어 컵")
|
.korName("랭커셔 시니어 컵")
|
||||||
.sevenMName("UK LS Cup")
|
.sevenMName("UK LS Cup")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
@ -395,8 +395,8 @@ public class DbInitializer implements CommandLineRunner {
|
||||||
leagueEntity = LeagueEntity.builder()
|
leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("England")
|
.engCountry("England")
|
||||||
.korCountry("잉글랜드")
|
.korCountry("잉글랜드")
|
||||||
.eng_name("England FA WSL")
|
.engName("England FA WSL")
|
||||||
.kor_name("우먼 FA 슈퍼리그")
|
.korName("우먼 FA 슈퍼리그")
|
||||||
.sevenMName("FA WSL")
|
.sevenMName("FA WSL")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
|
|
@ -22,10 +22,10 @@ public class LeagueEntity extends DateAuditEntity {
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
@Column(name = "eng_name", nullable = false, length = 200)
|
@Column(name = "eng_name", nullable = false, length = 200)
|
||||||
private String eng_name;
|
private String engName;
|
||||||
|
|
||||||
@Column(name = "kor_name", nullable = true, length = 200)
|
@Column(name = "kor_name", nullable = true, length = 200)
|
||||||
private String kor_name;
|
private String korName;
|
||||||
|
|
||||||
@Column(name = "seven_m_name", nullable = true, length = 50)
|
@Column(name = "seven_m_name", nullable = true, length = 50)
|
||||||
private String sevenMName;
|
private String sevenMName;
|
||||||
|
|
|
@ -33,8 +33,8 @@ public class LeagueRepositoryTest {
|
||||||
LeagueEntity leagueEntity = LeagueEntity.builder()
|
LeagueEntity leagueEntity = LeagueEntity.builder()
|
||||||
.engCountry("Germany")
|
.engCountry("Germany")
|
||||||
.korCountry("독알")
|
.korCountry("독알")
|
||||||
.eng_name("Germany Bundesliga I")
|
.engName("Germany Bundesliga I")
|
||||||
.kor_name("분데스리가")
|
.korName("분데스리가")
|
||||||
.sevenMName("GER BI")
|
.sevenMName("GER BI")
|
||||||
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
.sportsEntities(Stream.of(SportsEntity.builder().id(Short.valueOf((short) 1)).build()).collect(Collectors.toCollection(HashSet::new)))
|
||||||
.build();
|
.build();
|
||||||
|
|
|
@ -14,7 +14,7 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
@Ignore
|
//@Ignore
|
||||||
@RunWith(SpringRunner.class)
|
@RunWith(SpringRunner.class)
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
public class LeagueServiceTest {
|
public class LeagueServiceTest {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user