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 2022/01/24 14:42:23 UTC

[GitHub] [nifi-minifi-cpp] lordgamez commented on a change in pull request #1250: MINIFICPP-1663 Create FetchAzureBlobStorage processor

lordgamez commented on a change in pull request #1250:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1250#discussion_r790809725



##########
File path: docker/test/integration/features/azure_storage.feature
##########
@@ -58,3 +58,21 @@ Feature: Sending data from MiNiFi-C++ to an Azure storage server
     And test blob "test" is created on Azure blob storage with a snapshot
 
     Then the blob and snapshot count becomes 1 in 30 seconds
+
+  Scenario: A MiNiFi instance can fetch a blob from Azure blob storage
+    Given a GetFile processor with the "Input Directory" property set to "/tmp/input"
+    And the "Keep Source File" property of the GetFile processor is set to "true"
+    And a file with the content "dummy" is present in "/tmp/input"
+    And a FetchAzureBlobStorage processor set up to communicate with an Azure blob storage
+    And the "Blob" property of the FetchAzureBlobStorage processor is set to "test"
+    And the "Range Start" property of the FetchAzureBlobStorage processor is set to "6"
+    And the "Range Length" property of the FetchAzureBlobStorage processor is set to "5"
+    And a PutFile processor with the "Directory" property set to "/tmp/output"
+    And the "success" relationship of the GetFile processor is connected to the FetchAzureBlobStorage
+    And the "success" relationship of the FetchAzureBlobStorage processor is connected to the PutFile
+    And an Azure storage server is set up
+
+    When all instances start up
+    And test blob "test" with the content "#test_data$123$#" is created on Azure blob storage
+
+    Then a flowfile with the content "data$" is placed in the monitored directory in less than 60 seconds

Review comment:
       The `Range Start` and `Range Length` properties are set to only return a substring which is `data$` in this case.




-- 
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: issues-unsubscribe@nifi.apache.org

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