BucketFS Java 2.4.0, released 2022-08-16
August 16, 2022 ยท View on GitHub
Code name: State based monitoring
Summary
Enhanced BucketFS to allow filtering entries in BucketFS log file not only by time stamp but also by line number.
Updated interface to allow to pass a generic state which can represent the current point in time or the size of the log file in terms of number of lines before looking for new entries.
Please note that the interface changes should be backwards-compatible for consumers of the interface, while existing implementations of the interface are broken in contrast.
Exasol product integration team assumes that the only existing implementations are inside projects bucketfs-java and exasol-testcontainers.
Old:
interface com.exasol.bucketfs.Bucket {
boolean isObjectSynchronized(String pathInBucket, Instant afterUTC) throws BucketAccessException;
}
New:
interface com.exasol.bucketfs.Bucket {
boolean isObjectSynchronized(String pathInBucket, State state) throws BucketAccessException;
}
In order to use the new signature of isObjectSynchronized() please refer to the following classes:
com.exasol.bucketfs.monitor.TimestampStatecom.exasol.bucketfs.monitor.TimestampRetriever
Features
- #44: Supported filtering entries in BucketFS log file by line number
Dependency Updates
Compile Dependency Updates
- Updated
com.exasol:error-reporting-java:0.4.0to0.4.1 - Updated
org.eclipse:yasson:2.0.2to2.0.4
Test Dependency Updates
- Updated
com.exasol:exasol-testcontainers:5.1.0to6.1.2 - Updated
org.junit.jupiter:junit-jupiter-engine:5.7.2to5.8.2 - Updated
org.junit.jupiter:junit-jupiter-params:5.7.2to5.8.2 - Updated
org.mockito:mockito-junit-jupiter:3.12.4to4.5.1 - Updated
org.testcontainers:junit-jupiter:1.16.0to1.17.1
Plugin Dependency Updates
- Updated
com.exasol:error-code-crawler-maven-plugin:0.6.0to1.1.2 - Updated
com.exasol:project-keeper-maven-plugin:1.3.4to2.6.2 - Updated
io.github.zlika:reproducible-build-maven-plugin:0.13to0.15 - Updated
org.apache.maven.plugins:maven-compiler-plugin:3.8.1to3.10.1 - Updated
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0to3.1.0 - Updated
org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3to3.0.0-M6 - Updated
org.apache.maven.plugins:maven-javadoc-plugin:3.3.1to3.4.0 - Updated
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3to3.0.0-M5 - Added
org.codehaus.mojo:flatten-maven-plugin:1.2.7 - Updated
org.codehaus.mojo:versions-maven-plugin:2.8.1to2.10.0 - Updated
org.jacoco:jacoco-maven-plugin:0.8.7to0.8.8 - Added
org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184 - Updated
org.sonatype.ossindex.maven:ossindex-maven-plugin:3.1.0to3.2.0 - Updated
org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8to1.6.13