-
Notifications
You must be signed in to change notification settings - Fork 425
OAK-11267 - Upgrade Azure SDK V8 to V12 for oak-blob-azure #2330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
9b94c6f
OAK-11267: imported diffs from https://github.com/seropian/jackrabbit…
reschke 91d53fa
OAK-11267: restore line breaks
reschke 8785c85
OAK-11299: Missing Segments With Oak Run Segment Copy (#1892)
lweitzendorf ee62c83
Fix a typo in builtin_nodetypes.cnd: @peop -> @prop (#2373)
karollewandowski 388e9d8
OAK-11834 - Cleanups to reduce changeset in OAK-11814 (#2411)
nfsantos 629423a
OAK-11801 : removed Guava's fluent iterable with Apache's (#2408)
rishabhdaim 0497ffd
OAK-11267: use SystemProperty Supplier
reschke 5cc9084
Revert "OAK-11801 : removed Guava's fluent iterable with Apache's (#2…
reschke 1297d4e
Revert "OAK-11834 - Cleanups to reduce changeset in OAK-11814 (#2411)"
reschke 02891d3
Revert "Fix a typo in builtin_nodetypes.cnd: @peop -> @prop (#2373)"
reschke 054d713
Revert "OAK-11299: Missing Segments With Oak Run Segment Copy (#1892)"
reschke d9ed807
OAK-11267: integrate https://github.com/seropian/jackrabbit-oak/commi…
reschke e7727d9
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian 6ed4cce
Upgrade azure sdk 12 (#2514)
seropian 1e75097
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian 9722e17
test
reschke 4671419
Merge pull request #2517 from seropian/upgrade_azure_sdk_12
reschke 41e3f63
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian 59d6422
Merge pull request #2518 from seropian/upgrade_azure_sdk_12
reschke 171590b
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian 2e57824
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian a31558b
Merge pull request #2520 from seropian/upgrade_azure_sdk_12
reschke fa42a8a
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian bf9d3c7
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian 682a763
Merge pull request #2521 from seropian/upgrade_azure_sdk_12
reschke cabd191
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian 1dc25c5
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian 17300fa
Merge pull request #2535 from seropian/upgrade_azure_sdk_12
reschke 984c72a
Merge branch 'OAK-11267' into upgrade_azure_sdk_12
seropian 0f82bb9
Merge pull request #2536 from seropian/upgrade_azure_sdk_12
reschke a412bc2
OAK-11267: Upgrade Azure SDK V8 to V12 for oak-blob-azure
seropian be6a998
Merge branch 'OAK-11267' into upgrade_azure_sdk_12
seropian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
45 changes: 45 additions & 0 deletions
45
...org/apache/jackrabbit/oak/blob/cloud/azure/blobstorage/AbstractAzureBlobStoreBackend.java
This file contains hidden or 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 |
|---|---|---|
| @@ -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); | ||
|
|
||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exporting these could cause problems; see the current tickets about oak-segment-azure.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have read the referenced jira discussions about microsoft exports, indeed in the older version of oak-segment-azure there were some microsoft exports, however in this oak-blob-cloud-azure PR there is no such exported package. The references to azure packages are only within the embed section and is not exported in anyway. It lives only inside the module's classloader and it is not influencing other parts of the runtime.