-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache no longer serialize and compress data. The objects will be contained as they are, as pure-old-java-objects! * New CacheObject interface & PojoPacker * Added PojoCache * Update gradle and spock * Rename CacheObject to match existing consumers * Remove FintCache and rename PojoCache * Change input in Cache to CacheObject and internal+output to PojoCacheObject * Add more tests and equals+hashcode for PojoCacheObject * Refactor - Split FintCache and move internal updates to FintCacheList * Fix syntax and comments in test --------- Co-authored-by: Hknots <[email protected]>
- Loading branch information
1 parent
18149c6
commit cb9cece
Showing
22 changed files
with
639 additions
and
640 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,41 @@ | ||
plugins { | ||
id 'java-library' | ||
id 'maven-publish' | ||
id 'groovy' | ||
id 'com.github.ben-manes.versions' version '0.21.0' | ||
id 'com.github.kt3k.coveralls' version '2.8.2' | ||
} | ||
|
||
group = 'no.fint' | ||
|
||
apply plugin: 'java' | ||
apply plugin: 'maven' | ||
apply plugin: 'maven-publish' | ||
apply plugin: 'groovy' | ||
apply plugin: 'jacoco' | ||
|
||
jar { | ||
baseName = 'fint-cache' | ||
} | ||
group = 'no.fintlabs' | ||
|
||
sourceCompatibility = 1.8 | ||
|
||
repositories { | ||
maven { url 'https://repo.fintlabs.no/releases' } | ||
jcenter() | ||
mavenLocal() | ||
maven { url 'https://repo.fintlabs.no/releases' } | ||
mavenCentral() | ||
} | ||
|
||
apply from: 'https://raw.githubusercontent.com/FINTlibs/fint-buildscripts/v1.5.0/dependencies.gradle' | ||
dependencies { | ||
compile('no.fint:fint-event-model:3.0.1') | ||
compile('no.fint:fint-hazelcast:1.2.0') | ||
|
||
compile("org.springframework.boot:spring-boot-starter-web:${springBootVersion}") | ||
compile("org.projectlombok:lombok:${lombokVersion}") | ||
compile('commons-codec:commons-codec:1.12') | ||
compile('com.google.guava:guava:27.1-jre') | ||
|
||
testCompile("cglib:cglib-nodep:${cglibVersion}") | ||
testCompile("org.springframework.boot:spring-boot-starter-test:${springBootVersion}") | ||
testCompile("org.spockframework:spock-spring:${spockSpringVersion}") | ||
testCompile("org.spockframework:spock-core:${spockSpringVersion}") | ||
testCompile('no.fint:fint-test-utils:0.0.6') | ||
testCompile('org.apache.commons:commons-math3:3.6.1') | ||
implementation('no.fint:fint-event-model:3.0.1') | ||
//implementation('no.fint:fint-hazelcast:1.2.0') | ||
|
||
implementation("org.springframework.boot:spring-boot-starter-web:${springBootVersion}") | ||
//compile("org.projectlombok:lombok:${lombokVersion}") | ||
compileOnly "org.projectlombok:lombok:1.18.28" | ||
annotationProcessor "org.projectlombok:lombok:1.18.28" | ||
implementation('commons-codec:commons-codec:1.16.0') | ||
implementation('com.google.guava:guava:32.1.2-jre') | ||
|
||
testImplementation("cglib:cglib-nodep:${cglibVersion}") | ||
testImplementation("org.springframework.boot:spring-boot-starter-test:${springBootVersion}") | ||
testImplementation("org.spockframework:spock-spring:2.0-groovy-3.0") | ||
testImplementation("org.spockframework:spock-core:2.0-groovy-3.0") | ||
testImplementation('no.fint:fint-test-utils:0.0.6') | ||
testImplementation('org.apache.commons:commons-math3:3.6.1') | ||
testCompileOnly("org.projectlombok:lombok:1.18.28") | ||
testAnnotationProcessor("org.projectlombok:lombok:1.18.28") | ||
} | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = gradleVersion | ||
} | ||
|
||
test { | ||
testLogging { | ||
events 'passed', 'skipped', 'failed' | ||
} | ||
} | ||
|
||
jacocoTestReport { | ||
reports { | ||
xml.enabled true | ||
} | ||
} | ||
|
||
apply from: 'https://raw.githubusercontent.com/FINTlibs/fint-buildscripts/master/dependencyReport.gradle' | ||
|
||
apply from: 'https://raw.githubusercontent.com/FINTLabs/fint-buildscripts/master/reposilite.fint.ga.gradle' |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.