Commit Graph

2008 Commits

Author SHA1 Message Date
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
2926c2e523 Add unique key constraint into AP_DEVICE_SUBSCRIPTION tables 2023-02-16 17:39:05 +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
12b3b1a41d Add missing dependency 2023-02-07 22:08:11 +05:30
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
9401a4501b Add Entgra Device Notification Feature 2023-02-06 16:01:24 +05:30
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
osh
a5177208f8 Add icon and resolve bug
fixes https://roadmap.entgra.net/issues/9274
2023-01-25 19:18:33 +05:30
prathabanKavin
df6a8e20a3 Change the device status and see the device status lifecycle history 2023-01-24 11:46:57 +05:30
osh
21669f8dba Resolve conflicts
fixes https://roadmap.entgra.net/issues/9274
2023-01-17 21:19:35 +05:30
Dharmakeerthi Lasantha
01aaa44e89 improve OTP mgt service functionalities 2023-01-11 23:51:08 +05:30
Lasantha Dharmakeerthi
c03e1359d3 Add download URL generating method 2023-01-09 14:22:51 +00:00
Dharmakeerthi Lasantha
d55ea733e7 Add download URL generating method 2023-01-09 19:50:35 +05:30
Oshani Silva
a93f534e06 Improve billing feature
Co-authored-by: Oshani Silva <oshani@entgra.io>
Co-committed-by: Oshani Silva <oshani@entgra.io>
2023-01-04 21:03:15 +00:00
builder
1b2bddb167 [maven-release-plugin] prepare for next development iteration 2022-12-17 11:54:16 +05:30
builder
fb4e20490a [maven-release-plugin] prepare release v5.0.15 2022-12-17 11:54:10 +05:30
Sanjana Rajapakshe
05f7a61af0 Fix incorrect date type issue
Co-authored-by: Sanjana Rajapakshe <sanjana@entgra.io>
Co-committed-by: Sanjana Rajapakshe <sanjana@entgra.io>
2022-12-16 05:52:05 +00:00
builder
9d3e5fbc3a [maven-release-plugin] prepare for next development iteration 2022-11-25 18:02:39 +05:30
builder
744881d21e [maven-release-plugin] prepare release v5.0.14 2022-11-25 18:02:07 +05:30
Amalka Subasinghe
ec7ebcc384 added device-extensions, logger, default-role-manager, stateengine (#8)
Co-authored-by: Amalka Subasinghe <amalkasubasinghe@gmail.com>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/8
Co-authored-by: Amalka Subasinghe <amalka@entgra.io>
Co-committed-by: Amalka Subasinghe <amalka@entgra.io>
2022-11-17 02:04:11 +00:00
builder
b18ddfedce [maven-release-plugin] prepare for next development iteration 2022-11-15 09:29:05 +05:30
builder
ec8d08ca63 [maven-release-plugin] prepare release v5.0.13 2022-11-15 09:29:00 +05:30
Vigneshan
0d43e7d6aa Fix dcr and token endpoint related issues 2022-11-14 14:12:58 +00:00
builder
b9f2bf9246 [maven-release-plugin] prepare for next development iteration 2022-11-11 01:43:26 +05:30
builder
8f610eea63 [maven-release-plugin] prepare release v5.0.12 2022-11-11 01:42:41 +05:30
Shamalka Navod
df5cdb5240 Fix traccar issues (#5)
* Fix traccar client thredpool issue
* Refactor traccar implementation
* Fix traccar loading issue

Co-authored-by: shamalka <shamalkanavod95@gmail.com>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/5
Co-authored-by: Shamalka Navod <shamalka@entgra.io>
Co-committed-by: Shamalka Navod <shamalka@entgra.io>
2022-11-10 15:36:55 +00:00
navodzoysa
d2a194b37d Add device operation cleanup scripts 2022-11-10 20:47:27 +05:30
Amalka Subasinghe
53cffea5d3 remove mdm-ui-config j2 file, since when scope list too long cannot configured in deployment.toml 2022-11-10 18:11:47 +05:30
shamalka
f6b3af2e90 Fix permanant delete issue 2022-09-28 11:51:25 +05:30
builder
223637c887 [maven-release-plugin] prepare for next development iteration 2022-09-14 20:25:10 +05:30
builder
b7311af447 [maven-release-plugin] prepare release v5.0.11 2022-09-14 20:25:02 +05:30
shamalka
eaad94b3e9 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into traccar 2022-09-02 00:33:35 +05:30
Oshani Silva
cc98f6a881 Update config files to fix billing UI isssues 2022-09-01 09:15:50 +00:00
shamalka
b311908d47 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into traccar 2022-08-29 17:09:05 +05:30
shamalka
5ff9ef7782 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into traccar 2022-08-23 16:00:16 +05:30
amith10
ccf8e108c0 Add remove account scope 2022-08-22 12:24:07 +05:30
Vigneshan
638c6b12c9 Fix cross-tenant api subscription issue 2022-07-23 17:13:11 +05:30
Pahansith Gunathilake
426dcf16bf Merge branch 'ui-config' into 'master'
Add Windows permission scopes to ui config

See merge request entgra/carbon-device-mgt!895
2022-07-18 20:55:11 +00:00
builder
3c9fc68619 [maven-release-plugin] prepare for next development iteration 2022-07-18 23:07:51 +05:30
builder
0b4fe08847 [maven-release-plugin] prepare release v5.0.10 2022-07-18 23:07:47 +05:30
Vigneshan
ebc5f5de31 Implement multi-tenant api publishing 2022-07-15 11:10:47 +05:30
builder
0290758c25 [maven-release-plugin] prepare for next development iteration 2022-07-12 01:22:56 +05:30
builder
790ab62b34 [maven-release-plugin] prepare release v5.0.9 2022-07-12 01:22:51 +05:30
builder
7f96ce3c33 [maven-release-plugin] prepare for next development iteration 2022-06-27 19:20:21 +05:30
builder
e851e21bcd [maven-release-plugin] prepare release v5.0.8 2022-06-27 19:19:48 +05:30
Rushdi
6f79180920 removed unwanted codes 2022-06-09 17:40:09 +05:30
Rushdi
e88d5e9c3b Add traccar configuration on p2.inf and updated mysql.sql 2022-06-09 01:28:17 +05:30
Mohamed Rashd
eb061f9450 Refator page tite to app title 2022-06-08 13:40:33 +05:30
Mohamed Rashd
78546125bc Add page title to whitelable 2022-06-08 00:03:37 +05:30
Rushdi
f61ab0ae69 update p2.inf for traccar 2022-06-07 18:56:28 +05:30
Rushdi
515e826711 Update with callable thread and add set/remove user permission on enroll/disenroll device 2022-05-30 15:48:29 +05:30
Rushdi
1a7442ba3d Update h2.sql script 2022-05-30 15:45:23 +05:30
Rushdi
d1f2bdb296 update the threadpool apporoach/ add traccar devices/groups for existing UEM devices/groups 2022-05-30 15:44:09 +05:30
Rushdi
9d9ff9f391 Update h2.sql with traccar group/device mapping tables 2022-05-30 15:43:58 +05:30
Mohamed Rashd
768950bbb1 Add whitelabel metadata configuration to cdm-config 2022-05-26 01:41:18 +05:30
Mohamed Rashd
1d84adbb4f Add java doc comment
Fix adding default white label on tenant create
Add whitelabel logo and favicon apis as non secured endpoints
Fix License
2022-05-21 10:44:06 +05:30
Mohamed Rashd
7907a1c5ff Add tenant whitelabeling api
Make whitelabel favion and logo api public
Refactor whitelabeling feature in separate classes
2022-05-21 10:41:56 +05:30
navodzoysa
f1585a93b9 Add Windows permission scopes to ui conifg 2022-05-13 07:37:29 +05:30
builder
8636767cba [maven-release-plugin] prepare for next development iteration 2022-05-10 01:41:05 +05:30
builder
9af9bea2b6 [maven-release-plugin] prepare release v5.0.7 2022-05-10 01:41:01 +05:30
Pahansith Gunathilake
dc84f354c9 Fix issue in parsing pom.xml in APIM keymgt feature 2022-05-09 18:46:22 +00:00
Pahansith Gunathilake
d1754b465e Merge branch 'fix/permissions' into 'master'
Fix identity server connect permission

See merge request entgra/carbon-device-mgt!887
2022-05-09 04:36:44 +00:00
Pahansith Gunathilake
b894d371fb Merge branch 'master' into 'master'
Implement api keymgt extension

See merge request entgra/carbon-device-mgt!890
2022-05-02 06:26:31 +00:00
Vigneshan
2e8d1fabf0 Implement api keymgt extension 2022-05-02 11:34:45 +05:30
Pahansith Gunathilake
47fb2c77f5 Merge branch 'billing-api-1226' into 'master'
Adding the new billing API

See merge request entgra/carbon-device-mgt!848
2022-05-02 06:04:00 +00:00
builder
817dc57862 [maven-release-plugin] prepare for next development iteration 2022-04-26 06:12:00 +00:00
builder
7196d2daea [maven-release-plugin] prepare release v5.0.6 2022-04-26 06:11:55 +00:00
Muhammad Rashad
695f4c4a18 Add identity server connect scope to ui conf template 2022-04-26 05:54:00 +00:00
Mohamed Rashd
6b91c89ad0 Add identity server create permission to ui configuration 2022-04-26 11:05:53 +05:30
Mohamed Rashd
75f825a713 Fix dbscript syntax 2022-04-25 16:01:44 +05:30
Pahansith Gunathilake
fb331e0089 Merge branch 'fix/sp-app/dbscripts' into 'master'
Fix service provider app integration dbscripts

See merge request entgra/carbon-device-mgt!883
2022-04-25 08:04:37 +00:00
Pahansith Gunathilake
2f1228d845 Merge branch 'windows-scopes' into 'master'
Add missing permission scopes for windows device operations

See merge request entgra/carbon-device-mgt!878
2022-04-25 08:03:56 +00:00
Pahansith Gunathilake
2721588635 Merge branch 'fix-change-supadmin' into 'master'
Fix invalid config entries

See merge request entgra/carbon-device-mgt!880
2022-04-25 03:54:16 +00:00
Mohamed Rashd
cc15df69cc Fix AP_IDENTITY_SERVER table script 2022-04-20 14:40:45 +05:30
Mohamed Rashd
cadc9c9c87 Fix service provider app integration dbscripts 2022-04-19 23:44:40 +05:30
Pahansith Gunathilake
ba53197ab7 Fix invalid config entries 2022-04-16 01:03:25 +05:30
Mohamed Rashd
aa2fa45a5f Tempory merge conflict resolution 2022-04-16 00:28:05 +05:30
navodzoysa
b11f4d08f7 Add missing permission scopes for windows device operations 2022-04-12 08:32:04 +05:30
osh
f86617a264 Add the sql files
fixes https://gitlab.com/entgra/product-iots/-/issues/1226
2022-04-07 09:42:35 +05:30
Mohamed Rashd
db1aab1f3a Add identity service provider config 2022-04-06 01:01:22 +05:30
osh
7ba8311c93 fix conflict
fixes https://gitlab.com/entgra/product-iots/-/issues/1226
2022-04-05 23:04:41 +05:30
builder
946a12b84d [maven-release-plugin] prepare for next development iteration 2022-03-22 12:54:48 +00:00
builder
f55ffbb19a [maven-release-plugin] prepare release v5.0.5 2022-03-22 12:54:43 +00:00
builder
39216aa651 [maven-release-plugin] prepare for next development iteration 2022-03-18 03:48:22 +00:00
builder
8deff13edd [maven-release-plugin] prepare release v5.0.4 2022-03-18 03:48:17 +00:00
Mohamed Rashd
c0e5edded2 Add sql scripts to favourites table
Fix error logging in DAO layer
2022-03-17 23:39:31 +05:30
Pahansith Gunathilake
236d356a26 Merge branch 'pr/temp/feature/subscription/status/change' into 'master'
API to change application subscription status

See merge request entgra/carbon-device-mgt!868
2022-03-16 06:30:07 +00:00
Muhammad Rashad
65f5efb638 Add APIs to get favourite apps 2022-03-14 06:09:01 +00:00
osh
053a57c4f5 Add getting billing cost by domain change
fixes https://gitlab.com/entgra/product-iots/-/issues/1226
2022-03-11 01:38:48 +05:30
Mohamed Rashd
0dd9bb2937 Add operation status update wrapper api to store 2022-03-11 00:31:37 +05:30
builder
96e4aa8436 [maven-release-plugin] prepare for next development iteration 2022-03-05 04:37:48 +00:00
builder
739266feca [maven-release-plugin] prepare release v5.0.3 2022-03-05 04:37:42 +00:00
Mohamed Rashd
6a150b579c Fix reporting config default db name 2022-03-03 11:39:19 +05:30
Pahansith Gunathilake
0cf45cdecf Fix android operation buttons not enabling 2022-03-01 11:27:28 +05:30
Mohamed Rashd
5e247c6e6b Add identity server service provider app integration 2022-02-21 13:47:48 +05:30
Pahansith Gunathilake
791436d061 Add android device info operation permission 2022-02-02 19:26:00 +00:00
builder
06560d24d4 [maven-release-plugin] prepare for next development iteration 2022-01-24 08:29:39 +00:00
builder
2784633dd6 [maven-release-plugin] prepare release v5.0.2 2022-01-24 08:29:35 +00:00
Pahansith Gunathilake
a7400e7074 Bump dependency versions of analytics-mgt 2022-01-24 08:23:15 +00:00
Muhammad Rashad
4e73b778e2 Move grafana to separate module 2022-01-24 07:19:31 +00:00
builder
1896199698 [maven-release-plugin] prepare for next development iteration 2022-01-24 04:04:22 +00:00
builder
a765f780f0 [maven-release-plugin] prepare release v5.0.1 2022-01-24 04:04:17 +00:00
Amalka Subasinghe
4ed28820c8 operation timeout feature 2022-01-24 03:56:25 +00:00
builder
ef558458a0 [maven-release-plugin] prepare for next development iteration 2022-01-18 03:25:27 +00:00
builder
8e191e75a6 [maven-release-plugin] prepare release v5.0.0 2022-01-18 03:25:22 +00:00
Pahansith Gunathilake
8b6a3ef77c Merge branch 'master' into 'master'
adding device status history feature

See merge request entgra/carbon-device-mgt!836
2022-01-18 03:18:30 +00:00
Don Kushan Saminda Wijeratne
7e7fa53b8f adding device status history feature 2022-01-18 03:18:29 +00:00
Pahansith Gunathilake
4cdd8dcb2f Merge branch 'master' into 'master'
Fix not picking up or push_notification_provider in cdm config template

See merge request entgra/carbon-device-mgt!833
2022-01-18 03:13:38 +00:00
Muhammad Rashad
1f536c40e4 Added grafana integration 2022-01-18 03:11:08 +00:00
builder
2e9832caa6 [maven-release-plugin] prepare for next development iteration 2022-01-12 06:12:38 +00:00
builder
6b0c527bb2 [maven-release-plugin] prepare release v5.0.0 2022-01-12 06:12:32 +00:00
Saad Sahibjan
7f23347701 Fix not picking up or push_notification_provider in cdm config template 2021-12-21 15:56:33 +05:30
builder
d7ccaa559b [maven-release-plugin] prepare for next development iteration 2021-12-04 17:57:16 +00:00
builder
907fb825ea [maven-release-plugin] prepare release v5.0.0 2021-12-04 17:57:11 +00:00
Pahansith Gunathilake
b61c97d603 Make timestamps independent from host machine timezone 2021-12-04 17:08:08 +00:00
Pahansith Gunathilake
376cb4ec92 Add missing ios scopes into ios.xml.j2 2021-11-30 22:18:13 +05:30
inoshperera
fbfd9ba911 ios enrollment fixes
Fixes https://gitlab.com/entgra/product-iots/-/issues/1184
2021-11-16 10:37:13 +05:30
builder
216e47b429 [maven-release-plugin] prepare for next development iteration 2021-10-05 15:14:34 +00:00
builder
5c2dc99b09 [maven-release-plugin] prepare release v5.0.0 2021-10-05 15:14:29 +00:00
Pahansith
9a86d2fe06 Add missing scope for the device info operation button 2021-10-03 20:51:46 +05:30
Amalka Subasinghe
a031579b80 fixed gw, km, iot, apim urls 2021-09-15 15:12:10 +05:30
Amalka Subasinghe
5272293a31 mdm config tags made configurable 2021-08-31 13:17:29 +05:30
Amalka Subasinghe
29b561e9c3 added config to j2 file 2021-08-10 22:00:15 +05:30
Amalka Subasinghe
4503ab77c7 package name change - appmgt 2021-08-10 17:30:48 +05:30
Amalka Subasinghe
37b08ba389 package name change - appmgt core 2021-08-10 16:48:15 +05:30
Amalka Subasinghe
f9274b0d1a update from master 2021-08-02 11:18:15 +05:30
Pahansith Gunathilake
76deadcf41 Merge branch 'master' into 'master'
Login cache improvements and Refresh token handling improvements

See merge request entgra/carbon-device-mgt!789
2021-08-02 05:11:19 +00:00
Pahansith Gunathilake
939e9faeff Merge branch 'hierarchical-grouping' into 'master'
Hierarchical grouping

See merge request entgra/carbon-device-mgt!780
2021-08-02 05:00:17 +00:00
vigneshan
0eb74d9f60 Modify login cache implementatation with LRU cache 2021-07-29 10:46:41 +05:30
Amalka Subasinghe
f3720e49ff added scripts and updated config reading 2021-07-15 11:14:20 +05:30
Amalka Subasinghe
bdb01a0098 bug fixing 2021-07-13 22:33:18 +05:30
Amalka Subasinghe
a418fe5d0d Merge branch 'master' into kernel-4.6.2 2021-07-13 09:29:25 +05:30
Pahansith Gunathilake
c2dd2130b4 Merge branch 'master' into 'master'
Update DM_DEVICE_INFO table

See merge request entgra/carbon-device-mgt!776
2021-07-06 09:51:15 +00:00
Saad Sahibjan
e403a92db9 Add PARENT_PATH column to DM_GROUP table 2021-06-24 20:46:44 +05:30
Amalka Subasinghe
d090fef2ac updated from master and added oauth2 component 2021-06-21 21:31:44 +05:30
sandaru
8f689c8101 Add default sim update operation scope
https://gitlab.com/entgra/product-iots/-/issues/991
2021-06-14 14:46:36 +05:30
Amalka Subasinghe
23d2b9d767 added claim adding logic to SP 2021-06-11 10:48:33 +05:30
Amalka Subasinghe
293b5f5a7b updated pom versions to 5.0.0-SNAPSHOT 2021-06-08 12:15:48 +05:30