Commit Graph

1594 Commits

Author SHA1 Message Date
Kavindya Devindi
47990e4a16 Add subtype-mgt feature (#74)
## 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: https://repository.entgra.net/community/device-mgt-core/pulls/74
Co-authored-by: Kavindya Devindi <kavindya@entgra.io>
Co-committed-by: Kavindya Devindi <kavindya@entgra.io>
2023-04-25 08:25:27 +00:00
27cceecd33 Fix device enrolment using MSSQL as database (#72)
## Purpose
* Fixes https://roadmap.entgra.net/issues/9859

## Description
* Fix device enrolment using MSSQL as database
* Fix test case failures of database engine getting a null value

Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/72
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
2023-04-25 07:50:37 +00:00
builder
3238e78f0c [maven-release-plugin] prepare for next development iteration 2023-04-11 21:09:57 +05:30
builder
6d43a16ab2 [maven-release-plugin] prepare release v5.0.24 2023-04-11 21:09:47 +05:30
shamalka
994f49db16 Add missing db scripts 2023-04-11 11:06:58 +05:30
builder
b75cabfce7 [maven-release-plugin] prepare for next development iteration 2023-04-10 21:20:03 +05:30
builder
c8e176c930 [maven-release-plugin] prepare release v5.0.23 2023-04-10 21:19:54 +05:30
builder
dda5860e57 [maven-release-plugin] prepare for next development iteration 2023-04-07 15:33:50 +05:30
builder
abb66486d8 [maven-release-plugin] prepare release v5.0.22 2023-04-07 15:33:43 +05:30
Lasantha Dharmakeerthi
b53bfdf780 Add offset and limit when querying policies from DAO layer 2023-04-07 09:06:51 +00:00
Shamalka Navod
fbbd07d262 Restructure Traccar integration on device management (#81)
Co-authored-by: shamalka <shamalkanavod95@gmail.com>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/81
Co-authored-by: Shamalka Navod <shamalka@entgra.io>
Co-committed-by: Shamalka Navod <shamalka@entgra.io>
2023-04-06 05:14:02 +00:00
navodzoysa
708d6be59d Add offset and limit when querying policies from DAO layer 2023-04-05 13:28:21 +05:30
builder
f5ef8bafd6 [maven-release-plugin] prepare for next development iteration 2023-04-04 11:40:46 +05:30
builder
5720651046 [maven-release-plugin] prepare release v5.0.21 2023-04-04 11:40:39 +05:30
5610ac7bec Merge branch 'master' into suspend-package 2023-04-04 05:38:04 +00:00
osh
95d4afbc3b Fix PR comments 2023-04-04 11:02:47 +05:30
osh
ad7466ee1e Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into pr/feature/whitelabel 2023-04-03 10:27:11 +05:30
Thashmi-nil
19750486de Add improvements 2023-03-30 23:20:15 +05:30
osh
9b9defed19 Resolve conflicts 2023-03-29 18:18:46 +05:30
osh
5275bb180e Change config implementation
fixes https://roadmap.entgra.net/issues/9939
2023-03-29 07:59:25 +05:30
osh
d2bc463284 Resolve comments
fixes http://roadmap.entgra.net/issues/9939
2023-03-28 12:34:11 +05:30
osh
6962e94d44 Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into self-guiding-ui-9939 2023-03-27 19:47:06 +05:30
Lasantha Dharmakeerthi
65c93aea81 Add improvements for chat feature 2023-03-27 11:16:07 +00:00
Thashmi-nil
798e851922 Add modifications 2023-03-27 08:24:05 +05:30
osh
24064b650b Resolve conflict 2023-03-24 12:35:58 +11:00
Thashmi-nil
2d1879d1b6 Changes on reviews 2023-03-22 22:04:03 +05:30
Amalka Subasinghe
800694de97 introduce new datasource for events 2023-03-18 08:51:24 +05:30
builder
4d8d4bdcf7 [maven-release-plugin] prepare for next development iteration 2023-03-17 17:23:59 +05:30
builder
1b363c0978 [maven-release-plugin] prepare release v5.0.20 2023-03-17 17:23:51 +05:30
inoshperera
2b7c8c1c82 Ability to disable or enable apps
Fixes https://roadmap.entgra.net/issues/10008
2023-03-16 14:21:46 +05:30
Thashmi-nil
0f6db69c18 Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into live-chat-feature 2023-03-13 00:25:02 +05:30
Thashmi-nil
74f50b28c5 Add user identification improvement 2023-03-12 23:27:43 +05:30
osh
0bbcac4a93 Add enrollment guide permissions
fixes https://roadmap.entgra.net/issues/9939
2023-03-10 09:11:40 +05:30
prathabanKavin
5fca50f8d7 Change latitude and longitude datatype 2023-02-24 10:25:13 +05:30
prathabanKavin
e4a5f49b9c Fix dynamic task tables 2023-02-21 15:07:39 +05:30
prathabanKavin
a3eca63dfd Fix mssql dbscripts of DM_DB, APPM_DB 2023-02-21 13:29:07 +05:30
Chamindu Senanayake
89e72bdf86 Add dynamic task manager and task watcher (#65)
## 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: https://repository.entgra.net/community/device-mgt-core/pulls/65
Co-authored-by: Chamindu Senanayake <chamindu@entgra.io>
Co-committed-by: Chamindu Senanayake <chamindu@entgra.io>
2023-02-18 14:06:02 +00:00
builder
2d56b0ea9a [maven-release-plugin] prepare for next development iteration 2023-02-16 21:01:29 +05:30
builder
73d17e61a8 [maven-release-plugin] prepare release v5.0.19 2023-02-16 21:01:22 +05:30
builder
d715609b53 [maven-release-plugin] prepare for next development iteration 2023-02-11 23:48:28 +05:30
builder
0beeedef43 [maven-release-plugin] prepare release v5.0.18 2023-02-11 23:48:21 +05:30
5228a84400 Revert "Change the device status and see the device status lifecycle history (#58)"
This reverts commit 7f327bac08.
2023-02-10 17:53:05 +05:30
builder
9f724eeffb [maven-release-plugin] prepare for next development iteration 2023-02-09 22:41:22 +05:30
builder
50bc5560f8 [maven-release-plugin] prepare release v5.0.17 2023-02-09 22:41:16 +05:30
846d7a0f59 Add support to perform group operations (#59)
## Purpose
* Fixes https://roadmap.entgra.net/issues/8916

## Description
* Created a new API to check whether groups has relevant(Android, iOS, Windows) device types.

Co-authored-by: Arshana <arshana790@gmail.com>
Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/59
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
2023-02-08 11:17:02 +00:00
7f327bac08 Change the device status and see the device status lifecycle history (#58)
## 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: https://repository.entgra.net/community/device-mgt-core/pulls/58
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
2023-02-07 06:52:04 +00:00
Navod Zoysa
2e2e9abc90 Add Android alternate app install permission to UI config (#55)
## Purpose

Add permission scope for alternate app install feature so that the operation can be triggered through device operation UI.

Issue - https://roadmap.entgra.net/issues/9641

Co-authored-by: navodzoysa <navod.zoysa@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/55
Co-authored-by: Navod Zoysa <navod@entgra.io>
Co-committed-by: Navod Zoysa <navod@entgra.io>
2023-02-07 05:18:07 +00:00
builder
071b9486bb [maven-release-plugin] prepare for next development iteration 2023-01-27 19:20:14 +05:30
builder
cf305362b4 [maven-release-plugin] prepare release v5.0.16 2023-01-27 19:20:08 +05:30
9ef3e0cf6e Revert "Change the device status and see the device status lifecycle history"
This reverts commit df6a8e20a3.
2023-01-26 22:22:20 +05:30