refactor: change graphql package location
This commit is contained in:
parent
7b7016e569
commit
b24f65c2d6
@ -1,4 +1,4 @@
|
|||||||
package io.spring.graphql.users;
|
package io.spring.graphql;
|
||||||
|
|
||||||
import com.netflix.graphql.dgs.DgsComponent;
|
import com.netflix.graphql.dgs.DgsComponent;
|
||||||
import com.netflix.graphql.dgs.DgsData;
|
import com.netflix.graphql.dgs.DgsData;
|
||||||
@ -18,7 +18,6 @@ import io.spring.application.data.ArticleData;
|
|||||||
import io.spring.application.data.CommentData;
|
import io.spring.application.data.CommentData;
|
||||||
import io.spring.core.user.User;
|
import io.spring.core.user.User;
|
||||||
import io.spring.core.user.UserRepository;
|
import io.spring.core.user.UserRepository;
|
||||||
import io.spring.graphql.DgsConstants;
|
|
||||||
import io.spring.graphql.DgsConstants.ARTICLEPAYLOAD;
|
import io.spring.graphql.DgsConstants.ARTICLEPAYLOAD;
|
||||||
import io.spring.graphql.DgsConstants.COMMENT;
|
import io.spring.graphql.DgsConstants.COMMENT;
|
||||||
import io.spring.graphql.DgsConstants.PROFILE;
|
import io.spring.graphql.DgsConstants.PROFILE;
|
@ -1,4 +1,4 @@
|
|||||||
package io.spring.graphql.users;
|
package io.spring.graphql;
|
||||||
|
|
||||||
import com.netflix.graphql.dgs.DgsComponent;
|
import com.netflix.graphql.dgs.DgsComponent;
|
||||||
import com.netflix.graphql.dgs.DgsData;
|
import com.netflix.graphql.dgs.DgsData;
|
||||||
@ -15,8 +15,8 @@ import io.spring.core.favorite.ArticleFavorite;
|
|||||||
import io.spring.core.favorite.ArticleFavoriteRepository;
|
import io.spring.core.favorite.ArticleFavoriteRepository;
|
||||||
import io.spring.core.service.AuthorizationService;
|
import io.spring.core.service.AuthorizationService;
|
||||||
import io.spring.core.user.User;
|
import io.spring.core.user.User;
|
||||||
import io.spring.graphql.AuthenticationException;
|
|
||||||
import io.spring.graphql.DgsConstants.MUTATION;
|
import io.spring.graphql.DgsConstants.MUTATION;
|
||||||
|
import io.spring.graphql.exception.AuthenticationException;
|
||||||
import io.spring.graphql.types.ArticlePayload;
|
import io.spring.graphql.types.ArticlePayload;
|
||||||
import io.spring.graphql.types.CreateArticleInput;
|
import io.spring.graphql.types.CreateArticleInput;
|
||||||
import io.spring.graphql.types.DeletionStatus;
|
import io.spring.graphql.types.DeletionStatus;
|
@ -1,4 +1,4 @@
|
|||||||
package io.spring.graphql.users;
|
package io.spring.graphql;
|
||||||
|
|
||||||
import com.netflix.graphql.dgs.DgsComponent;
|
import com.netflix.graphql.dgs.DgsComponent;
|
||||||
import com.netflix.graphql.dgs.DgsData;
|
import com.netflix.graphql.dgs.DgsData;
|
@ -1,4 +1,4 @@
|
|||||||
package io.spring.graphql.users;
|
package io.spring.graphql;
|
||||||
|
|
||||||
import com.netflix.graphql.dgs.DgsComponent;
|
import com.netflix.graphql.dgs.DgsComponent;
|
||||||
import com.netflix.graphql.dgs.DgsData;
|
import com.netflix.graphql.dgs.DgsData;
|
||||||
@ -14,8 +14,8 @@ import io.spring.core.comment.Comment;
|
|||||||
import io.spring.core.comment.CommentRepository;
|
import io.spring.core.comment.CommentRepository;
|
||||||
import io.spring.core.service.AuthorizationService;
|
import io.spring.core.service.AuthorizationService;
|
||||||
import io.spring.core.user.User;
|
import io.spring.core.user.User;
|
||||||
import io.spring.graphql.AuthenticationException;
|
|
||||||
import io.spring.graphql.DgsConstants.MUTATION;
|
import io.spring.graphql.DgsConstants.MUTATION;
|
||||||
|
import io.spring.graphql.exception.AuthenticationException;
|
||||||
import io.spring.graphql.types.CommentPayload;
|
import io.spring.graphql.types.CommentPayload;
|
||||||
import io.spring.graphql.types.DeletionStatus;
|
import io.spring.graphql.types.DeletionStatus;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
@ -1,4 +1,4 @@
|
|||||||
package io.spring.graphql.users;
|
package io.spring.graphql;
|
||||||
|
|
||||||
import com.netflix.graphql.dgs.DgsComponent;
|
import com.netflix.graphql.dgs.DgsComponent;
|
||||||
import com.netflix.graphql.dgs.DgsData;
|
import com.netflix.graphql.dgs.DgsData;
|
||||||
@ -9,7 +9,6 @@ import io.spring.application.UserQueryService;
|
|||||||
import io.spring.application.data.UserData;
|
import io.spring.application.data.UserData;
|
||||||
import io.spring.application.data.UserWithToken;
|
import io.spring.application.data.UserWithToken;
|
||||||
import io.spring.core.service.JwtService;
|
import io.spring.core.service.JwtService;
|
||||||
import io.spring.graphql.DgsConstants;
|
|
||||||
import io.spring.graphql.DgsConstants.QUERY;
|
import io.spring.graphql.DgsConstants.QUERY;
|
||||||
import io.spring.graphql.DgsConstants.USERPAYLOAD;
|
import io.spring.graphql.DgsConstants.USERPAYLOAD;
|
||||||
import io.spring.graphql.types.User;
|
import io.spring.graphql.types.User;
|
@ -1,4 +1,4 @@
|
|||||||
package io.spring.graphql.users;
|
package io.spring.graphql;
|
||||||
|
|
||||||
import com.netflix.graphql.dgs.DgsComponent;
|
import com.netflix.graphql.dgs.DgsComponent;
|
||||||
import com.netflix.graphql.dgs.DgsData;
|
import com.netflix.graphql.dgs.DgsData;
|
||||||
@ -10,7 +10,6 @@ import io.spring.application.data.ArticleData;
|
|||||||
import io.spring.application.data.CommentData;
|
import io.spring.application.data.CommentData;
|
||||||
import io.spring.application.data.ProfileData;
|
import io.spring.application.data.ProfileData;
|
||||||
import io.spring.core.user.User;
|
import io.spring.core.user.User;
|
||||||
import io.spring.graphql.DgsConstants;
|
|
||||||
import io.spring.graphql.DgsConstants.ARTICLE;
|
import io.spring.graphql.DgsConstants.ARTICLE;
|
||||||
import io.spring.graphql.DgsConstants.COMMENT;
|
import io.spring.graphql.DgsConstants.COMMENT;
|
||||||
import io.spring.graphql.DgsConstants.QUERY;
|
import io.spring.graphql.DgsConstants.QUERY;
|
@ -1,4 +1,4 @@
|
|||||||
package io.spring.graphql.users;
|
package io.spring.graphql;
|
||||||
|
|
||||||
import com.netflix.graphql.dgs.DgsComponent;
|
import com.netflix.graphql.dgs.DgsComponent;
|
||||||
import com.netflix.graphql.dgs.DgsData;
|
import com.netflix.graphql.dgs.DgsData;
|
||||||
@ -9,8 +9,8 @@ import io.spring.application.data.ProfileData;
|
|||||||
import io.spring.core.user.FollowRelation;
|
import io.spring.core.user.FollowRelation;
|
||||||
import io.spring.core.user.User;
|
import io.spring.core.user.User;
|
||||||
import io.spring.core.user.UserRepository;
|
import io.spring.core.user.UserRepository;
|
||||||
import io.spring.graphql.AuthenticationException;
|
|
||||||
import io.spring.graphql.DgsConstants.MUTATION;
|
import io.spring.graphql.DgsConstants.MUTATION;
|
||||||
|
import io.spring.graphql.exception.AuthenticationException;
|
||||||
import io.spring.graphql.types.Profile;
|
import io.spring.graphql.types.Profile;
|
||||||
import io.spring.graphql.types.ProfilePayload;
|
import io.spring.graphql.types.ProfilePayload;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
@ -1,4 +1,4 @@
|
|||||||
package io.spring.graphql.users;
|
package io.spring.graphql;
|
||||||
|
|
||||||
import io.spring.core.user.User;
|
import io.spring.core.user.User;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
@ -1,4 +1,4 @@
|
|||||||
package io.spring.graphql.users;
|
package io.spring.graphql;
|
||||||
|
|
||||||
import com.netflix.graphql.dgs.DgsComponent;
|
import com.netflix.graphql.dgs.DgsComponent;
|
||||||
import com.netflix.graphql.dgs.DgsData;
|
import com.netflix.graphql.dgs.DgsData;
|
@ -1,3 +1,3 @@
|
|||||||
package io.spring.graphql;
|
package io.spring.graphql.exception;
|
||||||
|
|
||||||
public class AuthenticationException extends RuntimeException {}
|
public class AuthenticationException extends RuntimeException {}
|
Loading…
Reference in New Issue
Block a user