Skip to content

OAK-12149 : migrate oak-blob-cloud S3Backend to Oak Cache API#2834

Merged
rishabhdaim merged 1 commit into
trunkfrom
OAK-12149
Apr 10, 2026
Merged

OAK-12149 : migrate oak-blob-cloud S3Backend to Oak Cache API#2834
rishabhdaim merged 1 commit into
trunkfrom
OAK-12149

Conversation

@rishabhdaim
Copy link
Copy Markdown
Contributor

Summary

Migrate S3Backend in oak-blob-cloud from the Guava-shim cache (org.apache.jackrabbit.guava.common.cache) to the new Oak Cache API (org.apache.jackrabbit.oak.cache.api).

Changes

  • S3Backend.java: replaced Cache/CacheBuilder imports from org.apache.jackrabbit.guava.common.cache with org.apache.jackrabbit.oak.cache.api; updated .expireAfterWrite(long, TimeUnit) to .expireAfterWrite(Duration)
  • pom.xml: replaced org.apache.jackrabbit.guava.common.cache OSGi Import-Package entry with org.apache.jackrabbit.oak.cache.api

Test Plan

  • S3BackendCompatibilityTest — all 6 tests pass

Links

@rishabhdaim rishabhdaim self-assigned this Apr 10, 2026
@rishabhdaim rishabhdaim requested review from amit-jain, reschke and thomasmueller and removed request for amit-jain and thomasmueller April 10, 2026 05:12
@sonarqubecloud
Copy link
Copy Markdown

@rishabhdaim rishabhdaim merged commit bdc1f08 into trunk Apr 10, 2026
3 checks passed
@rishabhdaim rishabhdaim deleted the OAK-12149 branch April 10, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants