File tree Expand file tree Collapse file tree 13 files changed +19
-50
lines changed
api/src/main/kotlin/controller Expand file tree Collapse file tree 13 files changed +19
-50
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ name: deploy-native-template
33on :
44 workflow_call :
55 inputs :
6- target_branch :
7- required : false
8- type : string
9- default : ' '
106 ecr_repository :
117 required : true
128 type : string
3430 steps :
3531 - name : Checkout
3632 uses : actions/checkout@v4
37- with :
38- ref : ${{ inputs.target_branch || github.ref }}
3933
4034 - name : Configure AWS credentials
4135 uses : aws-actions/configure-aws-credentials@v4
Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ name: deploy-template
33on :
44 workflow_call :
55 inputs :
6- target_branch :
7- required : false
8- type : string
9- default : ' '
106 ecr_repository :
117 required : true
128 type : string
3430 steps :
3531 - name : Checkout
3632 uses : actions/checkout@v4
37- with :
38- ref : ${{ inputs.target_branch || github.ref }}
3933
4034 - name : Configure AWS credentials
4135 uses : aws-actions/configure-aws-credentials@v4
Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ name: Deploy Manual Native
33on :
44 workflow_dispatch :
55 inputs :
6- target_branch :
7- description : ' 배포할 브랜치명'
8- required : true
9- type : string
106 ecr_repository :
117 description : ' ECR 리포지토리 (예: snutt-dev/snutt-timetable)'
128 required : true
2016 deploy :
2117 uses : ./.github/workflows/_deploy-native.yml
2218 with :
23- target_branch : ${{ inputs.target_branch }}
2419 ecr_repository : ${{ inputs.ecr_repository }}
2520 dockerfile : ${{ inputs.dockerfile }}
2621 secrets :
Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ name: Deploy Manual
33on :
44 workflow_dispatch :
55 inputs :
6- target_branch :
7- description : ' 배포할 브랜치명'
8- required : true
9- type : string
106 ecr_repository :
117 description : ' ECR 리포지토리 (예: snutt-dev/snutt-timetable)'
128 required : true
2016 deploy :
2117 uses : ./.github/workflows/_deploy.yml
2218 with :
23- target_branch : ${{ inputs.target_branch }}
2419 ecr_repository : ${{ inputs.ecr_repository }}
2520 dockerfile : ${{ inputs.dockerfile }}
2621 secrets :
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package com.wafflestudio.snutt.controller
22
33import com.wafflestudio.snutt.common.dto.OkResponse
44import com.wafflestudio.snutt.config.CurrentUser
5+ import com.wafflestudio.snutt.filter.SnuttDefaultApiFilterTarget
56import com.wafflestudio.snutt.filter.SnuttNoAuthApiFilterTarget
67import com.wafflestudio.snutt.users.data.User
78import com.wafflestudio.snutt.users.dto.EmailResponse
@@ -108,6 +109,7 @@ class AuthController(
108109 return OkResponse ()
109110 }
110111
112+ @SnuttDefaultApiFilterTarget
111113 @PostMapping(" /logout" )
112114 suspend fun logout (
113115 @CurrentUser user : User ,
Original file line number Diff line number Diff line change @@ -13,12 +13,6 @@ dependencies {
1313 api(" org.jetbrains.kotlinx:kotlinx-coroutines-jdk8" )
1414 api(" org.springframework.boot:spring-boot-starter-data-mongodb-reactive" )
1515
16- // TODO: https://jira.mongodb.org/browse/JAVA-6038 이슈 해결된 spring-boot-starter-data-mongodb 업그레이드 후 아래 의존성 삭제
17- api(" org.mongodb:mongodb-driver-sync:5.5.2" )
18- api(" org.mongodb:bson:5.5.2" )
19- api(" org.mongodb:mongodb-driver-core:5.5.2" )
20- api(" org.mongodb:bson-record-codec:5.5.2" )
21-
2216 api(" org.springframework.boot:spring-boot-starter-data-redis" )
2317
2418 implementation(" org.springframework.security:spring-security-crypto" )
Original file line number Diff line number Diff line change 11package com.wafflestudio.snutt.auth.kakao
22
3- import tools.jackson.databind.PropertyNamingStrategies
4- import tools.jackson.databind.annotation.JsonNaming
3+ import com.fasterxml.jackson.annotation.JsonProperty
54
6- @JsonNaming(PropertyNamingStrategies .SnakeCaseStrategy ::class )
75data class KakaoOAuth2UserResponse (
86 val id : Long ,
7+ @param:JsonProperty("kakao_account")
98 val kakaoAccount : KakaoAccountDto ,
109)
1110
12- @JsonNaming(PropertyNamingStrategies .SnakeCaseStrategy ::class )
1311data class KakaoAccountDto (
1412 val email : String ,
13+ @param:JsonProperty("is_email_verified")
1514 val isEmailVerified : Boolean ,
1615)
Original file line number Diff line number Diff line change 11package com.wafflestudio.snutt.bookmark.dto
22
3- import tools.jackson.databind.PropertyNamingStrategies
4- import tools.jackson.databind.annotation.JsonNaming
3+ import com.fasterxml.jackson.annotation.JsonProperty
54
6- @JsonNaming(PropertyNamingStrategies .SnakeCaseStrategy ::class )
75data class BookmarkLectureModifyRequest (
6+ @param:JsonProperty("lecture_id")
87 val lectureId : String ,
98)
Original file line number Diff line number Diff line change 11package com.wafflestudio.snutt.users.dto
22
3- import tools.jackson.databind.PropertyNamingStrategies
4- import tools.jackson.databind.annotation.JsonNaming
3+ import com.fasterxml.jackson.annotation.JsonProperty
54
6- @JsonNaming(PropertyNamingStrategies .SnakeCaseStrategy ::class )
75data class FacebookLoginRequest (
6+ @param:JsonProperty("fb_id")
87 val fbId : String? ,
8+ @param:JsonProperty("fb_token")
99 val fbToken : String ,
1010)
Original file line number Diff line number Diff line change 11package com.wafflestudio.snutt.users.dto
22
3- import tools.jackson.databind.PropertyNamingStrategies
4- import tools.jackson.databind.annotation.JsonNaming
3+ import com.fasterxml.jackson.annotation.JsonProperty
54
6- @JsonNaming(PropertyNamingStrategies .SnakeCaseStrategy ::class )
75data class LoginResponse (
6+ @param:JsonProperty("user_id")
87 val userId : String ,
98 val token : String ,
109 val message : String = " ok" ,
You can’t perform that action at this time.
0 commit comments