Display post content
9 | 10 | -------------------------------------------------------------------------------- /test-spring-async-synctaskexecutor/src/test/java/examples/ClassTestConfig.java: -------------------------------------------------------------------------------- 1 | package examples; 2 | 3 | import org.springframework.context.annotation.ComponentScan; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | @Configuration 7 | @ComponentScan("examples") 8 | public class ClassTestConfig { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /test-springboottest/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 |simple get - not params - @GetMapping("/simple-get")
9 | 10 | -------------------------------------------------------------------------------- /test-mvc/src/main/java/hello/exception/NotValidParamsException.java: -------------------------------------------------------------------------------- 1 | package hello.exception; 2 | 3 | public class NotValidParamsException extends BaseException { 4 | 5 | private static final long serialVersionUID = -1066219052235780119L; 6 | 7 | public NotValidParamsException(String message, ErrorCode code) { 8 | super(message, code); 9 | } 10 | } -------------------------------------------------------------------------------- /test-mvc/src/main/java/hello/repository/oneToMany/PostRepository.java: -------------------------------------------------------------------------------- 1 | package hello.repository.oneToMany; 2 | 3 | import hello.entity.oneToMany.Post; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface PostRepository extends JpaRepository