Content of the Distribution Bundle
After extracting the distribution bundle, the top level directory is ThingWorx-Azure-IoT-Hub-Connector-v.v.v. The main subdirectories follow:
connector
demo
extensions
There are also license files at the top level.
The following table lists and briefly describes the content of the connector and extensions directories. For details of the contents of the demo directory, refer to the next section, Structure of the Demo Directory.
Directory
Content
The connector directory has these subdirectories:
/bin/
The scripts for starting the Azure IoT Hub Connector, one for Linux, azure-iot, and one for Windows, azure-iot.bat
This directory also contains the scripts for running the smoke test for the Connector, one for Linux, azure-iot-smoketest, and one for Windows, azure-iot-smoketest.bat.
Refer to Step 10. Start the Azure IoT Hub Connector and Running the Smoke Test for instructions on using these scripts.
/conf/
The sample configuration file for the Azure IoT Hub Connector, azure-iot-sample.conf.
security-sample.conf, which you can use as a starting point for creating the configuration file for the ThingWorx Security Management tool (CLI), encryption.conf. This CLI tool can be downloaded from the PTC Software Download page, the THINGWORX PLATFORM software downloads.
Two configuration files for Logback, logback.xml and logback-long-sample.xml. For information on logging, refer to
/lib/
Many jar files that provide the features of the Azure IoT Hub Connector.
The extensions directory contains the Azure IoT Hub Adapter Extension and the Connection Services Extension (CSE).
azure-iot--hub-adapter-extension-<version>.zip
ConnectionServicesExtension-<version>.zip
The Azure IoT Hub Adapter Extension and Connection Services Extension are required on the ThingWorx Platform for the Azure IoT Hub Connector to communicate with and be accessible from ThingWorx. You need to import them into your ThingWorx Platform. For instructions refer to Step 3. Import the Extensions.