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



##########
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:
       Got response: This is by design. 
   A lot of our APIs that accept blob URLs expect URL encoded URLs, so when we 
return the URL, it's probably best that it is URL encoded.
   When you say it was different earlier, could you provide the version number 
between which it changed? @turcsanyip 
   




----------------------------------------------------------------
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:
[email protected]


Reply via email to