File tree Expand file tree Collapse file tree 3 files changed +13
-68
lines changed
src/main/kotlin/osahner/service Expand file tree Collapse file tree 3 files changed +13
-68
lines changed Original file line number Diff line number Diff line change 1
1
# kotlin-spring-boot-rest-jpa-jwt-starter
2
2
3
- [ ![ Build Status] ( https://api.travis-ci.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter.svg?branch=develop )] ( https://app.travis-ci.com/github/osahner/kotlin-spring-boot-rest-jpa-jwt-starter )
4
- [ ![ codecov] ( https://codecov.io/gh/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/branch/develop/graph/badge.svg )] ( https://codecov.io/gh/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/branch/develop/ )
5
-
3
+ [ ![ Quality gate] ( https://sonarcloud.io/api/project_badges/quality_gate?project=osahner_kotlin-spring-boot-rest-jpa-jwt-starter )] ( https://sonarcloud.io/summary/new_code?id=osahner_kotlin-spring-boot-rest-jpa-jwt-starter )
4
+ [ ![ Vulnerabilities] ( https://sonarcloud.io/api/project_badges/measure?project=osahner_kotlin-spring-boot-rest-jpa-jwt-starter&metric=vulnerabilities )] ( https://sonarcloud.io/summary/new_code?id=osahner_kotlin-spring-boot-rest-jpa-jwt-starter )
5
+ [ ![ Bugs] ( https://sonarcloud.io/api/project_badges/measure?project=osahner_kotlin-spring-boot-rest-jpa-jwt-starter&metric=bugs )] ( https://sonarcloud.io/summary/new_code?id=osahner_kotlin-spring-boot-rest-jpa-jwt-starter )
6
+ [ ![ Security Rating] ( https://sonarcloud.io/api/project_badges/measure?project=osahner_kotlin-spring-boot-rest-jpa-jwt-starter&metric=security_rating )] ( https://sonarcloud.io/summary/new_code?id=osahner_kotlin-spring-boot-rest-jpa-jwt-starter )
7
+ [ ![ 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 )
6
8
7
9
** Features** :
8
- * spring-boot 3.0 .x
10
+ * spring-boot 3.1 .x
9
11
* kotlin 1.8.x
10
12
* JWT Authentication/Authorization with spring-security [ inspired by Auth0] ( https://auth0.com/blog/implementing-jwt-authentication-on-spring-boot/ )
11
13
* 2FA with TOTP (Google Authenticator)
Original file line number Diff line number Diff line change 24
24
<java .version>17</java .version>
25
25
<kotlin .version>1.8.21</kotlin .version>
26
26
27
- <dockerfile-maven .version>1.4.13</dockerfile-maven .version>
28
- <jacoco-maven-plugin .version>0.8.7</jacoco-maven-plugin .version>
27
+ <jacoco-maven-plugin .version>0.8.10</jacoco-maven-plugin .version>
29
28
30
29
<jjwt .version>0.11.5</jjwt .version>
31
30
<poi .version>5.2.3</poi .version>
255
254
</configuration >
256
255
<executions >
257
256
<execution >
257
+ <id >prepare-agent</id >
258
258
<goals >
259
259
<goal >prepare-agent</goal >
260
260
</goals >
265
265
<goals >
266
266
<goal >report</goal >
267
267
</goals >
268
- </execution >
269
- </executions >
270
- </plugin >
271
- <plugin >
272
- <groupId >com.spotify</groupId >
273
- <artifactId >dockerfile-maven-plugin</artifactId >
274
- <version >${dockerfile-maven.version} </version >
275
- <executions >
276
- <execution >
277
- <id >build-image</id >
278
- <goals >
279
- <goal >build</goal >
280
- </goals >
281
- <phase >package</phase >
282
- <configuration >
283
- <buildArgs >
284
- <JAR_FILE >${project.build.finalName} .jar</JAR_FILE >
285
- <SPRING_BOOT_VERSION >${project.parent.version} </SPRING_BOOT_VERSION >
286
- </buildArgs >
287
- </configuration >
288
- </execution >
289
- <execution >
290
- <id >tag-image-latest</id >
291
- <goals >
292
- <goal >tag</goal >
293
- </goals >
294
268
<configuration >
295
- <tag >latest</tag >
296
- </configuration >
297
- </execution >
298
- <execution >
299
- <id >tag-image-version</id >
300
- <goals >
301
- <goal >tag</goal >
302
- </goals >
303
- <configuration >
304
- <tag >${project.version} </tag >
305
- </configuration >
306
- </execution >
307
- <execution >
308
- <id >push-image-latest</id >
309
- <goals >
310
- <goal >push</goal >
311
- </goals >
312
- <phase >deploy</phase >
313
- <configuration >
314
- <tag >latest</tag >
315
- </configuration >
316
- </execution >
317
- <execution >
318
- <id >push-image-version</id >
319
- <goals >
320
- <goal >push</goal >
321
- </goals >
322
- <phase >deploy</phase >
323
- <configuration >
324
- <tag >${project.version} </tag >
269
+ <formats >
270
+ <format >XML</format >
271
+ </formats >
325
272
</configuration >
326
273
</execution >
327
274
</executions >
328
- <configuration >
329
- <repository >osahner/kotlin-spring-boot-rest-jpa-jwt-starter</repository >
330
- <noCache />
331
- <verbose />
332
- </configuration >
333
275
</plugin >
276
+
334
277
</plugins >
335
278
</build >
336
279
Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ class CsvImportService {
19
19
}
20
20
}
21
21
22
- interface CsvImportDto <S > {
22
+ fun interface CsvImportDto <S > {
23
23
fun toEntity (): S
24
24
}
You can’t perform that action at this time.
0 commit comments