Change the device status and see the device status lifecycle history
Fix: product-iots#1268
Feature
Change device's status and view device's status life-cycle history
Approach
Created a API for change status and store changed status in to database.
Created another API to view the device's life-cycle status history.
lifecycle of the status is as shown in the diagram.
lifecycle Status are taken from a xml file.
Edited by Arshana Atapattu