Skip to content

Commit

Permalink
[CHORE] yml rds로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hcg0127 committed Jul 23, 2024
1 parent bee5727 commit a40c2bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 0 additions & 4 deletions src/main/java/umc/haruchi/service/MemberService.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,17 @@
import org.springframework.transaction.annotation.Transactional;
import umc.haruchi.apiPayload.code.status.ErrorStatus;
import umc.haruchi.apiPayload.exception.handler.MemberHandler;
import umc.haruchi.config.login.jwt.JwtTokenService;
import umc.haruchi.config.login.jwt.JwtUtil;
import umc.haruchi.converter.MemberConverter;
import umc.haruchi.domain.Member;
import umc.haruchi.domain.MemberToken;
import umc.haruchi.domain.Withdrawer;
import umc.haruchi.domain.enums.MemberStatus;
import umc.haruchi.repository.MemberRepository;
import umc.haruchi.repository.MemberTokenRepository;
import umc.haruchi.repository.WithdrawerRepository;
import umc.haruchi.web.dto.MemberRequestDTO;
import umc.haruchi.web.dto.MemberResponseDTO;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Optional;
import java.util.concurrent.TimeUnit;

Expand Down
11 changes: 4 additions & 7 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306/haruchi #${DEV_MYSQL_URL}
username: root #${DEV_MYSQL_USERNAME}
password: mysql #${DEV_MYSQL_PASSWORD}
url: ${DEV_MYSQL_URL}
username: ${DEV_MYSQL_USERNAME}
password: ${DEV_MYSQL_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver

jpa:
Expand Down Expand Up @@ -33,7 +33,4 @@ spring:
type: redis #redis를 설치하고 redis-cli.exe를 실행해야 함

jwt:
secret: nR5cCI6IxpoNGY8ZVziIyMDIwMjJ9hbGciOyJzCJe8bGwv
token:
access-expiration-time: 1800000
refresh-expiration-time: 1209600000
secret: nR5cCI6IxpoNGY8ZVziIyMDIwMjJ9hbGciOyJzCJe8bGwv

0 comments on commit a40c2bd

Please sign in to comment.