You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by GitBox <gi...@apache.org> on 2022/03/04 10:20:54 UTC
[GitHub] [jackrabbit-oak] smiroslav commented on a change in pull request #510: OAK-9713 sas uri support in oak-upgrade
smiroslav commented on a change in pull request #510:
URL: https://github.com/apache/jackrabbit-oak/pull/510#discussion_r819444297
##########
File path: oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/cli/node/SegmentAzureFactory.java
##########
@@ -87,6 +90,10 @@ public Builder containerName(String containerName) {
this.containerName = containerName;
return this;
}
+ public Builder sasToken(String sasToken) {
Review comment:
Is it necessary to explicitly set ```sasToken```? I have impression that it can be the part of ```connectionString```.
https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string#create-a-connection-string-using-a-shared-access-signature
##########
File path: oak-segment-azure/src/main/java/org/apache/jackrabbit/oak/segment/azure/AzureUtilities.java
##########
@@ -116,6 +116,12 @@ public static CloudBlobDirectory cloudBlobDirectoryFrom(String connection, Strin
return container.getDirectoryReference(dir);
}
+ public static CloudBlobDirectory cloudBlobDirectoryFromSasUri(String connection, String containerName,
Review comment:
Not sure this method is needed, since the only difference in this method compared to ```cloudBlobDirectoryFrom``` is that container creation is skipped. Otherwise in the method implementation I do not see anything specific to SAS URI.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@jackrabbit.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org