Refactor the Async Inline Caching Sample Code to include (Asciidoc) documentation markers. Change the batch time interval in the AEQ batch-size configuration/strategy bean definition to 15 minutes. Rename the GolfTournament created in the SpringBootApplication class to 'The Masters'. Refactor the isFinished(..) and isNotFinished() methods in the PgaTourService class to accept a nullable GolfTournament argument. Refactor the GolferController class to declare the REST API web service endpoints to use '/api/golf/tournament/' as the base Webapp context.
36 lines
1.0 KiB
Groovy
36 lines
1.0 KiB
Groovy
plugins {
|
|
id "io.freefair.lombok" version "5.3.0"
|
|
}
|
|
|
|
apply plugin: 'io.spring.convention.spring-sample-boot'
|
|
|
|
description = "Spring Geode Sample demonstrating Spring's Cache Abstraction using Apache Geode as the caching provider for Asynchronous Inline Caching."
|
|
|
|
dependencies {
|
|
|
|
compile project(":spring-geode-starter")
|
|
|
|
compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
|
|
|
compile "org.projectlombok:lombok"
|
|
compile "org.springframework.boot:spring-boot-starter-data-jpa"
|
|
compile "org.springframework.boot:spring-boot-starter-web"
|
|
|
|
runtime "org.hsqldb:hsqldb"
|
|
|
|
testCompile project(":spring-geode-starter-test")
|
|
|
|
testCompile "org.awaitility:awaitility:$awaitilityVersion"
|
|
testCompile "org.springframework.boot:spring-boot-starter-test"
|
|
|
|
}
|
|
|
|
bootJar {
|
|
mainClass = 'example.app.caching.inline.async.client.BootGeodeAsyncInlineCachingClientApplication'
|
|
}
|
|
|
|
bootRun {
|
|
main = 'example.app.caching.inline.async.client.BootGeodeAsyncInlineCachingClientApplication'
|
|
args "--spring.profiles.active=peer-cache,queue-batch-size,server"
|
|
}
|