You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/07/30 18:03:57 UTC

[GitHub] [nifi] MuazmaZ commented on a change in pull request #4430: NIFI-7677 - Upgrade Azure Storage API to latest (v12) for enabling identity authentication

MuazmaZ commented on a change in pull request #4430:
URL: https://github.com/apache/nifi/pull/4430#discussion_r463176963



##########
File path: nifi-nar-bundles/nifi-azure-bundle/nifi-azure-processors/src/main/java/org/apache/nifi/processors/azure/storage/PutAzureBlobStorage.java
##########
@@ -114,14 +112,14 @@ public void onTrigger(final ProcessContext context, final ProcessSession session
                 }
 
                 try {
-                    blob.upload(in, length, null, null, operationContext);
+                    blob.upload(in, length);
                     BlobProperties properties = blob.getProperties();
                     attributes.put("azure.container", containerName);
-                    attributes.put("azure.primaryUri", blob.getSnapshotQualifiedUri().toString());
-                    attributes.put("azure.etag", properties.getEtag());
+                    attributes.put("azure.primaryUri", blob.getBlobUrl());

Review comment:
       @turcsanyip tracking this, I will report with findings sometime today.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org