You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by mi...@apache.org on 2022/02/23 16:10:49 UTC
[jackrabbit-oak] branch trunk updated: OAK-9704 Fix Utils#getConnectionString
This is an automated email from the ASF dual-hosted git repository.
miroslav pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push:
new 69842a3 OAK-9704 Fix Utils#getConnectionString
new 74299ff Merge pull request #502 from jelmini/OAK-9704
69842a3 is described below
commit 69842a330f76d34945fe04263bc8d5bf4338e257
Author: Carlo Jelmini <je...@adobe.com>
AuthorDate: Wed Feb 23 17:07:00 2022 +0100
OAK-9704 Fix Utils#getConnectionString
---
.../org/apache/jackrabbit/oak/blob/cloud/azure/blobstorage/Utils.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/oak-blob-cloud-azure/src/main/java/org/apache/jackrabbit/oak/blob/cloud/azure/blobstorage/Utils.java b/oak-blob-cloud-azure/src/main/java/org/apache/jackrabbit/oak/blob/cloud/azure/blobstorage/Utils.java
index 1757d3b..254a2a4 100644
--- a/oak-blob-cloud-azure/src/main/java/org/apache/jackrabbit/oak/blob/cloud/azure/blobstorage/Utils.java
+++ b/oak-blob-cloud-azure/src/main/java/org/apache/jackrabbit/oak/blob/cloud/azure/blobstorage/Utils.java
@@ -153,6 +153,10 @@ public final class Utils {
}
}
+ public static String getConnectionString(final String accountName, final String accountKey) {
+ return getConnectionString(accountName, accountKey, null);
+ }
+
public static String getConnectionString(final String accountName, final String accountKey, String blobEndpoint) {
StringBuilder connString = new StringBuilder("DefaultEndpointsProtocol=https");
connString.append(";AccountName=").append(accountName);