Skip to content

Commit

Permalink
refac: 패키지 구조 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
DongGeon0908 committed Jul 8, 2024
1 parent 2485189 commit 682256f
Show file tree
Hide file tree
Showing 17 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/hero/alignlab/Application.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.hero.alignlab

import com.hero.alignlab.extension.Zone
import com.hero.alignlab.common.extension.Zone
import io.github.oshai.kotlinlogging.KotlinLogging
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.context.event.ApplicationReadyEvent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hero.alignlab.extension
package com.hero.alignlab.common.extension

import java.time.Instant
import java.time.LocalDate
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hero.alignlab.extension
package com.hero.alignlab.common.extension

import java.net.URLDecoder
import java.net.URLEncoder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hero.alignlab.extension
package com.hero.alignlab.common.extension

import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.core.type.TypeReference
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hero.alignlab.extension
package com.hero.alignlab.common.extension

import io.github.oshai.kotlinlogging.KLogger
import kotlinx.coroutines.CancellationException
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hero.alignlab.extension
package com.hero.alignlab.common.extension

import com.hero.alignlab.exception.AlignlabException
import com.hero.alignlab.exception.ErrorCode
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hero.alignlab.extension
package com.hero.alignlab.common.extension

import com.hero.alignlab.common.model.PageResponse
import com.hero.alignlab.common.model.Response
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hero.alignlab.extension
package com.hero.alignlab.common.extension

import org.springframework.http.server.reactive.ServerHttpRequest

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hero.alignlab.extension
package com.hero.alignlab.common.extension

import com.hero.alignlab.exception.ErrorCode
import com.hero.alignlab.exception.FailToExecuteException
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hero.alignlab.config
package com.hero.alignlab.config.encrypt

import com.hero.alignlab.common.encrypt.Encryptor
import io.github.oshai.kotlinlogging.KotlinLogging
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hero.alignlab.config
package com.hero.alignlab.config.jwt

import jakarta.validation.constraints.NotBlank
import org.springframework.boot.context.properties.ConfigurationProperties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hero.alignlab.config
package com.hero.alignlab.config.web

import com.fasterxml.jackson.annotation.JsonInclude
import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import com.hero.alignlab.domain.user.model.response.UserInfoResponse
import com.hero.alignlab.exception.ErrorCode
import com.hero.alignlab.exception.InvalidRequestException
import com.hero.alignlab.exception.InvalidTokenException
import com.hero.alignlab.extension.coExecute
import com.hero.alignlab.common.extension.coExecute
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import org.springframework.stereotype.Service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ package com.hero.alignlab.domain.auth.application
import com.auth0.jwt.JWT
import com.auth0.jwt.algorithms.Algorithm
import com.fasterxml.jackson.module.kotlin.readValue
import com.hero.alignlab.config.JwtConfig
import com.hero.alignlab.config.jwt.JwtConfig
import com.hero.alignlab.domain.auth.model.AuthUserToken
import com.hero.alignlab.domain.auth.model.AuthUserTokenPayload
import com.hero.alignlab.exception.ErrorCode
import com.hero.alignlab.exception.InvalidTokenException
import com.hero.alignlab.extension.decodeBase64
import com.hero.alignlab.extension.mapper
import com.hero.alignlab.extension.toInstant
import com.hero.alignlab.common.extension.decodeBase64
import com.hero.alignlab.common.extension.mapper
import com.hero.alignlab.common.extension.toInstant
import io.github.oshai.kotlinlogging.KotlinLogging
import org.springframework.stereotype.Service
import reactor.core.publisher.Mono
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import com.hero.alignlab.domain.auth.application.AuthFacade
import com.hero.alignlab.domain.auth.model.AuthUser
import com.hero.alignlab.domain.auth.model.request.SignInRequest
import com.hero.alignlab.domain.auth.model.request.SignUpRequest
import com.hero.alignlab.extension.wrapCreated
import com.hero.alignlab.extension.wrapOk
import com.hero.alignlab.common.extension.wrapCreated
import com.hero.alignlab.common.extension.wrapOk
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.tags.Tag
import org.springframework.http.MediaType
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.hero.alignlab.domain.health.resource

import com.hero.alignlab.domain.health.model.response.HealthResponse
import com.hero.alignlab.extension.wrapOk
import com.hero.alignlab.common.extension.wrapOk
import io.swagger.v3.oas.annotations.tags.Tag
import org.springframework.core.env.Environment
import org.springframework.http.MediaType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package com.hero.alignlab.domain.user.resource

import com.hero.alignlab.config.swagger.SwaggerTag.DEV_TAG
import com.hero.alignlab.domain.user.application.UserService
import com.hero.alignlab.extension.wrapOk
import com.hero.alignlab.common.extension.wrapOk
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.tags.Tag
import org.springframework.http.MediaType
Expand Down

0 comments on commit 682256f

Please sign in to comment.