Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
Devis Lucato edited this page Jul 23, 2017 · 13 revisions

This service allows to manage a pool of simulated devices, to test the end-to-end flow of device-to-cloud (D2C) telemetry, invoking cloud-to-device (C2D) methods, etc.

The microservice provides a RESTful endpoint to create a simulation (only one), to start and stop the simulation. Each simulation is composed by a set of virtual devices, of different types, sending telemetry and receiving commands.

Features:

  1. Get list of device types that can be simulated
  2. Create simulation passing in a list of device types (with a number each) to simulate
  3. Create the "default" simulation, 2 devices per type
  4. Only one simulation per deployment can be created
  5. Simulations start immediately, unless specified differently
  6. Get details of the running simulation
  7. Stop existing simulation
  8. Start existing simulation
  9. Invoke methods on the devices
  10. Stateful devices, i.e. devices can simulate long-running flows, state machines etc.

Components

  1. Web service: API for the UI to retrieve information and start/stop
  2. Storage: simulation details, and status of the simulation On/Off
  3. Simulation actors: background processes sending events

Dependencies

  1. IoT Hub Manager, used to manage devices
  2. Storage, used to store the simulation status

Clone this wiki locally