diff --git a/README.md b/README.md index f4c98c7..1f972a2 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=osahner_kotlin-spring-boot-rest-jpa-jwt-starter&metric=coverage)](https://sonarcloud.io/summary/new_code?id=osahner_kotlin-spring-boot-rest-jpa-jwt-starter) **Features**: -* spring-boot 3.1.x -* kotlin 1.8.x +* spring-boot 3.2.x +* kotlin 1.9.x * JWT Authentication/Authorization with spring-security [inspired by Auth0](https://auth0.com/blog/implementing-jwt-authentication-on-spring-boot/) * 2FA with TOTP (Google Authenticator) * JPA mysql / OpenCVS / POI @@ -31,7 +31,7 @@ FLUSH PRIVILEGES; * **compile & integration tests** ```shell -mvn -Ddockerfile.skip clean compile test +mvn clean compile test ``` * **run app** @@ -58,8 +58,8 @@ some more test can be found in [address.http](contributed/requests/address.http) ### Docker ```shell -mvn clean package -Dmaven.test.skip=true -docker run -it -p 8888:8888 --rm osahner/kotlin-spring-boot-rest-jpa-jwt-starter:latest +./contributed/buildDocker.sh (-p) # see below +docker run -it -p 8888:8888 --rm osahner/kotlin-spring-boot-rest-jpa-jwt-starter:0.11.0-SNAPSHOT curl http://localhost:8888/starter-test/api/v1/test # result: Pong!% @@ -67,6 +67,8 @@ curl http://localhost:8888/starter-test/api/v1/test :exclamation: If you develop on Apple Silicon (like me) you can use the simple script `contributed/buildDocker.sh`. Option `-p` is for **production** build (`--platform=linux/amd64` instead of `--platform=linux/arm64/v8` without) +Modify `Dockerfile` to your needs. + ### Why This is my little backend cookbook. I need and use it regularly for various small to medium-sized projects. @@ -74,6 +76,7 @@ This is my little backend cookbook. I need and use it regularly for various smal * Found an error -> please [report](https://github.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/issues). ### Changelog +* _v0.11.0-SNAPSHOT_: spring-boot 3.2.x, kotlin 1.9.x, java 21 * _v0.10.0-SNAPSHOT_: spring-boot 3.1.x, add 2FA, cleanup * _v0.9.1-SNAPSHOT_: spring-boot 3.0.x, kotlin 1.8.x, [migrated to SEQ tables](#migrate-to-seq-tables) * _v0.8.3-SNAPSHOT_: spring-boot 2.7.x, java 17 diff --git a/pom.xml b/pom.xml index 245b555..8df1def 100644 --- a/pom.xml +++ b/pom.xml @@ -5,13 +5,13 @@ org.springframework.boot spring-boot-starter-parent - 3.1.4 + 3.2.0 osahner kotlin-spring-boot-rest-jpa-jwt-starter - 0.10.1-SNAPSHOT + 0.11.0-SNAPSHOT jar kotlin spring-boot 2 rest/jpa/jwt starter @@ -21,16 +21,16 @@ UTF-8 UTF-8 - 17 - 1.9.10 + 21 + 1.9.21 0.8.10 0.12.3 5.2.4 1.9.3 - 5.8 - 2.14.0 + 5.9 + 2.15.0 1.0.0 @@ -277,4 +277,25 @@ + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 8be61a9..700f89b 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -6,7 +6,6 @@ spring: physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl ddl-auto: update - database-platform: org.hibernate.dialect.MySQLDialect open-in-view: true properties: hibernate.show_sql: false