This application is capable to emulate an arbitrarily number of smart objects, embodying business artifacts. In addition, the application emulates the Organizational Information System as well, therefore it sends out messages to attach and detach artifacts from different process executions.
The Artifact Emulator requires:
- MQTT broker using at least MQTT v5.0
The configuration should be provided as an .xml file, referenced below as config.xml. (example: shipment-1-data/config.xml)
The configuration file defines:
- The details of the MQTT broker,
- Lists all artifacts and their associated event stream files, containing all events with timestamps coming from the particular artifact
- Defines all process instances and their associated event stream file, which contains all events with timestamps related to the process instance coming from the Organizational Information Network
- Clone repository
- Run
git submodule update --init - Run
npm install package.jsonand make sure all libraries have been installed successfully - Start the application by
node main.js config.xml