Skip to content

Commit

Permalink
Merge pull request #400 from miIlicon/development
Browse files Browse the repository at this point in the history
서비스 배포
  • Loading branch information
gkfktkrh153 authored Oct 10, 2023
2 parents 6795397 + 4552de2 commit 56fc24c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/festival/common/util/ValidationUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ public class ValidationUtils {
"^([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) (2[0-3]|[01][0-9]):[0-5][0-9]$";

public void isGuideValid(GuideReq guide) {
checkStrLength(guide.getContent(), 1, 300);
checkStrLength(guide.getContent(), 1, 500);
String[] typeList = {"NOTICE"};
}

public void isBoothValid(BoothReq booth) {
checkStrLength(booth.getTitle(), 1, 30);
checkStrLength(booth.getSubTitle(), 1, 50);
checkStrLength(booth.getContent(), 1, 300);
checkStrLength(booth.getContent(), 1, 1000);
checkNumberRange(booth.getLatitude(), -90.0, 90.0);
checkNumberRange(booth.getLongitude(), -180, 180);
String[] typeList = {"FOOD_TRUCK", "FLEA_MARKET", "PUB"};
Expand All @@ -46,7 +46,7 @@ public void isBoothValid(BoothReq booth) {
public void isProgramValid(ProgramReq program) {
checkStrLength(program.getTitle(), 1, 30);
checkStrLength(program.getSubTitle(), 1, 50);
checkStrLength(program.getContent(), 1, 300);
checkStrLength(program.getContent(), 1, 1000);
checkNumberRange(program.getLatitude(), -90.0, 90.0);
checkNumberRange(program.getLongitude(), -180, 180);
String[] typeList = {"EVENT", "GAME"};
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ spring:
url: jdbc:mariadb://mariadb_1:3306/withfestival?characterEncoding=UTF-8&serverTimezone=UTC
jpa:
hibernate:
ddl-auto: create
ddl-auto: none

custom:
redis:
Expand Down

0 comments on commit 56fc24c

Please sign in to comment.