stijn192 commented on a change in pull request #4430:
URL: https://github.com/apache/nifi/pull/4430#discussion_r475399169
##########
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:
Hi @turcsanyip , I've tried running this through debug mode directly
from the azuresdk (with .getBlobUrl() on the client object) as well as running
it manually through NiFi and the URL's and filenames do resolve correctly.
Under which circumstances were you running into this issue?
----------------------------------------------------------------
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]