Skip to content

Commit

Permalink
refactor : reservation 웹 패키지 구조 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
le2sky committed Sep 8, 2023
1 parent fa40295 commit 7025623
Show file tree
Hide file tree
Showing 19 changed files with 31 additions and 31 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mealkitary.reservation.adapter.input.web
package com.mealkitary.reservation.web

import com.mealkitary.common.utils.UUIDUtils
import com.mealkitary.reservation.application.port.input.AcceptReservationUseCase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mealkitary.reservation.adapter.input.web
package com.mealkitary.reservation.web

import com.mealkitary.common.utils.UUIDUtils
import com.mealkitary.reservation.application.port.input.GetReservationQuery
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.mealkitary.reservation.adapter.input.web
package com.mealkitary.reservation.web

import com.mealkitary.common.utils.HttpResponseUtils
import com.mealkitary.common.utils.UUIDUtils
import com.mealkitary.reservation.adapter.input.web.request.PayReservationWebRequest
import com.mealkitary.reservation.application.port.input.PayReservationUseCase
import com.mealkitary.reservation.web.request.PayReservationWebRequest
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.PathVariable
import org.springframework.web.bind.annotation.PostMapping
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mealkitary.reservation.adapter.input.web
package com.mealkitary.reservation.web

import com.mealkitary.common.utils.UUIDUtils
import com.mealkitary.reservation.application.port.input.RejectReservationUseCase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.mealkitary.reservation.adapter.input.web
package com.mealkitary.reservation.web

import com.mealkitary.common.utils.HttpResponseUtils
import com.mealkitary.reservation.adapter.input.web.request.ReserveProductWebRequest
import com.mealkitary.reservation.application.port.input.ReserveProductUseCase
import com.mealkitary.reservation.web.request.ReserveProductWebRequest
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestBody
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mealkitary.reservation.adapter.input.web.request
package com.mealkitary.reservation.web.request

import com.mealkitary.reservation.application.port.input.PayReservationRequest
import java.util.UUID
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mealkitary.reservation.adapter.input.web.request
package com.mealkitary.reservation.web.request

import com.mealkitary.common.validation.DateValid
import com.mealkitary.reservation.application.port.input.ReserveProductRequest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mealkitary.reservation.adapter.input.web.request
package com.mealkitary.reservation.web.request

import com.mealkitary.reservation.application.port.input.ReservedProduct
import javax.validation.constraints.NotBlank
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.docs.reservation

import com.docs.RestDocsSupport
import com.mealkitary.reservation.adapter.input.web.AcceptReservationController
import com.mealkitary.reservation.application.port.input.AcceptReservationUseCase
import com.mealkitary.reservation.web.AcceptReservationController
import io.mockk.every
import io.mockk.mockk
import org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.document
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.docs.reservation

import com.docs.RestDocsSupport
import com.mealkitary.reservation.adapter.input.web.GetReservationController
import com.mealkitary.reservation.application.port.input.GetReservationQuery
import com.mealkitary.reservation.application.port.input.ReservationResponse
import com.mealkitary.reservation.application.port.input.ReservedProduct
import com.mealkitary.reservation.web.GetReservationController
import io.mockk.every
import io.mockk.mockk
import org.springframework.http.MediaType
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.docs.reservation

import com.docs.RestDocsSupport
import com.mealkitary.reservation.adapter.input.web.PayReservationController
import com.mealkitary.reservation.adapter.input.web.request.PayReservationWebRequest
import com.mealkitary.reservation.application.port.input.PayReservationUseCase
import com.mealkitary.reservation.web.PayReservationController
import com.mealkitary.reservation.web.request.PayReservationWebRequest
import io.mockk.every
import io.mockk.mockk
import org.springframework.http.MediaType
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.docs.reservation

import com.docs.RestDocsSupport
import com.mealkitary.reservation.adapter.input.web.RejectReservationController
import com.mealkitary.reservation.application.port.input.RejectReservationUseCase
import com.mealkitary.reservation.web.RejectReservationController
import io.mockk.every
import io.mockk.mockk
import org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.document
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.docs.reservation

import com.docs.RestDocsSupport
import com.mealkitary.reservation.adapter.input.web.ReserveProductController
import com.mealkitary.reservation.adapter.input.web.request.ReserveProductWebRequest
import com.mealkitary.reservation.adapter.input.web.request.ReservedWebProduct
import com.mealkitary.reservation.application.port.input.ReserveProductUseCase
import com.mealkitary.reservation.web.ReserveProductController
import com.mealkitary.reservation.web.request.ReserveProductWebRequest
import com.mealkitary.reservation.web.request.ReservedWebProduct
import io.mockk.every
import io.mockk.mockk
import org.springframework.http.MediaType
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package com.mealkitary

import com.fasterxml.jackson.databind.ObjectMapper
import com.mealkitary.reservation.adapter.input.web.AcceptReservationController
import com.mealkitary.reservation.adapter.input.web.GetReservationController
import com.mealkitary.reservation.adapter.input.web.PayReservationController
import com.mealkitary.reservation.adapter.input.web.RejectReservationController
import com.mealkitary.reservation.adapter.input.web.ReserveProductController
import com.mealkitary.reservation.application.port.input.AcceptReservationUseCase
import com.mealkitary.reservation.application.port.input.GetReservationQuery
import com.mealkitary.reservation.application.port.input.PayReservationUseCase
import com.mealkitary.reservation.application.port.input.RejectReservationUseCase
import com.mealkitary.reservation.application.port.input.ReserveProductUseCase
import com.mealkitary.reservation.web.AcceptReservationController
import com.mealkitary.reservation.web.GetReservationController
import com.mealkitary.reservation.web.PayReservationController
import com.mealkitary.reservation.web.RejectReservationController
import com.mealkitary.reservation.web.ReserveProductController
import com.mealkitary.shop.application.port.input.GetProductQuery
import com.mealkitary.shop.application.port.input.GetReservableTimeQuery
import com.mealkitary.shop.application.port.input.GetShopQuery
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mealkitary.reservation.adapter.input.web
package com.mealkitary.reservation.web

import com.mealkitary.WebIntegrationTestSupport
import com.mealkitary.common.exception.EntityNotFoundException
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mealkitary.reservation.adapter.input.web
package com.mealkitary.reservation.web

import com.mealkitary.WebIntegrationTestSupport
import com.mealkitary.common.exception.EntityNotFoundException
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.mealkitary.reservation.adapter.input.web
package com.mealkitary.reservation.web

import com.mealkitary.WebIntegrationTestSupport
import com.mealkitary.common.exception.EntityNotFoundException
import com.mealkitary.reservation.adapter.input.web.request.PayReservationWebRequest
import com.mealkitary.reservation.web.request.PayReservationWebRequest
import io.mockk.every
import org.springframework.http.MediaType
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mealkitary.reservation.adapter.input.web
package com.mealkitary.reservation.web

import com.mealkitary.WebIntegrationTestSupport
import com.mealkitary.common.exception.EntityNotFoundException
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.mealkitary.reservation.adapter.input.web
package com.mealkitary.reservation.web

import com.mealkitary.WebIntegrationTestSupport
import com.mealkitary.common.exception.EntityNotFoundException
import com.mealkitary.reservation.adapter.input.web.request.ReserveProductWebRequest
import com.mealkitary.reservation.adapter.input.web.request.ReservedWebProduct
import com.mealkitary.reservation.web.request.ReserveProductWebRequest
import com.mealkitary.reservation.web.request.ReservedWebProduct
import io.mockk.every
import org.springframework.http.MediaType
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post
Expand Down

0 comments on commit 7025623

Please sign in to comment.