JAVA-959: Migrate spring-katharsis to com.baeldung
This commit is contained in:
parent
8be4255cbb
commit
be49fef333
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung;
|
||||
package com.baeldung;
|
||||
|
||||
import io.katharsis.spring.boot.v3.KatharsisConfigV3;
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
package org.baeldung;
|
||||
package com.baeldung;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
|
||||
import org.baeldung.persistence.dao.RoleRepository;
|
||||
import org.baeldung.persistence.dao.UserRepository;
|
||||
import org.baeldung.persistence.model.Role;
|
||||
import org.baeldung.persistence.model.User;
|
||||
import com.baeldung.persistence.dao.RoleRepository;
|
||||
import com.baeldung.persistence.dao.UserRepository;
|
||||
import com.baeldung.persistence.model.Role;
|
||||
import com.baeldung.persistence.model.User;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package org.baeldung.persistence.dao;
|
||||
package com.baeldung.persistence.dao;
|
||||
|
||||
import org.baeldung.persistence.model.Role;
|
||||
import com.baeldung.persistence.model.Role;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
|
||||
public interface RoleRepository extends JpaRepository<Role, Long> {
|
|
@ -1,6 +1,6 @@
|
|||
package org.baeldung.persistence.dao;
|
||||
package com.baeldung.persistence.dao;
|
||||
|
||||
import org.baeldung.persistence.model.User;
|
||||
import com.baeldung.persistence.model.User;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
|
||||
public interface UserRepository extends JpaRepository<User, Long> {
|
|
@ -1,12 +1,12 @@
|
|||
package org.baeldung.persistence.katharsis;
|
||||
package com.baeldung.persistence.katharsis;
|
||||
|
||||
|
||||
import com.baeldung.persistence.dao.RoleRepository;
|
||||
import io.katharsis.queryspec.QuerySpec;
|
||||
import io.katharsis.repository.ResourceRepositoryV2;
|
||||
import io.katharsis.resource.list.ResourceList;
|
||||
|
||||
import org.baeldung.persistence.dao.RoleRepository;
|
||||
import org.baeldung.persistence.model.Role;
|
||||
import com.baeldung.persistence.model.Role;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
package org.baeldung.persistence.katharsis;
|
||||
package com.baeldung.persistence.katharsis;
|
||||
|
||||
import com.baeldung.persistence.dao.UserRepository;
|
||||
import com.baeldung.persistence.model.User;
|
||||
import io.katharsis.queryspec.QuerySpec;
|
||||
import io.katharsis.repository.ResourceRepositoryV2;
|
||||
import io.katharsis.resource.list.ResourceList;
|
||||
|
||||
import org.baeldung.persistence.dao.UserRepository;
|
||||
import org.baeldung.persistence.model.User;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
|
@ -1,5 +1,8 @@
|
|||
package org.baeldung.persistence.katharsis;
|
||||
package com.baeldung.persistence.katharsis;
|
||||
|
||||
import com.baeldung.persistence.dao.RoleRepository;
|
||||
import com.baeldung.persistence.dao.UserRepository;
|
||||
import com.baeldung.persistence.model.User;
|
||||
import io.katharsis.queryspec.QuerySpec;
|
||||
import io.katharsis.repository.RelationshipRepositoryV2;
|
||||
import io.katharsis.resource.list.ResourceList;
|
||||
|
@ -7,10 +10,7 @@ import io.katharsis.resource.list.ResourceList;
|
|||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import org.baeldung.persistence.dao.RoleRepository;
|
||||
import org.baeldung.persistence.dao.UserRepository;
|
||||
import org.baeldung.persistence.model.Role;
|
||||
import org.baeldung.persistence.model.User;
|
||||
import com.baeldung.persistence.model.Role;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.persistence.model;
|
||||
package com.baeldung.persistence.model;
|
||||
|
||||
import io.katharsis.resource.annotations.JsonApiId;
|
||||
import io.katharsis.resource.annotations.JsonApiRelation;
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.persistence.model;
|
||||
package com.baeldung.persistence.model;
|
||||
|
||||
import io.katharsis.resource.annotations.JsonApiId;
|
||||
import io.katharsis.resource.annotations.JsonApiRelation;
|
|
@ -1,6 +1,5 @@
|
|||
package org.baeldung;
|
||||
package com.baeldung;
|
||||
|
||||
import org.baeldung.Application;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.test;
|
||||
package com.baeldung.test;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
Loading…
Reference in New Issue