├── .gitattributes ├── .github └── FUNDING.yml ├── .gitignore ├── .mvn └── wrapper │ └── maven-wrapper.properties ├── README.md ├── book-service ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── ivanfranchin │ │ │ └── bookservice │ │ │ ├── BookServiceApplication.java │ │ │ ├── book │ │ │ ├── BookController.java │ │ │ ├── BookRepository.java │ │ │ ├── BookService.java │ │ │ ├── dto │ │ │ │ ├── BookResponse.java │ │ │ │ └── CreateBookRequest.java │ │ │ ├── exception │ │ │ │ ├── BookDuplicateIsbnException.java │ │ │ │ └── BookNotFoundException.java │ │ │ └── model │ │ │ │ └── Book.java │ │ │ └── config │ │ │ ├── ErrorAttributesConfig.java │ │ │ └── RequestLoggingFilterConfig.java │ └── resources │ │ ├── application.properties │ │ └── banner.txt │ └── test │ └── java │ └── com │ └── ivanfranchin │ └── bookservice │ └── BookServiceApplicationTests.java ├── docker └── kong │ └── Dockerfile ├── documentation ├── project-diagram.excalidraw └── project-diagram.jpeg ├── get-access-token.sh ├── init-environment.sh ├── init-keycloak.sh ├── init-kong.sh ├── kong └── serverless │ └── extract-username.lua ├── mvnw ├── mvnw.cmd ├── pom.xml ├── remove-docker-images.sh ├── scripts └── my-functions.sh └── shutdown-environment.sh /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: ivangfr 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/.gitignore -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/README.md -------------------------------------------------------------------------------- /book-service/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/pom.xml -------------------------------------------------------------------------------- /book-service/src/main/java/com/ivanfranchin/bookservice/BookServiceApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/java/com/ivanfranchin/bookservice/BookServiceApplication.java -------------------------------------------------------------------------------- /book-service/src/main/java/com/ivanfranchin/bookservice/book/BookController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/java/com/ivanfranchin/bookservice/book/BookController.java -------------------------------------------------------------------------------- /book-service/src/main/java/com/ivanfranchin/bookservice/book/BookRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/java/com/ivanfranchin/bookservice/book/BookRepository.java -------------------------------------------------------------------------------- /book-service/src/main/java/com/ivanfranchin/bookservice/book/BookService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/java/com/ivanfranchin/bookservice/book/BookService.java -------------------------------------------------------------------------------- /book-service/src/main/java/com/ivanfranchin/bookservice/book/dto/BookResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/java/com/ivanfranchin/bookservice/book/dto/BookResponse.java -------------------------------------------------------------------------------- /book-service/src/main/java/com/ivanfranchin/bookservice/book/dto/CreateBookRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/java/com/ivanfranchin/bookservice/book/dto/CreateBookRequest.java -------------------------------------------------------------------------------- /book-service/src/main/java/com/ivanfranchin/bookservice/book/exception/BookDuplicateIsbnException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/java/com/ivanfranchin/bookservice/book/exception/BookDuplicateIsbnException.java -------------------------------------------------------------------------------- /book-service/src/main/java/com/ivanfranchin/bookservice/book/exception/BookNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/java/com/ivanfranchin/bookservice/book/exception/BookNotFoundException.java -------------------------------------------------------------------------------- /book-service/src/main/java/com/ivanfranchin/bookservice/book/model/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/java/com/ivanfranchin/bookservice/book/model/Book.java -------------------------------------------------------------------------------- /book-service/src/main/java/com/ivanfranchin/bookservice/config/ErrorAttributesConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/java/com/ivanfranchin/bookservice/config/ErrorAttributesConfig.java -------------------------------------------------------------------------------- /book-service/src/main/java/com/ivanfranchin/bookservice/config/RequestLoggingFilterConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/java/com/ivanfranchin/bookservice/config/RequestLoggingFilterConfig.java -------------------------------------------------------------------------------- /book-service/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/resources/application.properties -------------------------------------------------------------------------------- /book-service/src/main/resources/banner.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/main/resources/banner.txt -------------------------------------------------------------------------------- /book-service/src/test/java/com/ivanfranchin/bookservice/BookServiceApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/book-service/src/test/java/com/ivanfranchin/bookservice/BookServiceApplicationTests.java -------------------------------------------------------------------------------- /docker/kong/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/docker/kong/Dockerfile -------------------------------------------------------------------------------- /documentation/project-diagram.excalidraw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/documentation/project-diagram.excalidraw -------------------------------------------------------------------------------- /documentation/project-diagram.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/documentation/project-diagram.jpeg -------------------------------------------------------------------------------- /get-access-token.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/get-access-token.sh -------------------------------------------------------------------------------- /init-environment.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/init-environment.sh -------------------------------------------------------------------------------- /init-keycloak.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/init-keycloak.sh -------------------------------------------------------------------------------- /init-kong.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/init-kong.sh -------------------------------------------------------------------------------- /kong/serverless/extract-username.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/kong/serverless/extract-username.lua -------------------------------------------------------------------------------- /mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/mvnw -------------------------------------------------------------------------------- /mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/mvnw.cmd -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/pom.xml -------------------------------------------------------------------------------- /remove-docker-images.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/remove-docker-images.sh -------------------------------------------------------------------------------- /scripts/my-functions.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/scripts/my-functions.sh -------------------------------------------------------------------------------- /shutdown-environment.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivangfr/springboot-kong-keycloak/HEAD/shutdown-environment.sh --------------------------------------------------------------------------------