Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
9b94c6f
OAK-11267: imported diffs from https://github.com/seropian/jackrabbit…
reschke Jul 29, 2025
91d53fa
OAK-11267: restore line breaks
reschke Jul 30, 2025
8785c85
OAK-11299: Missing Segments With Oak Run Segment Copy (#1892)
lweitzendorf Jul 29, 2025
ee62c83
Fix a typo in builtin_nodetypes.cnd: @peop -> @prop (#2373)
karollewandowski Jul 29, 2025
388e9d8
OAK-11834 - Cleanups to reduce changeset in OAK-11814 (#2411)
nfsantos Jul 29, 2025
629423a
OAK-11801 : removed Guava's fluent iterable with Apache's (#2408)
rishabhdaim Jul 30, 2025
0497ffd
OAK-11267: use SystemProperty Supplier
reschke Jul 30, 2025
5cc9084
Revert "OAK-11801 : removed Guava's fluent iterable with Apache's (#2…
reschke Jul 30, 2025
1297d4e
Revert "OAK-11834 - Cleanups to reduce changeset in OAK-11814 (#2411)"
reschke Jul 30, 2025
02891d3
Revert "Fix a typo in builtin_nodetypes.cnd: @peop -> @prop (#2373)"
reschke Jul 30, 2025
054d713
Revert "OAK-11299: Missing Segments With Oak Run Segment Copy (#1892)"
reschke Jul 30, 2025
d9ed807
OAK-11267: integrate https://github.com/seropian/jackrabbit-oak/commi…
reschke Sep 15, 2025
e7727d9
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Sep 16, 2025
6ed4cce
Upgrade azure sdk 12 (#2514)
seropian Sep 16, 2025
1e75097
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Sep 17, 2025
9722e17
test
reschke Sep 17, 2025
4671419
Merge pull request #2517 from seropian/upgrade_azure_sdk_12
reschke Sep 17, 2025
41e3f63
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Sep 17, 2025
59d6422
Merge pull request #2518 from seropian/upgrade_azure_sdk_12
reschke Sep 17, 2025
171590b
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Sep 18, 2025
2e57824
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Sep 18, 2025
a31558b
Merge pull request #2520 from seropian/upgrade_azure_sdk_12
reschke Sep 18, 2025
fa42a8a
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Sep 19, 2025
bf9d3c7
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Sep 20, 2025
682a763
Merge pull request #2521 from seropian/upgrade_azure_sdk_12
reschke Sep 20, 2025
cabd191
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Sep 24, 2025
1dc25c5
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Sep 24, 2025
17300fa
Merge pull request #2535 from seropian/upgrade_azure_sdk_12
reschke Sep 24, 2025
984c72a
Merge branch 'OAK-11267' into upgrade_azure_sdk_12
seropian Sep 24, 2025
0f82bb9
Merge pull request #2536 from seropian/upgrade_azure_sdk_12
reschke Sep 25, 2025
a412bc2
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Sep 29, 2025
be6a998
Merge branch 'OAK-11267' into upgrade_azure_sdk_12
seropian Sep 29, 2025
2918639
Merge pull request #2547 from seropian/upgrade_azure_sdk_12
reschke Sep 29, 2025
e316896
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 1, 2025
5a3bb4f
Merge pull request #2551 from seropian/upgrade_azure_sdk_12
reschke Oct 1, 2025
971975f
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 1, 2025
0effd55
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 2, 2025
a276bf3
Merge pull request #2554 from seropian/upgrade_azure_sdk_12
reschke Oct 2, 2025
3093757
Merge branch 'refs/heads/trunk' into upgrade_azure_sdk_12
seropian Oct 2, 2025
b218995
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 4, 2025
289925a
Merge pull request #2556 from seropian/upgrade_azure_sdk_12
reschke Oct 5, 2025
cb69b04
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 6, 2025
360972e
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 7, 2025
b108dad
Merge pull request #2561 from seropian/upgrade_azure_sdk_12
reschke Oct 7, 2025
3c68e5a
Merge branch 'refs/heads/trunk' into upgrade_azure_sdk_12
seropian Oct 8, 2025
0619b59
Merge pull request #2563 from seropian/upgrade_azure_sdk_12
reschke Oct 8, 2025
08596cc
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 8, 2025
423c2c1
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 9, 2025
19f4e2a
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 10, 2025
516ca68
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 10, 2025
f4c50ed
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 10, 2025
d7805b8
Upgrade azure sdk 12 (#2570)
seropian Oct 10, 2025
7be8533
Merge branch 'refs/heads/trunk' into upgrade_azure_sdk_12
seropian Oct 13, 2025
9467636
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 13, 2025
4b212f3
Merge branch 'trunk' into upgrade_azure_sdk_12
seropian Oct 14, 2025
d461555
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 14, 2025
e55d4b2
Merge branch 'OAK-11267' into upgrade_azure_sdk_12
seropian Oct 14, 2025
366c7f5
Upgrade azure sdk 12 (#2584)
seropian Oct 14, 2025
b0f7630
Merge branch 'OAK-11267' into upgrade_azure_sdk_12
seropian Oct 14, 2025
a6ecd08
Merge remote-tracking branch 'seropian/upgrade_azure_sdk_12' into upg…
seropian Oct 14, 2025
a44a1f6
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 21, 2025
5015f30
Merge branch 'trunk' into upgrade_azure_sdk_12
seropian Oct 22, 2025
b80f1f9
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Oct 23, 2025
77f8e26
Merge branch 'trunk' into upgrade_azure_sdk_12
reschke Oct 28, 2025
bec8fcb
OAK-11267 Upgrade azure sdk 12 (#2608)
seropian Nov 7, 2025
c063191
Merge branch 'OAK-11267' into upgrade_azure_sdk_12
seropian Nov 11, 2025
470c3c9
Merge pull request #2612 from seropian/upgrade_azure_sdk_12
reschke Nov 11, 2025
fb0f7c8
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian Nov 14, 2025
992048d
Merge pull request #2614 from seropian/upgrade_azure_sdk_12
reschke Nov 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions oak-blob-cloud-azure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@
com.fasterxml.jackson.annotation;resolution:=optional,
com.fasterxml.jackson.databind*;resolution:=optional,
com.fasterxml.jackson.dataformat.xml;resolution:=optional,
com.fasterxml.jackson.dataformat.xml.annotation;resolution:=optional,
com.fasterxml.jackson.datatype*;resolution:=optional,
com.azure.identity.broker.implementation;resolution:=optional,
com.azure.xml;resolution:=optional,
com.microsoft.aad.msal4jextensions*;resolution:=optional,
com.azure.storage.common*;resolution:=optional,
com.azure.storage.internal*;resolution:=optional,
com.microsoft.aad.*;resolution:=optional,
com.sun.net.httpserver;resolution:=optional,
sun.misc;resolution:=optional,
net.jcip.annotations;resolution:=optional,
Expand All @@ -59,7 +62,7 @@
*
</Import-Package>
<Export-Package>
org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage
!org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage.*
</Export-Package>
<DynamicImport-Package>sun.io</DynamicImport-Package>
<Embed-Dependency>
Expand All @@ -68,7 +71,11 @@
azure-core,
azure-identity,
azure-json,
guava,
azure-xml,
azure-storage-blob,
azure-storage-common,
azure-storage-internal-avro,
com.microsoft.aad,
jsr305,
reactive-streams,
msal4j,
Expand Down Expand Up @@ -170,6 +177,11 @@
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-storage</artifactId>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-blob</artifactId>
<version>12.27.1</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault-core</artifactId>
Expand Down Expand Up @@ -288,12 +300,6 @@
<artifactId>nimbus-jose-jwt</artifactId>
</dependency>

<!-- Azure Guava dependency -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.1.0-jre</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage;

import org.apache.jackrabbit.core.data.DataIdentifier;
import org.apache.jackrabbit.core.data.DataRecord;
import org.apache.jackrabbit.core.data.DataStoreException;
import org.apache.jackrabbit.oak.plugins.blob.datastore.directaccess.DataRecordDownloadOptions;
import org.apache.jackrabbit.oak.plugins.blob.datastore.directaccess.DataRecordUpload;
import org.apache.jackrabbit.oak.plugins.blob.datastore.directaccess.DataRecordUploadException;
import org.apache.jackrabbit.oak.plugins.blob.datastore.directaccess.DataRecordUploadOptions;
import org.apache.jackrabbit.oak.spi.blob.AbstractSharedBackend;
import org.jetbrains.annotations.NotNull;

import java.net.URI;
import java.util.Properties;


public abstract class AbstractAzureBlobStoreBackend extends AbstractSharedBackend {

protected abstract DataRecordUpload initiateHttpUpload(long maxUploadSizeInBytes, int maxNumberOfURIs, @NotNull final DataRecordUploadOptions options);
protected abstract DataRecord completeHttpUpload(@NotNull String uploadTokenStr) throws DataRecordUploadException, DataStoreException;
protected abstract void setHttpDownloadURIExpirySeconds(int seconds);
protected abstract void setHttpUploadURIExpirySeconds(int seconds);
protected abstract void setHttpDownloadURICacheSize(int maxSize);
protected abstract URI createHttpDownloadURI(@NotNull DataIdentifier identifier, @NotNull DataRecordDownloadOptions downloadOptions);
public abstract void setProperties(final Properties properties);

}
Loading
Loading