Skip to content

Commit

Permalink
Story: [CCLS 2191] Use common auth starter (#41)
Browse files Browse the repository at this point in the history
* use auth starter

* update deps

* review comment updates
  • Loading branch information
farrell-m authored Jun 7, 2024
1 parent 528d99a commit eef5358
Show file tree
Hide file tree
Showing 9 changed files with 171 additions and 8 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@ In order to generate the interface and models a build can be run on the overall
## caab-service

the caab-service implements the api interface generated in the caab-api subproject.
This service directly interacts with the Transient Data Store in EBS.
This service directly interacts with the Transient Data Store in EBS.

## Common Components

This API uses components from the [LAA CCMS Common Library](https://github.com/ministryofjustice/laa-ccms-spring-boot-common):

- [laa-ccms-spring-boot-plugin](https://github.com/ministryofjustice/laa-ccms-spring-boot-common?tab=readme-ov-file#laa-ccms-spring-boot-gradle-plugin-for-java--spring-boot-projects)
- [laa-ccms-spring-boot-starter-auth](https://github.com/ministryofjustice/laa-ccms-spring-boot-common/tree/main/laa-ccms-spring-boot-starters/laa-ccms-spring-boot-starter-auth)
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'net.researchgate.release' version '3.0.2'
id 'uk.gov.laa.ccms.springboot.laa-ccms-spring-boot-gradle-plugin' version '0.0.2' apply false
id 'uk.gov.laa.ccms.springboot.laa-ccms-spring-boot-gradle-plugin' version '0.0.3' apply false
}

subprojects {
Expand Down
9 changes: 5 additions & 4 deletions caab-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ apply plugin: 'uk.gov.laa.ccms.springboot.laa-ccms-spring-boot-gradle-plugin'

dependencies {

implementation 'io.swagger.core.v3:swagger-annotations:2.2.22'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.data:spring-data-commons'
implementation 'org.springdoc:springdoc-openapi-ui:1.7.0'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
Expand Down Expand Up @@ -39,13 +39,14 @@ openApiGenerate {
configOptions = [
delegatePattern : "false",
interfaceOnly : "true", // This will only generate interfaces, not implementations
dateLibrary : "java17",
java17 : "true",
dateLibrary : "legacy",
useTags : "true",
skipDefaultInterface : "true",
useJakartaEe : "true",
documentationProvider : "none",
serializableModel : "true"
serializableModel : "true",
annotationLibrary : "swagger2",
useSpringBoot3 : "true"
]
}

Expand Down
Loading

0 comments on commit eef5358

Please sign in to comment.