Skip to content

Commit

Permalink
change services location
Browse files Browse the repository at this point in the history
Took 26 minutes
  • Loading branch information
gribanoveu committed Jan 19, 2024
1 parent 6a90f91 commit cdc4b4a
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import com.github.gribanoveu.cuddle.dtos.request.LoginDto;
import com.github.gribanoveu.cuddle.dtos.request.RefreshTokenDto;
import com.github.gribanoveu.cuddle.dtos.response.auth.TokenResponse;
import com.github.gribanoveu.cuddle.entities.services.email.EmailService;
import com.github.gribanoveu.cuddle.entities.services.token.TokenService;
import com.github.gribanoveu.cuddle.entities.services.EmailService;
import com.github.gribanoveu.cuddle.entities.services.TokenService;
import com.github.gribanoveu.cuddle.security.CustomUserDetails;
import com.github.gribanoveu.cuddle.security.CustomUserDetailsService;
import com.github.gribanoveu.cuddle.utils.RefreshTokenUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
import com.github.gribanoveu.cuddle.dtos.request.*;
import com.github.gribanoveu.cuddle.dtos.response.ResponseDetails;
import com.github.gribanoveu.cuddle.dtos.response.StatusResponse;
import com.github.gribanoveu.cuddle.entities.services.email.EmailService;
import com.github.gribanoveu.cuddle.entities.services.otp.RedisOtpService;
import com.github.gribanoveu.cuddle.entities.services.user.UserService;
import com.github.gribanoveu.cuddle.entities.services.EmailService;
import com.github.gribanoveu.cuddle.entities.services.RedisOtpService;
import com.github.gribanoveu.cuddle.entities.services.UserService;
import com.github.gribanoveu.cuddle.entities.tables.User;
import com.github.gribanoveu.cuddle.exeptions.CredentialEx;
import com.github.gribanoveu.cuddle.utils.JsonUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import com.github.gribanoveu.cuddle.dtos.request.RestrictionDto;
import com.github.gribanoveu.cuddle.dtos.response.StatusResponse;
import com.github.gribanoveu.cuddle.dtos.response.auth.UsersResponse;
import com.github.gribanoveu.cuddle.entities.services.email.EmailService;
import com.github.gribanoveu.cuddle.entities.services.user.UserService;
import com.github.gribanoveu.cuddle.entities.services.EmailService;
import com.github.gribanoveu.cuddle.entities.services.UserService;
import com.github.gribanoveu.cuddle.utils.emails.EmailTemplates;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import com.github.gribanoveu.cuddle.dtos.enums.ResponseCode;
import com.github.gribanoveu.cuddle.dtos.enums.StatusLevel;
import com.github.gribanoveu.cuddle.dtos.response.StatusResponse;
import com.github.gribanoveu.cuddle.entities.services.email.EmailService;
import com.github.gribanoveu.cuddle.entities.services.user.UserService;
import com.github.gribanoveu.cuddle.entities.services.EmailService;
import com.github.gribanoveu.cuddle.entities.services.UserService;
import com.github.gribanoveu.cuddle.entities.tables.User;
import com.github.gribanoveu.cuddle.utils.emails.EmailTemplates;
import lombok.RequiredArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import com.github.gribanoveu.cuddle.dtos.response.ResponseDetails;
import com.github.gribanoveu.cuddle.dtos.response.StatusResponse;
import com.github.gribanoveu.cuddle.dtos.response.auth.UsersResponse;
import com.github.gribanoveu.cuddle.entities.services.user.UserService;
import com.github.gribanoveu.cuddle.entities.services.UserService;
import com.github.gribanoveu.cuddle.exeptions.CredentialEx;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.gribanoveu.cuddle.entities.services.email;
package com.github.gribanoveu.cuddle.entities.services;

import com.github.gribanoveu.cuddle.dtos.data.SimpleEmailObject;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.gribanoveu.cuddle.entities.services.otp;
package com.github.gribanoveu.cuddle.entities.services;

import java.time.Duration;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.gribanoveu.cuddle.entities.services.token;
package com.github.gribanoveu.cuddle.entities.services;

import com.github.gribanoveu.cuddle.dtos.enums.TokenType;
import com.github.gribanoveu.cuddle.security.CustomUserDetails;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.gribanoveu.cuddle.entities.services.user;
package com.github.gribanoveu.cuddle.entities.services;

import com.github.gribanoveu.cuddle.dtos.enums.Role;
import com.github.gribanoveu.cuddle.entities.tables.User;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package com.github.gribanoveu.cuddle.entities.services.email;
package com.github.gribanoveu.cuddle.entities.services.impl;

import com.github.gribanoveu.cuddle.dtos.data.SimpleEmailObject;
import com.github.gribanoveu.cuddle.dtos.enums.ResponseCode;
import com.github.gribanoveu.cuddle.entities.services.EmailService;
import jakarta.mail.MessagingException;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.github.gribanoveu.cuddle.entities.services.otp;
package com.github.gribanoveu.cuddle.entities.services.impl;

import com.github.gribanoveu.cuddle.dtos.enums.ResponseCode;
import com.github.gribanoveu.cuddle.entities.services.RedisOtpService;
import com.github.gribanoveu.cuddle.exeptions.CredentialEx;
import lombok.RequiredArgsConstructor;
import org.springframework.data.redis.core.RedisTemplate;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package com.github.gribanoveu.cuddle.entities.services.token;
package com.github.gribanoveu.cuddle.entities.services.impl;

import com.github.gribanoveu.cuddle.dtos.enums.ResponseCode;
import com.github.gribanoveu.cuddle.dtos.enums.TokenType;
import com.github.gribanoveu.cuddle.entities.services.TokenService;
import com.github.gribanoveu.cuddle.exeptions.CredentialEx;
import com.github.gribanoveu.cuddle.security.CustomUserDetails;
import com.nimbusds.jwt.JWTClaimsSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package com.github.gribanoveu.cuddle.entities.services.user;
package com.github.gribanoveu.cuddle.entities.services.impl;

import com.github.gribanoveu.cuddle.dtos.enums.ResponseCode;
import com.github.gribanoveu.cuddle.dtos.enums.Role;
import com.github.gribanoveu.cuddle.entities.repositories.UserRepository;
import com.github.gribanoveu.cuddle.entities.services.UserService;
import com.github.gribanoveu.cuddle.entities.tables.User;
import com.github.gribanoveu.cuddle.exeptions.CredentialEx;
import lombok.RequiredArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import com.github.gribanoveu.cuddle.constants.Constants;
import com.github.gribanoveu.cuddle.constants.CronRules;
import com.github.gribanoveu.cuddle.entities.services.user.UserService;
import com.github.gribanoveu.cuddle.entities.services.UserService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.github.gribanoveu.cuddle.base;

import com.github.gribanoveu.cuddle.dtos.enums.TokenType;
import com.github.gribanoveu.cuddle.entities.services.token.TokenService;
import com.github.gribanoveu.cuddle.entities.services.TokenService;
import com.github.gribanoveu.cuddle.security.CustomUserDetails;
import com.github.gribanoveu.cuddle.security.CustomUserDetailsService;
import org.junit.jupiter.api.BeforeEach;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.github.gribanoveu.cuddle.entities.services.implementation;

import com.github.gribanoveu.cuddle.base.BaseMockMvcTest;
import com.github.gribanoveu.cuddle.entities.services.token.TokenService;
import com.github.gribanoveu.cuddle.entities.services.TokenService;
import com.github.gribanoveu.cuddle.exeptions.CredentialEx;
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Test;
Expand Down

0 comments on commit cdc4b4a

Please sign in to comment.