## Purpose
* Fixes https://roadmap.entgra.net/issues/10050
## Description
* Converting BIGINT to timestamp directly is not supported with MSSQL. Timestamp class is used for conversion.
Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Reviewed-on: community/device-mgt-core#117
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
## Purpose
To seperate out component with main generic things of subtype management.
## Goals
This subtype-mgt component enables the dynamic implementation of any subtypes using APIs. PFA
## Approach
* Add generic methods to subtype management component.
* Add cacheloader mechanism to optimum data loading part.
* Add unit test cases for all subtype's methods.
## Documentation
Requirement & Design Approach of Subtype Management ->
https://docs.google.com/document/d/1Cp7LqFKuV2FZOhN-cOCveLYcjyrzbZTDA0gNPYuV918/edit?usp=sharing
## Automation tests
- Unit tests
- service test
- service negative test
- DAO test
- DAO negative test
- Integration tests
> N/A
## Security checks
> N/A
## Related MRs
> N/A
## Test environment
Linux 22.04
## Learning
> N/A
Co-authored-by: kavindya_devindi <kavindyadevindi038@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: community/device-mgt-core#74
Co-authored-by: Kavindya Devindi <kavindya@entgra.io>
Co-committed-by: Kavindya Devindi <kavindya@entgra.io>
## Purpose
To Distribute dynamic task execution in multiple nodes.
## Goals
This allows distribute task execution in multiple nodes. Especially this is useful, when system has multiple nodes
## Approach
- Add task manager to handle dynamic tasks and dynamic task properties while adding task into the wso2 ntask core.
- Add task watcher to run periodically after iot server start up and compare tasks from Entgra task manager and wso2 ntask core.
- Add configuration to enable task monitoring in task watcher.
## Documentation
> N/A
## Automation tests
- Unit tests
> N/A
- Integration tests
> N/A
## Security checks
> N/A
## Related MRs
> N/A
## Test environment
Linux 22.04
## Learning
> N/A
Reviewed-on: community/device-mgt-core#65
Co-authored-by: Chamindu Senanayake <chamindu@entgra.io>
Co-committed-by: Chamindu Senanayake <chamindu@entgra.io>
## Purpose
* Fixes https://roadmap.entgra.net/issues/9266
## 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.
Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: community/device-mgt-core#58
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>