Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge: (#286) SPI 구조 변경 #297

Merged
merged 6 commits into from
Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package team.comit.simtong.domain.schedule.spi

import team.comit.simtong.domain.schedule.model.Schedule
import team.comit.simtong.domain.schedule.model.Scope
import team.comit.simtong.domain.schedule.vo.SpotSchedule
import team.comit.simtong.domain.schedule.spi.vo.SpotSchedule
import java.time.LocalDate
import java.util.UUID

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ import team.comit.simtong.domain.schedule.spi.ScheduleQueryUserPort
* @date 2022/09/18
* @version 1.0.0
**/
interface UserPort : QueryUserPort, CommandUserPort, CommandDeviceTokenPort, MenuQueryUserPort, ScheduleQueryUserPort, HolidayQueryUserPort, NotificationQueryUserPort
interface UserPort : QueryUserPort, CommandUserPort, CommandDeviceTokenPort, MenuQueryUserPort, ScheduleQueryUserPort,
HolidayQueryUserPort, NotificationQueryUserPort
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import team.comit.simtong.domain.schedule.dto.QueryEntireSpotScheduleResponse
import team.comit.simtong.domain.schedule.dto.SpotScheduleResponse
import team.comit.simtong.domain.schedule.model.Scope
import team.comit.simtong.domain.schedule.spi.QuerySchedulePort
import team.comit.simtong.domain.schedule.vo.SpotSchedule
import team.comit.simtong.domain.schedule.spi.vo.SpotSchedule
import team.comit.simtong.global.annotation.SimtongTest
import java.time.LocalDate
import java.util.UUID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import org.mockito.BDDMockito.given
import org.springframework.boot.test.mock.mockito.MockBean
import org.springframework.context.annotation.Import
import org.springframework.test.context.junit.jupiter.SpringExtension
import team.comit.simtong.domain.schedule.exception.ScheduleExceptions
import team.comit.simtong.domain.spot.exception.SpotExceptions
import team.comit.simtong.domain.user.exception.UserExceptions
import team.comit.simtong.domain.user.model.Authority
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows
import org.mockito.BDDMockito.given
import org.springframework.boot.test.mock.mockito.MockBean
import team.comit.simtong.domain.schedule.exception.ScheduleExceptions
import team.comit.simtong.domain.spot.exception.SpotExceptions
import team.comit.simtong.domain.spot.model.Spot
import team.comit.simtong.domain.user.dto.QueryUserInfoResponse
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package team.comit.simtong.domain.schedule.vo
package team.comit.simtong.domain.schedule.spi.vo

import java.time.LocalDate
import java.util.UUID
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package team.comit.simtong.persistence.holiday.vo

import com.querydsl.core.annotations.QueryProjection
import team.comit.simtong.domain.holiday.model.HolidayType
import team.comit.simtong.domain.holiday.spi.vo.EmployeeHoliday
import team.comit.simtong.domain.holiday.model.HolidayType
import java.time.LocalDate
import java.util.UUID

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.springframework.stereotype.Component
import team.comit.simtong.domain.schedule.model.Schedule
import team.comit.simtong.domain.schedule.model.Scope
import team.comit.simtong.domain.schedule.spi.SchedulePort
import team.comit.simtong.domain.schedule.vo.SpotSchedule
import team.comit.simtong.domain.schedule.spi.vo.SpotSchedule
import team.comit.simtong.global.extension.QuerydslExtensionUtils.or
import team.comit.simtong.persistence.schedule.mapper.ScheduleMapper
import team.comit.simtong.persistence.schedule.vo.QSpotScheduleVo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package team.comit.simtong.persistence.schedule.vo

import com.querydsl.core.annotations.QueryProjection
import team.comit.simtong.domain.schedule.vo.SpotSchedule
import team.comit.simtong.domain.schedule.spi.vo.SpotSchedule
import java.time.LocalDate
import java.util.UUID

Expand Down