Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Pull files from Azure blob container using EnsLib.CloudStorage.InboundAdapter

Question
Yashpal Singh · Dec 14, 2022

Pull files from Azure blob container using EnsLib.CloudStorage.InboundAdapter

Hi,

I am trying to use the newly introduced adapter  EnsLib.CloudStorage.InboundAdapter to pull files from azure blob container for the purpose of ECG scaling.

The ultimate goal would be-  more than one services running to pull the files from a blob container and process them further. I am not sure if there would be any concurrency issue on that. So working on a poc to pull the data from server and test it out.

For this I have created a service class which extends Ens.BusinessService and used Adapter class  EnsLib.CloudStorage.InboundAdapter and upon providing the details I get error : 

ERROR #8104: Gateway Exception: <GATEWAY> java.util.NoSuchElementException com.microsoft.azure.storage.core.LazySegmentedIterator.hasNext(LazySegmentedIterator.java:113) An error occurred while enumerating the result, check the original exception for details.

The error message says to check original exception for details, but I do not know where to check ?

I do not find documentation other than https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls....

#Azure #Business Service #InterSystems IRIS for Health
Product version: IRIS 2022.1
$ZV: IRIS for Windows (x86-64) 2022.1.1 (Build 374U) Tue Oct 18 2022 17:37:34 EDT

Source URL:https://community.intersystems.com/post/pull-files-azure-blob-container-using-enslibcloudstorageinboundadapter