├── LICENSE ├── README.md ├── email ├── README.md ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mkyong │ │ └── Application.java │ └── resources │ ├── android.png │ └── application.properties ├── logging-log4j2 ├── README.md ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mkyong │ │ ├── HelloController.java │ │ └── StartApplication.java │ └── resources │ ├── application.properties │ ├── log4j2.xml │ ├── log4j2.yml.bk │ └── templates │ └── welcome.html ├── profile-properties ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mkyong │ │ ├── Application.java │ │ └── config │ │ └── ServerProperties.java │ └── resources │ ├── application-dev.properties │ ├── application-prod.properties │ └── application.properties ├── profile-simple ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── Application.java │ │ │ └── service │ │ │ ├── RainingDayService.java │ │ │ ├── SunnyDayService.java │ │ │ └── WeatherService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com.mkyong │ ├── TestApplication.java │ └── TestWeatherService.java ├── profile-yaml ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mkyong │ │ ├── Application.java │ │ └── config │ │ └── ServerProperties.java │ └── resources │ └── application.yml ├── spring-boot-autoconfiguration ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── README.md ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mkyong │ │ ├── MainApplication.java │ │ └── service │ │ ├── WebSessionService.java │ │ └── impl │ │ ├── PostgreSessionService.java │ │ └── RedisSessionService.java │ └── resources │ └── application.properties ├── spring-boot-change-port ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── HelloController.java │ │ │ ├── MainApplication.java │ │ │ └── config │ │ │ └── CustomWebServerFactory.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mkyong │ ├── HelloControllerTests.java │ └── WebServerTests.java ├── spring-boot-commandlinerunner ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── README.md ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mkyong │ │ ├── DatabaseInitializer.java │ │ ├── StartApplication.java │ │ ├── StartApplication2.java │ │ └── book │ │ ├── Book.java │ │ ├── BookController.java │ │ ├── BookRepository.java │ │ └── BookService.java │ └── resources │ └── application.properties ├── spring-boot-docker ├── Dockerfile ├── pom.xml ├── readme.md └── src │ └── main │ ├── java │ └── com │ │ └── mkyong │ │ └── StartApplication.java │ └── resources │ ├── application.properties │ ├── static │ ├── css │ │ └── main.css │ └── js │ │ └── main.js │ └── templates │ └── index.html ├── spring-boot-externalize-config-2 ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── EnvironmentController.java │ │ │ ├── MainController.java │ │ │ ├── SpringBootWebApplication.java │ │ │ └── global │ │ │ ├── EmailServer.java │ │ │ └── EmailServer2.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mkyong │ ├── EnvironmentControllerTest.java │ └── MainControllerTest.java ├── spring-boot-externalize-config-3 ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── Application.java │ │ │ └── config │ │ │ ├── DatabaseProperties.java │ │ │ └── FileProperties.java │ └── resources │ │ ├── application.properties │ │ └── server │ │ ├── db.properties │ │ └── file.properties │ └── test │ └── java │ └── com │ └── mkyong │ └── ApplicationTest.java ├── spring-boot-externalize-config-4 ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── Application.java │ │ │ └── service │ │ │ └── DatabaseService.java │ └── resources │ │ └── application.properties │ └── test │ ├── java │ └── com │ │ └── mkyong │ │ ├── ApplicationTest.java │ │ └── ApplicationTest2.java │ └── resources │ └── test.properties ├── spring-boot-externalize-config ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── MainController.java │ │ │ ├── SpringBootWebApplication.java │ │ │ └── global │ │ │ ├── AppProperties.java │ │ │ └── GlobalProperties.java │ └── resources │ │ ├── application.properties │ │ └── application.yml.bk │ └── test │ └── java │ └── com │ └── mkyong │ └── MainControllerTest.java ├── spring-boot-hello-world ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── HelloController.java │ │ │ └── MainApplication.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mkyong │ ├── HelloControllerTests.java │ └── HelloControllerTests2.java ├── spring-boot-jobrunr ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── MainApplication.java │ │ │ ├── MainConfiguration.java │ │ │ ├── api │ │ │ └── JobController.java │ │ │ └── job │ │ │ └── SampleJobService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com.mkyong │ └── JobEndpointTest.java ├── spring-boot-logging-slf4j-logback ├── README.md ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mkyong │ │ ├── HelloController.java │ │ └── MainApplication.java │ └── resources │ ├── application.properties │ └── bk │ ├── logback-spring.xml │ └── logback.xml ├── spring-boot-ssl ├── pom.xml ├── readme.md └── src │ └── main │ ├── java │ └── com │ │ └── mkyong │ │ └── StartApplication.java │ └── resources │ ├── application.properties │ ├── mkyong.p12 │ ├── static │ ├── css │ │ └── main.css │ └── js │ │ └── main.js │ └── templates │ └── index.html ├── spring-boot-test-json ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── SpringBootWebApplication.java │ │ │ ├── WebController.java │ │ │ └── model │ │ │ ├── Author.java │ │ │ ├── Book.java │ │ │ └── SimpleBook.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mkyong │ └── WebControllerTest.java ├── spring-boot-testcontainers ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── README.md ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── Application.java │ │ │ └── book │ │ │ ├── Book.java │ │ │ ├── BookController.java │ │ │ └── BookRepository.java │ └── resources │ │ ├── application.properties │ │ └── schema.sql │ └── test │ └── java │ └── com │ └── mkyong │ └── book │ ├── BookControllerOldWayTest.java │ ├── BookControllerTest.java │ ├── BookRepositoryDynamicPropertyTest.java │ ├── BookRepositoryServiceConnectionTest.java │ └── BookRepositoryTest.java ├── spring-data-jpa-mysql ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── README.md ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── StartApplication.java │ │ │ └── book │ │ │ ├── Book.java │ │ │ ├── BookController.java │ │ │ ├── BookRepository.java │ │ │ └── BookService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mkyong │ └── BookControllerTest.java ├── spring-data-jpa-paging-sorting ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── README.md ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── StartApplication.java │ │ │ └── book │ │ │ ├── Book.java │ │ │ ├── BookController.java │ │ │ ├── BookRepository.java │ │ │ └── BookService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mkyong │ ├── BookControllerIntegrationTest.java │ ├── BookControllerTest.java │ └── BookRepositoryTest.java ├── spring-data-jpa-postgresql ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── README.md ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── MainApplication.java │ │ │ ├── controller │ │ │ └── BookController.java │ │ │ ├── model │ │ │ └── Book.java │ │ │ ├── repository │ │ │ └── BookRepository.java │ │ │ └── service │ │ │ └── BookService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mkyong │ ├── BookControllerTest.java │ └── BookRepositoryTest.java ├── spring-data-jpa-test ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── README.md ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── Book.java │ │ │ ├── BookRepository.java │ │ │ ├── BookService.java │ │ │ └── MainApplication.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mkyong │ ├── BookRepositoryMockTest.java │ └── BookRepositoryTest.java ├── spring-data-jpa ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── README.md ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── Book.java │ │ │ ├── BookRepository.java │ │ │ ├── BookService.java │ │ │ └── MainApplication.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mkyong │ ├── BookRepositoryMockTest.java │ └── BookRepositoryTest.java ├── spring-jdbc ├── README.md ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mkyong │ │ ├── Book.java │ │ ├── StartApplication.java │ │ ├── customer │ │ ├── Customer.java │ │ ├── CustomerRepository.java │ │ └── CustomerRowMapper.java │ │ ├── repository │ │ ├── BookRepository.java │ │ ├── JdbcBookRepository.java │ │ └── NamedParameterJdbcBookRepository.java │ │ ├── sp │ │ ├── StoredFunction.java │ │ ├── StoredProcedure1.java │ │ ├── StoredProcedure2.java │ │ └── TestData.java │ │ └── util │ │ └── NameGenerator.java │ └── resources │ ├── application.properties │ └── oracle.sql ├── spring-rest-error-handling ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mkyong │ │ ├── Book.java │ │ ├── BookController.java │ │ ├── BookRepository.java │ │ ├── StartBookApplication.java │ │ └── error │ │ ├── BookNotFoundException.java │ │ ├── BookUnSupportedFieldPatchException.java │ │ ├── CustomErrorAttributes.java │ │ ├── CustomErrorResponse.java │ │ ├── CustomGlobalExceptionHandler.java │ │ └── validator │ │ ├── Author.java │ │ └── AuthorValidator.java │ └── resources │ └── application.properties ├── spring-rest-hello-world ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── Book.java │ │ │ ├── BookController.java │ │ │ ├── BookRepository.java │ │ │ ├── StartBookApplication.java │ │ │ └── error │ │ │ ├── BookNotFoundException.java │ │ │ ├── BookUnSupportedFieldPatchException.java │ │ │ └── CustomGlobalExceptionHandler.java │ └── resources │ │ └── application.properties │ └── test │ ├── java │ └── com │ │ └── mkyong │ │ ├── BookControllerRestTemplateTest.java │ │ └── BookControllerTest.java │ └── resources │ └── logback-test.xml ├── spring-rest-security ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── Book.java │ │ │ ├── BookController.java │ │ │ ├── BookRepository.java │ │ │ ├── StartBookApplication.java │ │ │ ├── config │ │ │ └── SpringSecurityConfig.java │ │ │ └── error │ │ │ ├── BookNotFoundException.java │ │ │ ├── BookUnSupportedFieldPatchException.java │ │ │ ├── CustomGlobalExceptionHandler.java │ │ │ └── validator │ │ │ ├── Author.java │ │ │ └── AuthorValidator.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mkyong │ ├── BookControllerRestTemplateTest.java │ └── BookControllerTest.java ├── spring-rest-validation ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── Book.java │ │ │ ├── BookController.java │ │ │ ├── BookRepository.java │ │ │ ├── StartBookApplication.java │ │ │ └── error │ │ │ ├── BookNotFoundException.java │ │ │ ├── BookUnSupportedFieldPatchException.java │ │ │ ├── CustomGlobalExceptionHandler.java │ │ │ └── validator │ │ │ ├── Author.java │ │ │ └── AuthorValidator.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mkyong │ ├── BookControllerRestTemplateTest.java │ └── BookControllerTest.java ├── testing-junit5-mockito ├── README.md ├── pom.xml └── src │ ├── main │ └── java │ │ └── com │ │ └── mkyong │ │ └── core │ │ ├── StartApplication.java │ │ ├── controller │ │ └── MainController.java │ │ ├── repository │ │ ├── HelloRepository.java │ │ └── HelloRepositoryImpl.java │ │ └── services │ │ ├── HelloService.java │ │ └── HelloServiceImpl.java │ └── test │ └── java │ └── com │ └── mkyong │ └── core │ ├── controller │ └── MainControllerTest.java │ └── services │ ├── HelloServiceMockTest.java │ └── HelloServiceTest.java ├── web-thymeleaf-war ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mkyong │ │ ├── StartWebApplication.java │ │ └── controller │ │ └── WelcomeController.java │ └── resources │ ├── application.properties │ ├── static │ └── css │ │ └── main.css │ └── templates │ └── welcome.html ├── web-thymeleaf ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ ├── StartWebApplication.java │ │ │ └── controller │ │ │ └── WelcomeController.java │ └── resources │ │ ├── application.properties │ │ ├── static │ │ └── css │ │ │ └── main.css │ │ └── templates │ │ └── welcome.html │ └── test │ └── java │ └── com │ └── mkyong │ └── WelcomeControllerTest.java ├── webflux-thymeleaf-serversentevent ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ └── reactive │ │ │ ├── CommentWebApplication.java │ │ │ ├── controller │ │ │ ├── CommentController.java │ │ │ └── MainController.java │ │ │ ├── model │ │ │ └── Comment.java │ │ │ ├── repository │ │ │ ├── CommentRepository.java │ │ │ └── ReactiveCommentRepository.java │ │ │ └── utils │ │ │ └── CommentGenerator.java │ └── resources │ │ ├── application.properties │ │ ├── static │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ └── main.css │ │ └── js │ │ │ └── main.js │ │ └── templates │ │ └── index.html │ └── test │ └── java │ └── com │ └── mkyong │ └── reactive │ └── TestCommentWebApplication.java ├── webflux-thymeleaf ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mkyong │ │ │ └── reactive │ │ │ ├── Movie.java │ │ │ ├── MovieWebApplication.java │ │ │ ├── controller │ │ │ └── MovieController.java │ │ │ └── repository │ │ │ ├── MovieRepository.java │ │ │ └── ReactiveMovieRepository.java │ └── resources │ │ ├── application.properties │ │ ├── static │ │ └── css │ │ │ ├── bootstrap.min.css │ │ │ └── main.css │ │ └── templates │ │ └── index.html │ └── test │ └── java │ └── com │ └── mkyong │ └── reactive │ └── TestWeb.java └── yaml-simple ├── pom.xml └── src └── main ├── java └── com │ └── mkyong │ ├── Application.java │ └── config │ ├── GlobalProperties.java │ ├── WordpressProperties.java │ └── model │ ├── Menu.java │ ├── Server.java │ └── Theme.java └── resources └── application.yml /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/README.md -------------------------------------------------------------------------------- /email/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/email/README.md -------------------------------------------------------------------------------- /email/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/email/pom.xml -------------------------------------------------------------------------------- /email/src/main/java/com/mkyong/Application.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/email/src/main/java/com/mkyong/Application.java -------------------------------------------------------------------------------- /email/src/main/resources/android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/email/src/main/resources/android.png -------------------------------------------------------------------------------- /email/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/email/src/main/resources/application.properties -------------------------------------------------------------------------------- /logging-log4j2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/logging-log4j2/README.md -------------------------------------------------------------------------------- /logging-log4j2/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/logging-log4j2/pom.xml -------------------------------------------------------------------------------- /logging-log4j2/src/main/java/com/mkyong/HelloController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/logging-log4j2/src/main/java/com/mkyong/HelloController.java -------------------------------------------------------------------------------- /logging-log4j2/src/main/java/com/mkyong/StartApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/logging-log4j2/src/main/java/com/mkyong/StartApplication.java -------------------------------------------------------------------------------- /logging-log4j2/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/logging-log4j2/src/main/resources/application.properties -------------------------------------------------------------------------------- /logging-log4j2/src/main/resources/log4j2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/logging-log4j2/src/main/resources/log4j2.xml -------------------------------------------------------------------------------- /logging-log4j2/src/main/resources/log4j2.yml.bk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/logging-log4j2/src/main/resources/log4j2.yml.bk -------------------------------------------------------------------------------- /logging-log4j2/src/main/resources/templates/welcome.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/logging-log4j2/src/main/resources/templates/welcome.html -------------------------------------------------------------------------------- /profile-properties/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-properties/pom.xml -------------------------------------------------------------------------------- /profile-properties/src/main/java/com/mkyong/Application.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-properties/src/main/java/com/mkyong/Application.java -------------------------------------------------------------------------------- /profile-properties/src/main/java/com/mkyong/config/ServerProperties.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-properties/src/main/java/com/mkyong/config/ServerProperties.java -------------------------------------------------------------------------------- /profile-properties/src/main/resources/application-dev.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-properties/src/main/resources/application-dev.properties -------------------------------------------------------------------------------- /profile-properties/src/main/resources/application-prod.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-properties/src/main/resources/application-prod.properties -------------------------------------------------------------------------------- /profile-properties/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-properties/src/main/resources/application.properties -------------------------------------------------------------------------------- /profile-simple/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-simple/pom.xml -------------------------------------------------------------------------------- /profile-simple/src/main/java/com/mkyong/Application.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-simple/src/main/java/com/mkyong/Application.java -------------------------------------------------------------------------------- /profile-simple/src/main/java/com/mkyong/service/RainingDayService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-simple/src/main/java/com/mkyong/service/RainingDayService.java -------------------------------------------------------------------------------- /profile-simple/src/main/java/com/mkyong/service/SunnyDayService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-simple/src/main/java/com/mkyong/service/SunnyDayService.java -------------------------------------------------------------------------------- /profile-simple/src/main/java/com/mkyong/service/WeatherService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-simple/src/main/java/com/mkyong/service/WeatherService.java -------------------------------------------------------------------------------- /profile-simple/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-simple/src/main/resources/application.properties -------------------------------------------------------------------------------- /profile-simple/src/test/java/com.mkyong/TestApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-simple/src/test/java/com.mkyong/TestApplication.java -------------------------------------------------------------------------------- /profile-simple/src/test/java/com.mkyong/TestWeatherService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-simple/src/test/java/com.mkyong/TestWeatherService.java -------------------------------------------------------------------------------- /profile-yaml/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-yaml/pom.xml -------------------------------------------------------------------------------- /profile-yaml/src/main/java/com/mkyong/Application.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-yaml/src/main/java/com/mkyong/Application.java -------------------------------------------------------------------------------- /profile-yaml/src/main/java/com/mkyong/config/ServerProperties.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-yaml/src/main/java/com/mkyong/config/ServerProperties.java -------------------------------------------------------------------------------- /profile-yaml/src/main/resources/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/profile-yaml/src/main/resources/application.yml -------------------------------------------------------------------------------- /spring-boot-autoconfiguration/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-autoconfiguration/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-autoconfiguration/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-autoconfiguration/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /spring-boot-autoconfiguration/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-autoconfiguration/README.md -------------------------------------------------------------------------------- /spring-boot-autoconfiguration/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-autoconfiguration/mvnw -------------------------------------------------------------------------------- /spring-boot-autoconfiguration/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-autoconfiguration/mvnw.cmd -------------------------------------------------------------------------------- /spring-boot-autoconfiguration/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-autoconfiguration/pom.xml -------------------------------------------------------------------------------- /spring-boot-autoconfiguration/src/main/java/com/mkyong/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-autoconfiguration/src/main/java/com/mkyong/MainApplication.java -------------------------------------------------------------------------------- /spring-boot-autoconfiguration/src/main/java/com/mkyong/service/WebSessionService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-autoconfiguration/src/main/java/com/mkyong/service/WebSessionService.java -------------------------------------------------------------------------------- /spring-boot-autoconfiguration/src/main/java/com/mkyong/service/impl/PostgreSessionService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-autoconfiguration/src/main/java/com/mkyong/service/impl/PostgreSessionService.java -------------------------------------------------------------------------------- /spring-boot-autoconfiguration/src/main/java/com/mkyong/service/impl/RedisSessionService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-autoconfiguration/src/main/java/com/mkyong/service/impl/RedisSessionService.java -------------------------------------------------------------------------------- /spring-boot-autoconfiguration/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-autoconfiguration/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-change-port/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-change-port/README.md -------------------------------------------------------------------------------- /spring-boot-change-port/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-change-port/pom.xml -------------------------------------------------------------------------------- /spring-boot-change-port/src/main/java/com/mkyong/HelloController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-change-port/src/main/java/com/mkyong/HelloController.java -------------------------------------------------------------------------------- /spring-boot-change-port/src/main/java/com/mkyong/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-change-port/src/main/java/com/mkyong/MainApplication.java -------------------------------------------------------------------------------- /spring-boot-change-port/src/main/java/com/mkyong/config/CustomWebServerFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-change-port/src/main/java/com/mkyong/config/CustomWebServerFactory.java -------------------------------------------------------------------------------- /spring-boot-change-port/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port = 8181 -------------------------------------------------------------------------------- /spring-boot-change-port/src/test/java/com/mkyong/HelloControllerTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-change-port/src/test/java/com/mkyong/HelloControllerTests.java -------------------------------------------------------------------------------- /spring-boot-change-port/src/test/java/com/mkyong/WebServerTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-change-port/src/test/java/com/mkyong/WebServerTests.java -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/README.md -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/mvnw -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/mvnw.cmd -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/pom.xml -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/src/main/java/com/mkyong/DatabaseInitializer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/src/main/java/com/mkyong/DatabaseInitializer.java -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/src/main/java/com/mkyong/StartApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/src/main/java/com/mkyong/StartApplication.java -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/src/main/java/com/mkyong/StartApplication2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/src/main/java/com/mkyong/StartApplication2.java -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/src/main/java/com/mkyong/book/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/src/main/java/com/mkyong/book/Book.java -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/src/main/java/com/mkyong/book/BookController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/src/main/java/com/mkyong/book/BookController.java -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/src/main/java/com/mkyong/book/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/src/main/java/com/mkyong/book/BookRepository.java -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/src/main/java/com/mkyong/book/BookService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/src/main/java/com/mkyong/book/BookService.java -------------------------------------------------------------------------------- /spring-boot-commandlinerunner/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-commandlinerunner/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-docker/Dockerfile -------------------------------------------------------------------------------- /spring-boot-docker/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-docker/pom.xml -------------------------------------------------------------------------------- /spring-boot-docker/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-docker/readme.md -------------------------------------------------------------------------------- /spring-boot-docker/src/main/java/com/mkyong/StartApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-docker/src/main/java/com/mkyong/StartApplication.java -------------------------------------------------------------------------------- /spring-boot-docker/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-docker/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-docker/src/main/resources/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-docker/src/main/resources/static/css/main.css -------------------------------------------------------------------------------- /spring-boot-docker/src/main/resources/static/js/main.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-docker/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-docker/src/main/resources/templates/index.html -------------------------------------------------------------------------------- /spring-boot-externalize-config-2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-2/README.md -------------------------------------------------------------------------------- /spring-boot-externalize-config-2/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-2/pom.xml -------------------------------------------------------------------------------- /spring-boot-externalize-config-2/src/main/java/com/mkyong/EnvironmentController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-2/src/main/java/com/mkyong/EnvironmentController.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-2/src/main/java/com/mkyong/MainController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-2/src/main/java/com/mkyong/MainController.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-2/src/main/java/com/mkyong/SpringBootWebApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-2/src/main/java/com/mkyong/SpringBootWebApplication.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-2/src/main/java/com/mkyong/global/EmailServer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-2/src/main/java/com/mkyong/global/EmailServer.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-2/src/main/java/com/mkyong/global/EmailServer2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-2/src/main/java/com/mkyong/global/EmailServer2.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-2/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-2/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-externalize-config-2/src/test/java/com/mkyong/EnvironmentControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-2/src/test/java/com/mkyong/EnvironmentControllerTest.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-2/src/test/java/com/mkyong/MainControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-2/src/test/java/com/mkyong/MainControllerTest.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-3/README.md -------------------------------------------------------------------------------- /spring-boot-externalize-config-3/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-3/pom.xml -------------------------------------------------------------------------------- /spring-boot-externalize-config-3/src/main/java/com/mkyong/Application.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-3/src/main/java/com/mkyong/Application.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-3/src/main/java/com/mkyong/config/DatabaseProperties.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-3/src/main/java/com/mkyong/config/DatabaseProperties.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-3/src/main/java/com/mkyong/config/FileProperties.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-3/src/main/java/com/mkyong/config/FileProperties.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-3/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-3/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-externalize-config-3/src/main/resources/server/db.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-3/src/main/resources/server/db.properties -------------------------------------------------------------------------------- /spring-boot-externalize-config-3/src/main/resources/server/file.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-3/src/main/resources/server/file.properties -------------------------------------------------------------------------------- /spring-boot-externalize-config-3/src/test/java/com/mkyong/ApplicationTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-3/src/test/java/com/mkyong/ApplicationTest.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-4/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-4/README.md -------------------------------------------------------------------------------- /spring-boot-externalize-config-4/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-4/pom.xml -------------------------------------------------------------------------------- /spring-boot-externalize-config-4/src/main/java/com/mkyong/Application.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-4/src/main/java/com/mkyong/Application.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-4/src/main/java/com/mkyong/service/DatabaseService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-4/src/main/java/com/mkyong/service/DatabaseService.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-4/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-4/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-externalize-config-4/src/test/java/com/mkyong/ApplicationTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-4/src/test/java/com/mkyong/ApplicationTest.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-4/src/test/java/com/mkyong/ApplicationTest2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-4/src/test/java/com/mkyong/ApplicationTest2.java -------------------------------------------------------------------------------- /spring-boot-externalize-config-4/src/test/resources/test.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config-4/src/test/resources/test.properties -------------------------------------------------------------------------------- /spring-boot-externalize-config/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config/README.md -------------------------------------------------------------------------------- /spring-boot-externalize-config/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config/pom.xml -------------------------------------------------------------------------------- /spring-boot-externalize-config/src/main/java/com/mkyong/MainController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config/src/main/java/com/mkyong/MainController.java -------------------------------------------------------------------------------- /spring-boot-externalize-config/src/main/java/com/mkyong/SpringBootWebApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config/src/main/java/com/mkyong/SpringBootWebApplication.java -------------------------------------------------------------------------------- /spring-boot-externalize-config/src/main/java/com/mkyong/global/AppProperties.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config/src/main/java/com/mkyong/global/AppProperties.java -------------------------------------------------------------------------------- /spring-boot-externalize-config/src/main/java/com/mkyong/global/GlobalProperties.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config/src/main/java/com/mkyong/global/GlobalProperties.java -------------------------------------------------------------------------------- /spring-boot-externalize-config/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-externalize-config/src/main/resources/application.yml.bk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config/src/main/resources/application.yml.bk -------------------------------------------------------------------------------- /spring-boot-externalize-config/src/test/java/com/mkyong/MainControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-externalize-config/src/test/java/com/mkyong/MainControllerTest.java -------------------------------------------------------------------------------- /spring-boot-hello-world/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-hello-world/README.md -------------------------------------------------------------------------------- /spring-boot-hello-world/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-hello-world/pom.xml -------------------------------------------------------------------------------- /spring-boot-hello-world/src/main/java/com/mkyong/HelloController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-hello-world/src/main/java/com/mkyong/HelloController.java -------------------------------------------------------------------------------- /spring-boot-hello-world/src/main/java/com/mkyong/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-hello-world/src/main/java/com/mkyong/MainApplication.java -------------------------------------------------------------------------------- /spring-boot-hello-world/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-hello-world/src/test/java/com/mkyong/HelloControllerTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-hello-world/src/test/java/com/mkyong/HelloControllerTests.java -------------------------------------------------------------------------------- /spring-boot-hello-world/src/test/java/com/mkyong/HelloControllerTests2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-hello-world/src/test/java/com/mkyong/HelloControllerTests2.java -------------------------------------------------------------------------------- /spring-boot-jobrunr/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-jobrunr/README.md -------------------------------------------------------------------------------- /spring-boot-jobrunr/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-jobrunr/pom.xml -------------------------------------------------------------------------------- /spring-boot-jobrunr/src/main/java/com/mkyong/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-jobrunr/src/main/java/com/mkyong/MainApplication.java -------------------------------------------------------------------------------- /spring-boot-jobrunr/src/main/java/com/mkyong/MainConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-jobrunr/src/main/java/com/mkyong/MainConfiguration.java -------------------------------------------------------------------------------- /spring-boot-jobrunr/src/main/java/com/mkyong/api/JobController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-jobrunr/src/main/java/com/mkyong/api/JobController.java -------------------------------------------------------------------------------- /spring-boot-jobrunr/src/main/java/com/mkyong/job/SampleJobService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-jobrunr/src/main/java/com/mkyong/job/SampleJobService.java -------------------------------------------------------------------------------- /spring-boot-jobrunr/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-jobrunr/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-jobrunr/src/test/java/com.mkyong/JobEndpointTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-jobrunr/src/test/java/com.mkyong/JobEndpointTest.java -------------------------------------------------------------------------------- /spring-boot-logging-slf4j-logback/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-logging-slf4j-logback/README.md -------------------------------------------------------------------------------- /spring-boot-logging-slf4j-logback/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-logging-slf4j-logback/pom.xml -------------------------------------------------------------------------------- /spring-boot-logging-slf4j-logback/src/main/java/com/mkyong/HelloController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-logging-slf4j-logback/src/main/java/com/mkyong/HelloController.java -------------------------------------------------------------------------------- /spring-boot-logging-slf4j-logback/src/main/java/com/mkyong/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-logging-slf4j-logback/src/main/java/com/mkyong/MainApplication.java -------------------------------------------------------------------------------- /spring-boot-logging-slf4j-logback/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-logging-slf4j-logback/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-logging-slf4j-logback/src/main/resources/bk/logback-spring.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-logging-slf4j-logback/src/main/resources/bk/logback-spring.xml -------------------------------------------------------------------------------- /spring-boot-logging-slf4j-logback/src/main/resources/bk/logback.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-logging-slf4j-logback/src/main/resources/bk/logback.xml -------------------------------------------------------------------------------- /spring-boot-ssl/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-ssl/pom.xml -------------------------------------------------------------------------------- /spring-boot-ssl/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-ssl/readme.md -------------------------------------------------------------------------------- /spring-boot-ssl/src/main/java/com/mkyong/StartApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-ssl/src/main/java/com/mkyong/StartApplication.java -------------------------------------------------------------------------------- /spring-boot-ssl/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-ssl/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-ssl/src/main/resources/mkyong.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-ssl/src/main/resources/mkyong.p12 -------------------------------------------------------------------------------- /spring-boot-ssl/src/main/resources/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-ssl/src/main/resources/static/css/main.css -------------------------------------------------------------------------------- /spring-boot-ssl/src/main/resources/static/js/main.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-ssl/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-ssl/src/main/resources/templates/index.html -------------------------------------------------------------------------------- /spring-boot-test-json/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-test-json/README.md -------------------------------------------------------------------------------- /spring-boot-test-json/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-test-json/pom.xml -------------------------------------------------------------------------------- /spring-boot-test-json/src/main/java/com/mkyong/SpringBootWebApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-test-json/src/main/java/com/mkyong/SpringBootWebApplication.java -------------------------------------------------------------------------------- /spring-boot-test-json/src/main/java/com/mkyong/WebController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-test-json/src/main/java/com/mkyong/WebController.java -------------------------------------------------------------------------------- /spring-boot-test-json/src/main/java/com/mkyong/model/Author.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-test-json/src/main/java/com/mkyong/model/Author.java -------------------------------------------------------------------------------- /spring-boot-test-json/src/main/java/com/mkyong/model/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-test-json/src/main/java/com/mkyong/model/Book.java -------------------------------------------------------------------------------- /spring-boot-test-json/src/main/java/com/mkyong/model/SimpleBook.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-test-json/src/main/java/com/mkyong/model/SimpleBook.java -------------------------------------------------------------------------------- /spring-boot-test-json/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-test-json/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-test-json/src/test/java/com/mkyong/WebControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-test-json/src/test/java/com/mkyong/WebControllerTest.java -------------------------------------------------------------------------------- /spring-boot-testcontainers/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-testcontainers/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /spring-boot-testcontainers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/README.md -------------------------------------------------------------------------------- /spring-boot-testcontainers/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/mvnw -------------------------------------------------------------------------------- /spring-boot-testcontainers/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/mvnw.cmd -------------------------------------------------------------------------------- /spring-boot-testcontainers/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/pom.xml -------------------------------------------------------------------------------- /spring-boot-testcontainers/src/main/java/com/mkyong/Application.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/src/main/java/com/mkyong/Application.java -------------------------------------------------------------------------------- /spring-boot-testcontainers/src/main/java/com/mkyong/book/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/src/main/java/com/mkyong/book/Book.java -------------------------------------------------------------------------------- /spring-boot-testcontainers/src/main/java/com/mkyong/book/BookController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/src/main/java/com/mkyong/book/BookController.java -------------------------------------------------------------------------------- /spring-boot-testcontainers/src/main/java/com/mkyong/book/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/src/main/java/com/mkyong/book/BookRepository.java -------------------------------------------------------------------------------- /spring-boot-testcontainers/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-testcontainers/src/main/resources/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/src/main/resources/schema.sql -------------------------------------------------------------------------------- /spring-boot-testcontainers/src/test/java/com/mkyong/book/BookControllerOldWayTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/src/test/java/com/mkyong/book/BookControllerOldWayTest.java -------------------------------------------------------------------------------- /spring-boot-testcontainers/src/test/java/com/mkyong/book/BookControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/src/test/java/com/mkyong/book/BookControllerTest.java -------------------------------------------------------------------------------- /spring-boot-testcontainers/src/test/java/com/mkyong/book/BookRepositoryDynamicPropertyTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/src/test/java/com/mkyong/book/BookRepositoryDynamicPropertyTest.java -------------------------------------------------------------------------------- /spring-boot-testcontainers/src/test/java/com/mkyong/book/BookRepositoryServiceConnectionTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/src/test/java/com/mkyong/book/BookRepositoryServiceConnectionTest.java -------------------------------------------------------------------------------- /spring-boot-testcontainers/src/test/java/com/mkyong/book/BookRepositoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-boot-testcontainers/src/test/java/com/mkyong/book/BookRepositoryTest.java -------------------------------------------------------------------------------- /spring-data-jpa-mysql/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-data-jpa-mysql/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /spring-data-jpa-mysql/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/README.md -------------------------------------------------------------------------------- /spring-data-jpa-mysql/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/mvnw -------------------------------------------------------------------------------- /spring-data-jpa-mysql/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/mvnw.cmd -------------------------------------------------------------------------------- /spring-data-jpa-mysql/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/pom.xml -------------------------------------------------------------------------------- /spring-data-jpa-mysql/src/main/java/com/mkyong/StartApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/src/main/java/com/mkyong/StartApplication.java -------------------------------------------------------------------------------- /spring-data-jpa-mysql/src/main/java/com/mkyong/book/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/src/main/java/com/mkyong/book/Book.java -------------------------------------------------------------------------------- /spring-data-jpa-mysql/src/main/java/com/mkyong/book/BookController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/src/main/java/com/mkyong/book/BookController.java -------------------------------------------------------------------------------- /spring-data-jpa-mysql/src/main/java/com/mkyong/book/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/src/main/java/com/mkyong/book/BookRepository.java -------------------------------------------------------------------------------- /spring-data-jpa-mysql/src/main/java/com/mkyong/book/BookService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/src/main/java/com/mkyong/book/BookService.java -------------------------------------------------------------------------------- /spring-data-jpa-mysql/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-data-jpa-mysql/src/test/java/com/mkyong/BookControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-mysql/src/test/java/com/mkyong/BookControllerTest.java -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/README.md -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/mvnw -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/mvnw.cmd -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/pom.xml -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/src/main/java/com/mkyong/StartApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/src/main/java/com/mkyong/StartApplication.java -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/src/main/java/com/mkyong/book/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/src/main/java/com/mkyong/book/Book.java -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/src/main/java/com/mkyong/book/BookController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/src/main/java/com/mkyong/book/BookController.java -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/src/main/java/com/mkyong/book/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/src/main/java/com/mkyong/book/BookRepository.java -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/src/main/java/com/mkyong/book/BookService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/src/main/java/com/mkyong/book/BookService.java -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/src/test/java/com/mkyong/BookControllerIntegrationTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/src/test/java/com/mkyong/BookControllerIntegrationTest.java -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/src/test/java/com/mkyong/BookControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/src/test/java/com/mkyong/BookControllerTest.java -------------------------------------------------------------------------------- /spring-data-jpa-paging-sorting/src/test/java/com/mkyong/BookRepositoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-paging-sorting/src/test/java/com/mkyong/BookRepositoryTest.java -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/README.md -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/mvnw -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/mvnw.cmd -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/pom.xml -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/src/main/java/com/mkyong/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/src/main/java/com/mkyong/MainApplication.java -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/src/main/java/com/mkyong/controller/BookController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/src/main/java/com/mkyong/controller/BookController.java -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/src/main/java/com/mkyong/model/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/src/main/java/com/mkyong/model/Book.java -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/src/main/java/com/mkyong/repository/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/src/main/java/com/mkyong/repository/BookRepository.java -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/src/main/java/com/mkyong/service/BookService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/src/main/java/com/mkyong/service/BookService.java -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/src/test/java/com/mkyong/BookControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/src/test/java/com/mkyong/BookControllerTest.java -------------------------------------------------------------------------------- /spring-data-jpa-postgresql/src/test/java/com/mkyong/BookRepositoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-postgresql/src/test/java/com/mkyong/BookRepositoryTest.java -------------------------------------------------------------------------------- /spring-data-jpa-test/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-data-jpa-test/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /spring-data-jpa-test/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/README.md -------------------------------------------------------------------------------- /spring-data-jpa-test/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/mvnw -------------------------------------------------------------------------------- /spring-data-jpa-test/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/mvnw.cmd -------------------------------------------------------------------------------- /spring-data-jpa-test/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/pom.xml -------------------------------------------------------------------------------- /spring-data-jpa-test/src/main/java/com/mkyong/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/src/main/java/com/mkyong/Book.java -------------------------------------------------------------------------------- /spring-data-jpa-test/src/main/java/com/mkyong/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/src/main/java/com/mkyong/BookRepository.java -------------------------------------------------------------------------------- /spring-data-jpa-test/src/main/java/com/mkyong/BookService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/src/main/java/com/mkyong/BookService.java -------------------------------------------------------------------------------- /spring-data-jpa-test/src/main/java/com/mkyong/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/src/main/java/com/mkyong/MainApplication.java -------------------------------------------------------------------------------- /spring-data-jpa-test/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-data-jpa-test/src/test/java/com/mkyong/BookRepositoryMockTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/src/test/java/com/mkyong/BookRepositoryMockTest.java -------------------------------------------------------------------------------- /spring-data-jpa-test/src/test/java/com/mkyong/BookRepositoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa-test/src/test/java/com/mkyong/BookRepositoryTest.java -------------------------------------------------------------------------------- /spring-data-jpa/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-data-jpa/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /spring-data-jpa/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/README.md -------------------------------------------------------------------------------- /spring-data-jpa/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/mvnw -------------------------------------------------------------------------------- /spring-data-jpa/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/mvnw.cmd -------------------------------------------------------------------------------- /spring-data-jpa/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/pom.xml -------------------------------------------------------------------------------- /spring-data-jpa/src/main/java/com/mkyong/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/src/main/java/com/mkyong/Book.java -------------------------------------------------------------------------------- /spring-data-jpa/src/main/java/com/mkyong/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/src/main/java/com/mkyong/BookRepository.java -------------------------------------------------------------------------------- /spring-data-jpa/src/main/java/com/mkyong/BookService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/src/main/java/com/mkyong/BookService.java -------------------------------------------------------------------------------- /spring-data-jpa/src/main/java/com/mkyong/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/src/main/java/com/mkyong/MainApplication.java -------------------------------------------------------------------------------- /spring-data-jpa/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-data-jpa/src/test/java/com/mkyong/BookRepositoryMockTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/src/test/java/com/mkyong/BookRepositoryMockTest.java -------------------------------------------------------------------------------- /spring-data-jpa/src/test/java/com/mkyong/BookRepositoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-data-jpa/src/test/java/com/mkyong/BookRepositoryTest.java -------------------------------------------------------------------------------- /spring-jdbc/README.md: -------------------------------------------------------------------------------- 1 | # Spring Boot + JDBC example 2 | 3 | Article link : in progress... -------------------------------------------------------------------------------- /spring-jdbc/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/pom.xml -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/Book.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/StartApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/StartApplication.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/customer/Customer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/customer/Customer.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/customer/CustomerRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/customer/CustomerRepository.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/customer/CustomerRowMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/customer/CustomerRowMapper.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/repository/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/repository/BookRepository.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/repository/JdbcBookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/repository/JdbcBookRepository.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/repository/NamedParameterJdbcBookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/repository/NamedParameterJdbcBookRepository.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/sp/StoredFunction.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/sp/StoredFunction.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/sp/StoredProcedure1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/sp/StoredProcedure1.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/sp/StoredProcedure2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/sp/StoredProcedure2.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/sp/TestData.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/sp/TestData.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/java/com/mkyong/util/NameGenerator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/java/com/mkyong/util/NameGenerator.java -------------------------------------------------------------------------------- /spring-jdbc/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-jdbc/src/main/resources/oracle.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-jdbc/src/main/resources/oracle.sql -------------------------------------------------------------------------------- /spring-rest-error-handling/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/pom.xml -------------------------------------------------------------------------------- /spring-rest-error-handling/src/main/java/com/mkyong/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/src/main/java/com/mkyong/Book.java -------------------------------------------------------------------------------- /spring-rest-error-handling/src/main/java/com/mkyong/BookController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/src/main/java/com/mkyong/BookController.java -------------------------------------------------------------------------------- /spring-rest-error-handling/src/main/java/com/mkyong/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/src/main/java/com/mkyong/BookRepository.java -------------------------------------------------------------------------------- /spring-rest-error-handling/src/main/java/com/mkyong/StartBookApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/src/main/java/com/mkyong/StartBookApplication.java -------------------------------------------------------------------------------- /spring-rest-error-handling/src/main/java/com/mkyong/error/BookNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/src/main/java/com/mkyong/error/BookNotFoundException.java -------------------------------------------------------------------------------- /spring-rest-error-handling/src/main/java/com/mkyong/error/BookUnSupportedFieldPatchException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/src/main/java/com/mkyong/error/BookUnSupportedFieldPatchException.java -------------------------------------------------------------------------------- /spring-rest-error-handling/src/main/java/com/mkyong/error/CustomErrorAttributes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/src/main/java/com/mkyong/error/CustomErrorAttributes.java -------------------------------------------------------------------------------- /spring-rest-error-handling/src/main/java/com/mkyong/error/CustomErrorResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/src/main/java/com/mkyong/error/CustomErrorResponse.java -------------------------------------------------------------------------------- /spring-rest-error-handling/src/main/java/com/mkyong/error/CustomGlobalExceptionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/src/main/java/com/mkyong/error/CustomGlobalExceptionHandler.java -------------------------------------------------------------------------------- /spring-rest-error-handling/src/main/java/com/mkyong/error/validator/Author.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/src/main/java/com/mkyong/error/validator/Author.java -------------------------------------------------------------------------------- /spring-rest-error-handling/src/main/java/com/mkyong/error/validator/AuthorValidator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/src/main/java/com/mkyong/error/validator/AuthorValidator.java -------------------------------------------------------------------------------- /spring-rest-error-handling/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-error-handling/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-rest-hello-world/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/README.md -------------------------------------------------------------------------------- /spring-rest-hello-world/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/pom.xml -------------------------------------------------------------------------------- /spring-rest-hello-world/src/main/java/com/mkyong/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/src/main/java/com/mkyong/Book.java -------------------------------------------------------------------------------- /spring-rest-hello-world/src/main/java/com/mkyong/BookController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/src/main/java/com/mkyong/BookController.java -------------------------------------------------------------------------------- /spring-rest-hello-world/src/main/java/com/mkyong/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/src/main/java/com/mkyong/BookRepository.java -------------------------------------------------------------------------------- /spring-rest-hello-world/src/main/java/com/mkyong/StartBookApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/src/main/java/com/mkyong/StartBookApplication.java -------------------------------------------------------------------------------- /spring-rest-hello-world/src/main/java/com/mkyong/error/BookNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/src/main/java/com/mkyong/error/BookNotFoundException.java -------------------------------------------------------------------------------- /spring-rest-hello-world/src/main/java/com/mkyong/error/BookUnSupportedFieldPatchException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/src/main/java/com/mkyong/error/BookUnSupportedFieldPatchException.java -------------------------------------------------------------------------------- /spring-rest-hello-world/src/main/java/com/mkyong/error/CustomGlobalExceptionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/src/main/java/com/mkyong/error/CustomGlobalExceptionHandler.java -------------------------------------------------------------------------------- /spring-rest-hello-world/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-rest-hello-world/src/test/java/com/mkyong/BookControllerRestTemplateTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/src/test/java/com/mkyong/BookControllerRestTemplateTest.java -------------------------------------------------------------------------------- /spring-rest-hello-world/src/test/java/com/mkyong/BookControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/src/test/java/com/mkyong/BookControllerTest.java -------------------------------------------------------------------------------- /spring-rest-hello-world/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-hello-world/src/test/resources/logback-test.xml -------------------------------------------------------------------------------- /spring-rest-security/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/pom.xml -------------------------------------------------------------------------------- /spring-rest-security/src/main/java/com/mkyong/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/main/java/com/mkyong/Book.java -------------------------------------------------------------------------------- /spring-rest-security/src/main/java/com/mkyong/BookController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/main/java/com/mkyong/BookController.java -------------------------------------------------------------------------------- /spring-rest-security/src/main/java/com/mkyong/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/main/java/com/mkyong/BookRepository.java -------------------------------------------------------------------------------- /spring-rest-security/src/main/java/com/mkyong/StartBookApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/main/java/com/mkyong/StartBookApplication.java -------------------------------------------------------------------------------- /spring-rest-security/src/main/java/com/mkyong/config/SpringSecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/main/java/com/mkyong/config/SpringSecurityConfig.java -------------------------------------------------------------------------------- /spring-rest-security/src/main/java/com/mkyong/error/BookNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/main/java/com/mkyong/error/BookNotFoundException.java -------------------------------------------------------------------------------- /spring-rest-security/src/main/java/com/mkyong/error/BookUnSupportedFieldPatchException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/main/java/com/mkyong/error/BookUnSupportedFieldPatchException.java -------------------------------------------------------------------------------- /spring-rest-security/src/main/java/com/mkyong/error/CustomGlobalExceptionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/main/java/com/mkyong/error/CustomGlobalExceptionHandler.java -------------------------------------------------------------------------------- /spring-rest-security/src/main/java/com/mkyong/error/validator/Author.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/main/java/com/mkyong/error/validator/Author.java -------------------------------------------------------------------------------- /spring-rest-security/src/main/java/com/mkyong/error/validator/AuthorValidator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/main/java/com/mkyong/error/validator/AuthorValidator.java -------------------------------------------------------------------------------- /spring-rest-security/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-rest-security/src/test/java/com/mkyong/BookControllerRestTemplateTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/test/java/com/mkyong/BookControllerRestTemplateTest.java -------------------------------------------------------------------------------- /spring-rest-security/src/test/java/com/mkyong/BookControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-security/src/test/java/com/mkyong/BookControllerTest.java -------------------------------------------------------------------------------- /spring-rest-validation/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/pom.xml -------------------------------------------------------------------------------- /spring-rest-validation/src/main/java/com/mkyong/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/src/main/java/com/mkyong/Book.java -------------------------------------------------------------------------------- /spring-rest-validation/src/main/java/com/mkyong/BookController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/src/main/java/com/mkyong/BookController.java -------------------------------------------------------------------------------- /spring-rest-validation/src/main/java/com/mkyong/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/src/main/java/com/mkyong/BookRepository.java -------------------------------------------------------------------------------- /spring-rest-validation/src/main/java/com/mkyong/StartBookApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/src/main/java/com/mkyong/StartBookApplication.java -------------------------------------------------------------------------------- /spring-rest-validation/src/main/java/com/mkyong/error/BookNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/src/main/java/com/mkyong/error/BookNotFoundException.java -------------------------------------------------------------------------------- /spring-rest-validation/src/main/java/com/mkyong/error/BookUnSupportedFieldPatchException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/src/main/java/com/mkyong/error/BookUnSupportedFieldPatchException.java -------------------------------------------------------------------------------- /spring-rest-validation/src/main/java/com/mkyong/error/CustomGlobalExceptionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/src/main/java/com/mkyong/error/CustomGlobalExceptionHandler.java -------------------------------------------------------------------------------- /spring-rest-validation/src/main/java/com/mkyong/error/validator/Author.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/src/main/java/com/mkyong/error/validator/Author.java -------------------------------------------------------------------------------- /spring-rest-validation/src/main/java/com/mkyong/error/validator/AuthorValidator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/src/main/java/com/mkyong/error/validator/AuthorValidator.java -------------------------------------------------------------------------------- /spring-rest-validation/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-rest-validation/src/test/java/com/mkyong/BookControllerRestTemplateTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/src/test/java/com/mkyong/BookControllerRestTemplateTest.java -------------------------------------------------------------------------------- /spring-rest-validation/src/test/java/com/mkyong/BookControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/spring-rest-validation/src/test/java/com/mkyong/BookControllerTest.java -------------------------------------------------------------------------------- /testing-junit5-mockito/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/testing-junit5-mockito/README.md -------------------------------------------------------------------------------- /testing-junit5-mockito/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/testing-junit5-mockito/pom.xml -------------------------------------------------------------------------------- /testing-junit5-mockito/src/main/java/com/mkyong/core/StartApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/testing-junit5-mockito/src/main/java/com/mkyong/core/StartApplication.java -------------------------------------------------------------------------------- /testing-junit5-mockito/src/main/java/com/mkyong/core/controller/MainController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/testing-junit5-mockito/src/main/java/com/mkyong/core/controller/MainController.java -------------------------------------------------------------------------------- /testing-junit5-mockito/src/main/java/com/mkyong/core/repository/HelloRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/testing-junit5-mockito/src/main/java/com/mkyong/core/repository/HelloRepository.java -------------------------------------------------------------------------------- /testing-junit5-mockito/src/main/java/com/mkyong/core/repository/HelloRepositoryImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/testing-junit5-mockito/src/main/java/com/mkyong/core/repository/HelloRepositoryImpl.java -------------------------------------------------------------------------------- /testing-junit5-mockito/src/main/java/com/mkyong/core/services/HelloService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/testing-junit5-mockito/src/main/java/com/mkyong/core/services/HelloService.java -------------------------------------------------------------------------------- /testing-junit5-mockito/src/main/java/com/mkyong/core/services/HelloServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/testing-junit5-mockito/src/main/java/com/mkyong/core/services/HelloServiceImpl.java -------------------------------------------------------------------------------- /testing-junit5-mockito/src/test/java/com/mkyong/core/controller/MainControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/testing-junit5-mockito/src/test/java/com/mkyong/core/controller/MainControllerTest.java -------------------------------------------------------------------------------- /testing-junit5-mockito/src/test/java/com/mkyong/core/services/HelloServiceMockTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/testing-junit5-mockito/src/test/java/com/mkyong/core/services/HelloServiceMockTest.java -------------------------------------------------------------------------------- /testing-junit5-mockito/src/test/java/com/mkyong/core/services/HelloServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/testing-junit5-mockito/src/test/java/com/mkyong/core/services/HelloServiceTest.java -------------------------------------------------------------------------------- /web-thymeleaf-war/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf-war/pom.xml -------------------------------------------------------------------------------- /web-thymeleaf-war/src/main/java/com/mkyong/StartWebApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf-war/src/main/java/com/mkyong/StartWebApplication.java -------------------------------------------------------------------------------- /web-thymeleaf-war/src/main/java/com/mkyong/controller/WelcomeController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf-war/src/main/java/com/mkyong/controller/WelcomeController.java -------------------------------------------------------------------------------- /web-thymeleaf-war/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf-war/src/main/resources/application.properties -------------------------------------------------------------------------------- /web-thymeleaf-war/src/main/resources/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf-war/src/main/resources/static/css/main.css -------------------------------------------------------------------------------- /web-thymeleaf-war/src/main/resources/templates/welcome.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf-war/src/main/resources/templates/welcome.html -------------------------------------------------------------------------------- /web-thymeleaf/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf/README.md -------------------------------------------------------------------------------- /web-thymeleaf/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf/pom.xml -------------------------------------------------------------------------------- /web-thymeleaf/src/main/java/com/mkyong/StartWebApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf/src/main/java/com/mkyong/StartWebApplication.java -------------------------------------------------------------------------------- /web-thymeleaf/src/main/java/com/mkyong/controller/WelcomeController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf/src/main/java/com/mkyong/controller/WelcomeController.java -------------------------------------------------------------------------------- /web-thymeleaf/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf/src/main/resources/application.properties -------------------------------------------------------------------------------- /web-thymeleaf/src/main/resources/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf/src/main/resources/static/css/main.css -------------------------------------------------------------------------------- /web-thymeleaf/src/main/resources/templates/welcome.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf/src/main/resources/templates/welcome.html -------------------------------------------------------------------------------- /web-thymeleaf/src/test/java/com/mkyong/WelcomeControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/web-thymeleaf/src/test/java/com/mkyong/WelcomeControllerTest.java -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/README.md -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/pom.xml -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/CommentWebApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/CommentWebApplication.java -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/controller/CommentController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/controller/CommentController.java -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/controller/MainController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/controller/MainController.java -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/model/Comment.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/model/Comment.java -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/repository/CommentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/repository/CommentRepository.java -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/repository/ReactiveCommentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/repository/ReactiveCommentRepository.java -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/utils/CommentGenerator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/src/main/java/com/mkyong/reactive/utils/CommentGenerator.java -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/src/main/resources/application.properties -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/main/resources/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/src/main/resources/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/main/resources/static/css/main.css: -------------------------------------------------------------------------------- 1 | #title{ 2 | margin:40px 0; 3 | } -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/main/resources/static/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/src/main/resources/static/js/main.js -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/src/main/resources/templates/index.html -------------------------------------------------------------------------------- /webflux-thymeleaf-serversentevent/src/test/java/com/mkyong/reactive/TestCommentWebApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf-serversentevent/src/test/java/com/mkyong/reactive/TestCommentWebApplication.java -------------------------------------------------------------------------------- /webflux-thymeleaf/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf/README.md -------------------------------------------------------------------------------- /webflux-thymeleaf/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf/pom.xml -------------------------------------------------------------------------------- /webflux-thymeleaf/src/main/java/com/mkyong/reactive/Movie.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf/src/main/java/com/mkyong/reactive/Movie.java -------------------------------------------------------------------------------- /webflux-thymeleaf/src/main/java/com/mkyong/reactive/MovieWebApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf/src/main/java/com/mkyong/reactive/MovieWebApplication.java -------------------------------------------------------------------------------- /webflux-thymeleaf/src/main/java/com/mkyong/reactive/controller/MovieController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf/src/main/java/com/mkyong/reactive/controller/MovieController.java -------------------------------------------------------------------------------- /webflux-thymeleaf/src/main/java/com/mkyong/reactive/repository/MovieRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf/src/main/java/com/mkyong/reactive/repository/MovieRepository.java -------------------------------------------------------------------------------- /webflux-thymeleaf/src/main/java/com/mkyong/reactive/repository/ReactiveMovieRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf/src/main/java/com/mkyong/reactive/repository/ReactiveMovieRepository.java -------------------------------------------------------------------------------- /webflux-thymeleaf/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf/src/main/resources/application.properties -------------------------------------------------------------------------------- /webflux-thymeleaf/src/main/resources/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf/src/main/resources/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /webflux-thymeleaf/src/main/resources/static/css/main.css: -------------------------------------------------------------------------------- 1 | #title{ 2 | margin:40px 0; 3 | } -------------------------------------------------------------------------------- /webflux-thymeleaf/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf/src/main/resources/templates/index.html -------------------------------------------------------------------------------- /webflux-thymeleaf/src/test/java/com/mkyong/reactive/TestWeb.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/webflux-thymeleaf/src/test/java/com/mkyong/reactive/TestWeb.java -------------------------------------------------------------------------------- /yaml-simple/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/yaml-simple/pom.xml -------------------------------------------------------------------------------- /yaml-simple/src/main/java/com/mkyong/Application.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/yaml-simple/src/main/java/com/mkyong/Application.java -------------------------------------------------------------------------------- /yaml-simple/src/main/java/com/mkyong/config/GlobalProperties.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/yaml-simple/src/main/java/com/mkyong/config/GlobalProperties.java -------------------------------------------------------------------------------- /yaml-simple/src/main/java/com/mkyong/config/WordpressProperties.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/yaml-simple/src/main/java/com/mkyong/config/WordpressProperties.java -------------------------------------------------------------------------------- /yaml-simple/src/main/java/com/mkyong/config/model/Menu.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/yaml-simple/src/main/java/com/mkyong/config/model/Menu.java -------------------------------------------------------------------------------- /yaml-simple/src/main/java/com/mkyong/config/model/Server.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/yaml-simple/src/main/java/com/mkyong/config/model/Server.java -------------------------------------------------------------------------------- /yaml-simple/src/main/java/com/mkyong/config/model/Theme.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/yaml-simple/src/main/java/com/mkyong/config/model/Theme.java -------------------------------------------------------------------------------- /yaml-simple/src/main/resources/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkyong/spring-boot/HEAD/yaml-simple/src/main/resources/application.yml --------------------------------------------------------------------------------