Skip to content

OAK-12150 : migrate oak-blob-cloud-azure to Oak Cache API#2838

Merged
rishabhdaim merged 3 commits into
trunkfrom
OAK-12150
Apr 10, 2026
Merged

OAK-12150 : migrate oak-blob-cloud-azure to Oak Cache API#2838
rishabhdaim merged 3 commits into
trunkfrom
OAK-12150

Conversation

@rishabhdaim
Copy link
Copy Markdown
Contributor

Summary

Migrate AzureBlobStoreBackend and AzureBlobStoreBackendV8 in oak-blob-cloud-azure from the Guava-shim cache to the new Oak Cache API (org.apache.jackrabbit.oak.cache.api).

Changes

  • AzureBlobStoreBackend.java / AzureBlobStoreBackendV8.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); added explicit type parameters to CacheBuilder.<String, URI>newBuilder()
  • pom.xml: added oak-core-spi as a compile dependency

Test Plan

  • AzureBlobStoreBackendCompatibilityTest — all 5 tests pass

Links

@rishabhdaim rishabhdaim self-assigned this Apr 10, 2026
@rishabhdaim rishabhdaim requested a review from reschke April 10, 2026 11:18
@sonarqubecloud
Copy link
Copy Markdown

@rishabhdaim rishabhdaim merged commit 87aaaef into trunk Apr 10, 2026
3 checks passed
@rishabhdaim rishabhdaim deleted the OAK-12150 branch April 10, 2026 18:18
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.

1 participant