[BAEL-4453] Upgrade Katharsis to 3.0.2 and fix imports (#3910)
This commit is contained in:
parent
d6d44c7cb9
commit
43d51a406b
|
@ -35,21 +35,25 @@
|
|||
<groupId>io.katharsis</groupId>
|
||||
<artifactId>katharsis-servlet</artifactId>
|
||||
<version>${katharsis.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.reflections</groupId>
|
||||
<artifactId>reflections</artifactId>
|
||||
<version>0.9.10</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.7</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
<properties>
|
||||
<katharsis.version>2.1.3</katharsis.version>
|
||||
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
|
||||
</properties>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
@ -128,5 +132,9 @@
|
|||
</profile>
|
||||
</profiles>
|
||||
|
||||
<properties>
|
||||
<katharsis.version>3.0.2</katharsis.version>
|
||||
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -9,7 +9,6 @@ public class Application extends SpringBootServletInitializer {
|
|||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(Application.class, args);
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
package org.baeldung.persistence.katharsis;
|
||||
|
||||
import io.katharsis.invoker.KatharsisInvokerBuilder;
|
||||
import io.katharsis.locator.JsonServiceLocator;
|
||||
import io.katharsis.servlet.AbstractKatharsisFilter;
|
||||
import io.katharsis.invoker.internal.legacy.KatharsisInvokerBuilder;
|
||||
import io.katharsis.legacy.locator.JsonServiceLocator;
|
||||
import io.katharsis.servlet.legacy.AbstractKatharsisFilter;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package org.baeldung.persistence.katharsis;
|
||||
|
||||
import io.katharsis.queryParams.QueryParams;
|
||||
import io.katharsis.repository.ResourceRepository;
|
||||
import io.katharsis.legacy.queryParams.QueryParams;
|
||||
import io.katharsis.legacy.repository.ResourceRepository;
|
||||
|
||||
import org.baeldung.persistence.dao.RoleRepository;
|
||||
import org.baeldung.persistence.model.Role;
|
||||
|
@ -11,8 +11,7 @@ import org.springframework.stereotype.Component;
|
|||
@Component
|
||||
public class RoleResourceRepository implements ResourceRepository<Role, Long> {
|
||||
|
||||
@Autowired
|
||||
private RoleRepository roleRepository;
|
||||
@Autowired private RoleRepository roleRepository;
|
||||
|
||||
@Override
|
||||
public Role findOne(Long id, QueryParams params) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package org.baeldung.persistence.katharsis;
|
||||
|
||||
import io.katharsis.queryParams.QueryParams;
|
||||
import io.katharsis.repository.ResourceRepository;
|
||||
import io.katharsis.legacy.queryParams.QueryParams;
|
||||
import io.katharsis.legacy.repository.ResourceRepository;
|
||||
|
||||
import org.baeldung.persistence.dao.UserRepository;
|
||||
import org.baeldung.persistence.model.User;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package org.baeldung.persistence.katharsis;
|
||||
|
||||
import io.katharsis.queryParams.QueryParams;
|
||||
import io.katharsis.repository.RelationshipRepository;
|
||||
import io.katharsis.legacy.queryParams.QueryParams;
|
||||
import io.katharsis.legacy.repository.RelationshipRepository;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
|
Loading…
Reference in New Issue