From b25dc96e732d0fed4bd7749ea347bafeba6fd19d Mon Sep 17 00:00:00 2001 From: Daniel Fiala Date: Thu, 20 Jul 2023 23:06:06 +0200 Subject: [PATCH] Refactor package structure for services and resources --- .../java/dev/shiperist/{service => resource}/AuthService.java | 2 +- .../dev/shiperist/{resource => service}/AccountService.java | 2 +- .../dev/shiperist/{resource => service}/SessionService.java | 2 +- .../java/dev/shiperist/{resource => service}/UserService.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename server/src/main/java/dev/shiperist/{service => resource}/AuthService.java (76%) rename server/src/main/java/dev/shiperist/{resource => service}/AccountService.java (97%) rename server/src/main/java/dev/shiperist/{resource => service}/SessionService.java (97%) rename server/src/main/java/dev/shiperist/{resource => service}/UserService.java (98%) diff --git a/server/src/main/java/dev/shiperist/service/AuthService.java b/server/src/main/java/dev/shiperist/resource/AuthService.java similarity index 76% rename from server/src/main/java/dev/shiperist/service/AuthService.java rename to server/src/main/java/dev/shiperist/resource/AuthService.java index 85704c6..e6a1839 100644 --- a/server/src/main/java/dev/shiperist/service/AuthService.java +++ b/server/src/main/java/dev/shiperist/resource/AuthService.java @@ -1,4 +1,4 @@ -package dev.shiperist.service; +package dev.shiperist.resource; import jakarta.enterprise.context.ApplicationScoped; diff --git a/server/src/main/java/dev/shiperist/resource/AccountService.java b/server/src/main/java/dev/shiperist/service/AccountService.java similarity index 97% rename from server/src/main/java/dev/shiperist/resource/AccountService.java rename to server/src/main/java/dev/shiperist/service/AccountService.java index 67515fe..230995f 100644 --- a/server/src/main/java/dev/shiperist/resource/AccountService.java +++ b/server/src/main/java/dev/shiperist/service/AccountService.java @@ -1,4 +1,4 @@ -package dev.shiperist.resource; +package dev.shiperist.service; import dev.shiperist.entity.AccountEntity; import dev.shiperist.mapper.AccountMapper; diff --git a/server/src/main/java/dev/shiperist/resource/SessionService.java b/server/src/main/java/dev/shiperist/service/SessionService.java similarity index 97% rename from server/src/main/java/dev/shiperist/resource/SessionService.java rename to server/src/main/java/dev/shiperist/service/SessionService.java index ae905fd..a3ac6bd 100644 --- a/server/src/main/java/dev/shiperist/resource/SessionService.java +++ b/server/src/main/java/dev/shiperist/service/SessionService.java @@ -1,4 +1,4 @@ -package dev.shiperist.resource; +package dev.shiperist.service; import dev.shiperist.entity.SessionEntity; import dev.shiperist.mapper.SessionMapper; diff --git a/server/src/main/java/dev/shiperist/resource/UserService.java b/server/src/main/java/dev/shiperist/service/UserService.java similarity index 98% rename from server/src/main/java/dev/shiperist/resource/UserService.java rename to server/src/main/java/dev/shiperist/service/UserService.java index ffe9b3e..8caab79 100644 --- a/server/src/main/java/dev/shiperist/resource/UserService.java +++ b/server/src/main/java/dev/shiperist/service/UserService.java @@ -1,4 +1,4 @@ -package dev.shiperist.resource; +package dev.shiperist.service; import dev.shiperist.entity.UserEntity; import dev.shiperist.mapper.UserMapper;