diff --git a/app/api/show-api/src/main/java/com/example/artist/service/ArtistAdminService.java b/app/api/show-api/src/main/java/com/example/artist/service/ArtistAdminService.java index 3d1a83a1..cde84048 100644 --- a/app/api/show-api/src/main/java/com/example/artist/service/ArtistAdminService.java +++ b/app/api/show-api/src/main/java/com/example/artist/service/ArtistAdminService.java @@ -10,7 +10,7 @@ import lombok.RequiredArgsConstructor; import org.example.dto.artist.response.ArtistDetailDomainResponse; import org.example.entity.artist.Artist; -import org.example.usecase.artist.ArtistUseCase; +import org.example.usecase.ArtistUseCase; import org.springframework.stereotype.Service; @Service diff --git a/app/api/show-api/src/main/java/com/example/artist/service/ArtistService.java b/app/api/show-api/src/main/java/com/example/artist/service/ArtistService.java index dc10b0cd..e3d2d9ae 100644 --- a/app/api/show-api/src/main/java/com/example/artist/service/ArtistService.java +++ b/app/api/show-api/src/main/java/com/example/artist/service/ArtistService.java @@ -23,9 +23,9 @@ import org.example.dto.response.PaginationServiceResponse; import org.example.entity.ArtistSubscription; import org.example.entity.artist.Artist; -import org.example.usecase.artist.ArtistUseCase; -import org.example.usecase.subscription.ArtistSubscriptionUseCase; -import org.example.usecase.user.UserUseCase; +import org.example.usecase.ArtistSubscriptionUseCase; +import org.example.usecase.ArtistUseCase; +import org.example.usecase.UserUseCase; import org.springframework.stereotype.Service; @Service diff --git a/app/api/show-api/src/main/java/com/example/genre/service/GenreAdminService.java b/app/api/show-api/src/main/java/com/example/genre/service/GenreAdminService.java index 8a5a50e3..efd0affe 100644 --- a/app/api/show-api/src/main/java/com/example/genre/service/GenreAdminService.java +++ b/app/api/show-api/src/main/java/com/example/genre/service/GenreAdminService.java @@ -7,7 +7,7 @@ import java.util.UUID; import lombok.RequiredArgsConstructor; import org.example.entity.genre.Genre; -import org.example.usecase.genre.GenreUseCase; +import org.example.usecase.GenreUseCase; import org.springframework.stereotype.Service; @Service diff --git a/app/api/show-api/src/main/java/com/example/genre/service/GenreService.java b/app/api/show-api/src/main/java/com/example/genre/service/GenreService.java index 68047b59..dff2182e 100644 --- a/app/api/show-api/src/main/java/com/example/genre/service/GenreService.java +++ b/app/api/show-api/src/main/java/com/example/genre/service/GenreService.java @@ -21,9 +21,9 @@ import org.example.dto.response.PaginationServiceResponse; import org.example.entity.GenreSubscription; import org.example.entity.genre.Genre; -import org.example.usecase.genre.GenreUseCase; -import org.example.usecase.subscription.GenreSubscriptionUseCase; -import org.example.usecase.user.UserUseCase; +import org.example.usecase.GenreSubscriptionUseCase; +import org.example.usecase.GenreUseCase; +import org.example.usecase.UserUseCase; import org.springframework.stereotype.Service; @Service diff --git a/app/api/show-api/src/main/java/com/example/show/service/ShowAdminService.java b/app/api/show-api/src/main/java/com/example/show/service/ShowAdminService.java index 11ae5c6e..65eb0137 100644 --- a/app/api/show-api/src/main/java/com/example/show/service/ShowAdminService.java +++ b/app/api/show-api/src/main/java/com/example/show/service/ShowAdminService.java @@ -11,9 +11,9 @@ import java.util.UUID; import lombok.RequiredArgsConstructor; import org.example.dto.show.response.ShowInfoDomainResponse; -import org.example.usecase.artist.ArtistUseCase; -import org.example.usecase.genre.GenreUseCase; -import org.example.usecase.show.ShowAdminUseCase; +import org.example.usecase.ArtistUseCase; +import org.example.usecase.GenreUseCase; +import org.example.usecase.ShowAdminUseCase; import org.springframework.stereotype.Service; @Service diff --git a/app/api/show-api/src/main/java/com/example/show/service/ShowService.java b/app/api/show-api/src/main/java/com/example/show/service/ShowService.java index b44e267c..92131482 100644 --- a/app/api/show-api/src/main/java/com/example/show/service/ShowService.java +++ b/app/api/show-api/src/main/java/com/example/show/service/ShowService.java @@ -12,8 +12,8 @@ import lombok.RequiredArgsConstructor; import org.example.dto.response.PaginationServiceResponse; import org.example.dto.show.response.ShowDetailDomainResponse; -import org.example.usecase.interest.InterestShowUseCase; -import org.example.usecase.show.ShowUseCase; +import org.example.usecase.InterestShowUseCase; +import org.example.usecase.ShowUseCase; import org.springframework.stereotype.Service; @Service diff --git a/app/api/show-api/src/main/java/com/example/show/service/UserShowService.java b/app/api/show-api/src/main/java/com/example/show/service/UserShowService.java index 6c7d7cf1..de26e996 100644 --- a/app/api/show-api/src/main/java/com/example/show/service/UserShowService.java +++ b/app/api/show-api/src/main/java/com/example/show/service/UserShowService.java @@ -30,9 +30,9 @@ import org.example.entity.show.Show; import org.example.entity.show.ShowTicketingTime; import org.example.exception.BusinessException; -import org.example.usecase.interest.InterestShowUseCase; -import org.example.usecase.show.ShowUseCase; -import org.example.usecase.ticketing.TicketingAlertUseCase; +import org.example.usecase.InterestShowUseCase; +import org.example.usecase.ShowUseCase; +import org.example.usecase.TicketingAlertUseCase; import org.springframework.stereotype.Service; @Service diff --git a/app/api/show-api/src/test/java/artist/service/ArtistAdminServiceTest.java b/app/api/show-api/src/test/java/artist/service/ArtistAdminServiceTest.java index de112222..4327669a 100644 --- a/app/api/show-api/src/test/java/artist/service/ArtistAdminServiceTest.java +++ b/app/api/show-api/src/test/java/artist/service/ArtistAdminServiceTest.java @@ -15,7 +15,7 @@ import com.example.component.FileUploadComponent; import java.util.UUID; import org.example.entity.artist.Artist; -import org.example.usecase.artist.ArtistUseCase; +import org.example.usecase.ArtistUseCase; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; diff --git a/app/api/show-api/src/test/java/artist/service/ArtistServiceTest.java b/app/api/show-api/src/test/java/artist/service/ArtistServiceTest.java index 3c0369be..23b04d06 100644 --- a/app/api/show-api/src/test/java/artist/service/ArtistServiceTest.java +++ b/app/api/show-api/src/test/java/artist/service/ArtistServiceTest.java @@ -23,9 +23,9 @@ import org.example.entity.artist.Artist; import org.example.fixture.ArtistSubscriptionFixture; import org.example.fixture.domain.ArtistFixture; -import org.example.usecase.artist.ArtistUseCase; -import org.example.usecase.subscription.ArtistSubscriptionUseCase; -import org.example.usecase.user.UserUseCase; +import org.example.usecase.ArtistSubscriptionUseCase; +import org.example.usecase.ArtistUseCase; +import org.example.usecase.UserUseCase; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; diff --git a/app/api/show-api/src/test/java/genre/service/GenreServiceTest.java b/app/api/show-api/src/test/java/genre/service/GenreServiceTest.java index 18f4a142..0e212696 100644 --- a/app/api/show-api/src/test/java/genre/service/GenreServiceTest.java +++ b/app/api/show-api/src/test/java/genre/service/GenreServiceTest.java @@ -22,9 +22,9 @@ import org.example.entity.genre.Genre; import org.example.fixture.GenreSubscriptionFixture; import org.example.fixture.domain.GenreFixture; -import org.example.usecase.genre.GenreUseCase; -import org.example.usecase.subscription.GenreSubscriptionUseCase; -import org.example.usecase.user.UserUseCase; +import org.example.usecase.GenreSubscriptionUseCase; +import org.example.usecase.GenreUseCase; +import org.example.usecase.UserUseCase; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; diff --git a/app/api/show-api/src/test/java/show/service/ShowAdminServiceTest.java b/app/api/show-api/src/test/java/show/service/ShowAdminServiceTest.java index 7cd564bb..c9dafa10 100644 --- a/app/api/show-api/src/test/java/show/service/ShowAdminServiceTest.java +++ b/app/api/show-api/src/test/java/show/service/ShowAdminServiceTest.java @@ -20,9 +20,9 @@ import org.example.dto.show.request.ShowUpdateDomainRequest; import org.example.fixture.domain.ShowArtistFixture; import org.example.fixture.domain.ShowGenreFixture; -import org.example.usecase.artist.ArtistUseCase; -import org.example.usecase.genre.GenreUseCase; -import org.example.usecase.show.ShowAdminUseCase; +import org.example.usecase.ArtistUseCase; +import org.example.usecase.GenreUseCase; +import org.example.usecase.ShowAdminUseCase; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import show.fixture.dto.ShowRequestDtoFixture; diff --git a/app/api/show-api/src/test/java/show/service/ShowServiceTest.java b/app/api/show-api/src/test/java/show/service/ShowServiceTest.java index 2b931818..46a370e4 100644 --- a/app/api/show-api/src/test/java/show/service/ShowServiceTest.java +++ b/app/api/show-api/src/test/java/show/service/ShowServiceTest.java @@ -10,8 +10,8 @@ import com.example.show.service.ShowService; import java.util.UUID; import org.assertj.core.api.SoftAssertions; -import org.example.usecase.interest.InterestShowUseCase; -import org.example.usecase.show.ShowUseCase; +import org.example.usecase.InterestShowUseCase; +import org.example.usecase.ShowUseCase; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import show.fixture.dto.ShowRequestDtoFixture; diff --git a/app/api/user-api/src/main/java/org/example/service/AdminService.java b/app/api/user-api/src/main/java/org/example/service/AdminService.java index cae95ab2..60f75d66 100644 --- a/app/api/user-api/src/main/java/org/example/service/AdminService.java +++ b/app/api/user-api/src/main/java/org/example/service/AdminService.java @@ -2,7 +2,7 @@ import lombok.RequiredArgsConstructor; import org.example.service.dto.request.AdminLoginServiceRequest; -import org.example.usecase.admin.AdminUseCase; +import org.example.usecase.AdminUseCase; import org.springframework.stereotype.Service; @Service diff --git a/app/api/user-api/src/main/java/org/example/service/UserService.java b/app/api/user-api/src/main/java/org/example/service/UserService.java index 2ac878e6..133bfe1d 100644 --- a/app/api/user-api/src/main/java/org/example/service/UserService.java +++ b/app/api/user-api/src/main/java/org/example/service/UserService.java @@ -16,7 +16,7 @@ import org.example.service.dto.request.ReissueServiceRequest; import org.example.service.dto.request.WithdrawalServiceRequest; import org.example.service.dto.response.UserProfileServiceResponse; -import org.example.usecase.user.UserUseCase; +import org.example.usecase.UserUseCase; import org.springframework.stereotype.Service; @Service diff --git a/app/api/user-api/src/test/java/org/example/service/UserServiceTest.java b/app/api/user-api/src/test/java/org/example/service/UserServiceTest.java index 1d14e7a8..44b60d8b 100644 --- a/app/api/user-api/src/test/java/org/example/service/UserServiceTest.java +++ b/app/api/user-api/src/test/java/org/example/service/UserServiceTest.java @@ -15,7 +15,7 @@ import org.example.security.dto.UserParam; import org.example.security.token.JWTGenerator; import org.example.security.token.TokenProcessor; -import org.example.usecase.user.UserUseCase; +import org.example.usecase.UserUseCase; import org.example.vo.SocialLoginApiType; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; diff --git a/app/domain/show-domain/src/main/java/org/example/usecase/artist/ArtistUseCase.java b/app/domain/show-domain/src/main/java/org/example/usecase/ArtistUseCase.java similarity index 99% rename from app/domain/show-domain/src/main/java/org/example/usecase/artist/ArtistUseCase.java rename to app/domain/show-domain/src/main/java/org/example/usecase/ArtistUseCase.java index 73da4c7b..f75451e7 100644 --- a/app/domain/show-domain/src/main/java/org/example/usecase/artist/ArtistUseCase.java +++ b/app/domain/show-domain/src/main/java/org/example/usecase/ArtistUseCase.java @@ -1,4 +1,4 @@ -package org.example.usecase.artist; +package org.example.usecase; import java.util.List; import java.util.NoSuchElementException; diff --git a/app/domain/show-domain/src/main/java/org/example/usecase/genre/GenreUseCase.java b/app/domain/show-domain/src/main/java/org/example/usecase/GenreUseCase.java similarity index 98% rename from app/domain/show-domain/src/main/java/org/example/usecase/genre/GenreUseCase.java rename to app/domain/show-domain/src/main/java/org/example/usecase/GenreUseCase.java index d8a20feb..2b446e6f 100644 --- a/app/domain/show-domain/src/main/java/org/example/usecase/genre/GenreUseCase.java +++ b/app/domain/show-domain/src/main/java/org/example/usecase/GenreUseCase.java @@ -1,4 +1,4 @@ -package org.example.usecase.genre; +package org.example.usecase; import java.util.List; import java.util.NoSuchElementException; diff --git a/app/domain/show-domain/src/main/java/org/example/usecase/show/ShowAdminUseCase.java b/app/domain/show-domain/src/main/java/org/example/usecase/ShowAdminUseCase.java similarity index 99% rename from app/domain/show-domain/src/main/java/org/example/usecase/show/ShowAdminUseCase.java rename to app/domain/show-domain/src/main/java/org/example/usecase/ShowAdminUseCase.java index f7e8ce07..70d2f197 100644 --- a/app/domain/show-domain/src/main/java/org/example/usecase/show/ShowAdminUseCase.java +++ b/app/domain/show-domain/src/main/java/org/example/usecase/ShowAdminUseCase.java @@ -1,4 +1,4 @@ -package org.example.usecase.show; +package org.example.usecase; import java.util.List; import java.util.NoSuchElementException; diff --git a/app/domain/show-domain/src/main/java/org/example/usecase/show/ShowUseCase.java b/app/domain/show-domain/src/main/java/org/example/usecase/ShowUseCase.java similarity index 98% rename from app/domain/show-domain/src/main/java/org/example/usecase/show/ShowUseCase.java rename to app/domain/show-domain/src/main/java/org/example/usecase/ShowUseCase.java index 66bb0026..f7a68d74 100644 --- a/app/domain/show-domain/src/main/java/org/example/usecase/show/ShowUseCase.java +++ b/app/domain/show-domain/src/main/java/org/example/usecase/ShowUseCase.java @@ -1,4 +1,4 @@ -package org.example.usecase.show; +package org.example.usecase; import java.time.LocalDateTime; import java.util.List; diff --git a/app/domain/user-domain/src/main/java/org/example/usecase/admin/AdminUseCase.java b/app/domain/user-domain/src/main/java/org/example/usecase/AdminUseCase.java similarity index 95% rename from app/domain/user-domain/src/main/java/org/example/usecase/admin/AdminUseCase.java rename to app/domain/user-domain/src/main/java/org/example/usecase/AdminUseCase.java index f435ba71..8dfe79cc 100644 --- a/app/domain/user-domain/src/main/java/org/example/usecase/admin/AdminUseCase.java +++ b/app/domain/user-domain/src/main/java/org/example/usecase/AdminUseCase.java @@ -1,4 +1,4 @@ -package org.example.usecase.admin; +package org.example.usecase; import lombok.RequiredArgsConstructor; import org.example.entity.Admin; diff --git a/app/domain/user-domain/src/main/java/org/example/usecase/subscription/ArtistSubscriptionUseCase.java b/app/domain/user-domain/src/main/java/org/example/usecase/ArtistSubscriptionUseCase.java similarity index 98% rename from app/domain/user-domain/src/main/java/org/example/usecase/subscription/ArtistSubscriptionUseCase.java rename to app/domain/user-domain/src/main/java/org/example/usecase/ArtistSubscriptionUseCase.java index 980f1ce8..24995467 100644 --- a/app/domain/user-domain/src/main/java/org/example/usecase/subscription/ArtistSubscriptionUseCase.java +++ b/app/domain/user-domain/src/main/java/org/example/usecase/ArtistSubscriptionUseCase.java @@ -1,4 +1,4 @@ -package org.example.usecase.subscription; +package org.example.usecase; import java.util.ArrayList; import java.util.List; diff --git a/app/domain/user-domain/src/main/java/org/example/usecase/subscription/GenreSubscriptionUseCase.java b/app/domain/user-domain/src/main/java/org/example/usecase/GenreSubscriptionUseCase.java similarity index 98% rename from app/domain/user-domain/src/main/java/org/example/usecase/subscription/GenreSubscriptionUseCase.java rename to app/domain/user-domain/src/main/java/org/example/usecase/GenreSubscriptionUseCase.java index 2a7fdb3a..3a6aa4ef 100644 --- a/app/domain/user-domain/src/main/java/org/example/usecase/subscription/GenreSubscriptionUseCase.java +++ b/app/domain/user-domain/src/main/java/org/example/usecase/GenreSubscriptionUseCase.java @@ -1,4 +1,4 @@ -package org.example.usecase.subscription; +package org.example.usecase; import java.util.ArrayList; import java.util.List; diff --git a/app/domain/user-domain/src/main/java/org/example/usecase/interest/InterestShowUseCase.java b/app/domain/user-domain/src/main/java/org/example/usecase/InterestShowUseCase.java similarity index 98% rename from app/domain/user-domain/src/main/java/org/example/usecase/interest/InterestShowUseCase.java rename to app/domain/user-domain/src/main/java/org/example/usecase/InterestShowUseCase.java index d134d0c2..90cbc269 100644 --- a/app/domain/user-domain/src/main/java/org/example/usecase/interest/InterestShowUseCase.java +++ b/app/domain/user-domain/src/main/java/org/example/usecase/InterestShowUseCase.java @@ -1,4 +1,4 @@ -package org.example.usecase.interest; +package org.example.usecase; import java.util.Optional; import java.util.UUID; diff --git a/app/domain/user-domain/src/main/java/org/example/usecase/ticketing/TicketingAlertUseCase.java b/app/domain/user-domain/src/main/java/org/example/usecase/TicketingAlertUseCase.java similarity index 99% rename from app/domain/user-domain/src/main/java/org/example/usecase/ticketing/TicketingAlertUseCase.java rename to app/domain/user-domain/src/main/java/org/example/usecase/TicketingAlertUseCase.java index 5653e8f0..c884a3e4 100644 --- a/app/domain/user-domain/src/main/java/org/example/usecase/ticketing/TicketingAlertUseCase.java +++ b/app/domain/user-domain/src/main/java/org/example/usecase/TicketingAlertUseCase.java @@ -1,4 +1,4 @@ -package org.example.usecase.ticketing; +package org.example.usecase; import java.time.LocalDateTime; import java.util.List; diff --git a/app/domain/user-domain/src/main/java/org/example/usecase/user/UserUseCase.java b/app/domain/user-domain/src/main/java/org/example/usecase/UserUseCase.java similarity index 98% rename from app/domain/user-domain/src/main/java/org/example/usecase/user/UserUseCase.java rename to app/domain/user-domain/src/main/java/org/example/usecase/UserUseCase.java index 9ef0727f..b9dafa1d 100644 --- a/app/domain/user-domain/src/main/java/org/example/usecase/user/UserUseCase.java +++ b/app/domain/user-domain/src/main/java/org/example/usecase/UserUseCase.java @@ -1,4 +1,4 @@ -package org.example.usecase.user; +package org.example.usecase; import java.util.NoSuchElementException; import java.util.UUID;