This is a quick start guide to using the ThingWorx Flow Connector for Azure Data Lake Storage (ADLS).
Azure Storage is a Microsoft-managed service providing cloud storage that is highly available, secure, durable, scalable, and redundant. This connector allows you to interact with and manipulate the unstructured data stored in Azure Data Lake Storage Gen2 including the listing of Containers and Blobs, the creation and deletion of Containers, the upload and download of Blobs, and the deletion of Blobs. The initial release only works with Containers for Blob Storage and do not yet work with File Shares, Tables, or Queues. Authentication is performed via a shared key.
The connector runs in ThingWorx Flow and is built on node.js and utilizes Microsoft’s Azure Storage libraries for JavaScript. The connector is intended to work similarly to other storage providers like Box, Dropbox, Google Drive, and OneDrive.
- Download the latest version of the connector from dist/ptc-adls-connector-1-0-0.zip
- Open a shell or terminal window on the ThingWorx Flow server.
- Copy the ptc-adls-connector-1-0-0.zip file to any directory.
- Unzip the ptc-adls-connector-1-0-0.zip file:
unzip ptc-adls-connector-1-0-0.zip
- Change into the ptc-adls-connector directory:
cd ptc-adls-connector
- Run the following command to deploy the custom connector package to the ThingWorx Flow installation directory:
flow-deploy connector --sourceDir . --targetDir <ThingWorx_Flow_Install_Directory> --allow_schema_overwrite
- Run the following command to load connector metadata into the ThingWorx Flow server:
flow-deploy migrate -u <Username_for_ThingWorx_Flow_Database> -p <Password_for_ThingWorx_Flow_Database> --sourceDir <ThingWorx_Flow_Install_Directory>
- Download the latest version of the connector from src
- Open a shell or terminal window on the ThingWorx Flow server.
- Change into the ptc-adls-connector directory containing the source files:
cd ptc-adls-connector
- Run the following command to install the node.js modules:
npm install
- Run the following command to deploy the custom connector package to the ThingWorx Flow installation directory:
flow-deploy connector --sourceDir . --targetDir <ThingWorx_Flow_Install_Directory> --allow_schema_overwrite
- Run the following command to load connector metadata into the ThingWorx Flow server:
flow-deploy migrate -u <Username_for_ThingWorx_Flow_Database> -p <Password_for_ThingWorx_Flow_Database> --sourceDir <ThingWorx_Flow_Install_Directory>
Detailed documentation is in the ThingWorx Flow Connector for Azure Data Lake Storage User Guide