Commit Graph

5531 Commits

Author SHA1 Message Date
Saad Sahibjan
0ae6c6246a Add and update service layer related to hierarchical changes 2021-06-24 20:46:44 +05:30
Saad Sahibjan
e22d9fd8fc Add and update dao layer methods related to hierarchical changes 2021-06-24 20:46:44 +05:30
Saad Sahibjan
f1892f726d Update device group and request beans classes to have new variable 2021-06-24 20:46:44 +05:30
Amalka Subasinghe
51dd72ff79 commented braking changes related to analytics 2021-06-22 11:26:01 +05:30
Amalka Subasinghe
d090fef2ac updated from master and added oauth2 component 2021-06-21 21:31:44 +05:30
Pahansith Gunathilake
feb8f9ca38 Merge branch 'issue-work-scope' into 'master'
[SBAC] - Add changes to use a newly added scope element in android.xml

Closes product-iots#985 and product-iots#937

See merge request entgra/carbon-device-mgt!771
2021-06-14 08:08:42 +00:00
Amalka Subasinghe
293b5f5a7b updated pom versions to 5.0.0-SNAPSHOT 2021-06-08 12:15:48 +05:30
Charitha Goonetilleke
89ae048a5d Merge branch 'geo-view' into 'master'
Add geo view API

See merge request entgra/carbon-device-mgt!775
2021-06-06 04:12:09 +00:00
MalshaPiumini
a1567d8a3d Increase session time for sso and non-sso login. 2021-06-04 11:20:25 +05:30
Kaveesha
e111c1dda8 Update DM_DEVICE_INFO table 2021-06-01 10:49:45 +05:30
charitha
3a17cb2329 Consider not now operations as pending 2021-05-24 21:41:09 +05:30
Amalka Subasinghe
83b31f0d02 updated from master and fixed conf copying issue 2021-05-24 16:40:05 +05:30
charithag
e5fb17aceb Add geo view API 2021-05-19 17:12:50 +05:30
Farheen99
5ac273f362 Add code changes to read a new xml element named scope from android.xml file 2021-05-16 20:31:50 +05:30
Amalka Subasinghe
a12be72a13 updated to kernel 4.6.2 2021-05-14 10:34:41 +05:30
Kaveesha
6c947962d6 Update item bean class to get documentation link from xml 2021-05-12 15:00:56 +05:30
Amalka Subasinghe
056987141b cleaned up components/device-mgt 2021-05-10 12:30:38 +05:30
Amalka Subasinghe
c33e13b04c updating to kernel 4.6.1 2021-05-10 09:41:45 +05:30
charithag
515d6b5797 Allow dynamic control of operations 2021-05-07 17:49:54 +05:30
charithag
2d6f3298bf Add NOTNOW status to activity result 2021-05-07 14:16:27 +05:30
MalshaPiumini
6f325862ec Formatting the SQL query. 2021-05-06 14:12:03 +05:30
MalshaPiumini
60b59f455d Solved test case failure. 2021-05-05 14:37:45 +05:30
MalshaPiumini
b2691996ab Added device filter using serial number. 2021-05-05 14:37:45 +05:30
Inosh Perara
a0ed490b0b Merge branch 'Dummy' into 'master'
Device filters in store portal

Closes product-iots#866

See merge request entgra/carbon-device-mgt!746
2021-05-04 04:26:41 +00:00
Pahansith
365b073e6a Fix app schedule installation issue in single node 2021-04-22 21:32:48 +05:30
Charitha Goonetilleke
99e5f9f876 Fix executing policy monitoring continuously 2021-04-10 16:18:06 +00:00
Farheen Boosary
0f39b2f253 Handle execution of queries contain IN clause with empty array 2021-03-29 07:49:47 +00:00
inoshperera
25c2320956 Fix wrong zip codes from agents persisting 2021-03-24 19:08:39 +05:30
MalshaPiumini
dca6b53a67 Added new filter in subscription details page 2021-03-23 14:50:36 +05:30
MalshaPiumini
605168e770 Code modified 2021-03-17 18:37:14 +05:30
MalshaPiumini
74c4f1004a Device search in store uninstall modal 2021-03-16 16:08:21 +05:30
Entgra Builder
feacd5029d [maven-release-plugin] prepare for next development iteration 2021-03-03 13:54:32 +00:00
Entgra Builder
09907233fc [maven-release-plugin] prepare release v4.1.15 2021-03-03 13:54:27 +00:00
tcdlpds@gmail.com
9f76c003a6 Fix app subscription adding issue for removed devices 2021-03-03 09:58:04 +05:30
Dharmakeerthi Lasantha
8c50af1631 Merge branch 'master' into 'master'
Fix FCM and configuration fetching issues

See merge request entgra/carbon-device-mgt!742
2021-03-02 01:05:53 +00:00
inoshperera
28e0c88222 Fix FCM and configuration fetching issues 2021-02-27 10:02:19 +05:30
charitha
0435138fc9 Fix issue with updating status due to cache inconsistency 2021-02-26 14:57:16 +05:30
Entgra Builder
ddab435548 [maven-release-plugin] prepare for next development iteration 2021-02-23 16:02:44 +00:00
Entgra Builder
5b2c085a3e [maven-release-plugin] prepare release v4.1.14 2021-02-23 16:02:39 +00:00
Dharmakeerthi Lasantha
d4aaf3ce4b Merge branch 'sync_fix' into 'master'
Fix issue in enrollment object modification

See merge request entgra/carbon-device-mgt!741
2021-02-23 15:16:04 +00:00
inoshperera
bfd1f794de Fix issue in enrollment object modification 2021-02-23 19:34:21 +05:30
Entgra Builder
ca7ded79cb [maven-release-plugin] prepare for next development iteration 2021-02-23 02:24:25 +00:00
Entgra Builder
368bb74436 [maven-release-plugin] prepare release v4.1.13 2021-02-23 02:24:20 +00:00
tcdlpds@gmail.com
2ccd137ec0 Upgrade product version in device-mgt UI 2021-02-22 18:53:42 +05:30
Dharmakeerthi Lasantha
cb3b07f35e Merge branch 'policy-ui' into 'master'
Remove unnecessary variable from card bean

See merge request entgra/carbon-device-mgt!736
2021-02-22 09:35:17 +00:00
Pahansith
e1afa53560 Fix geofence update issue 2021-02-22 11:21:24 +05:30
shamalka
9e3d126c08 Remove unnecessary variable from card bean 2021-02-22 10:53:50 +05:30
Entgra Builder
7463aa6e5a [maven-release-plugin] prepare for next development iteration 2021-02-22 02:16:58 +00:00
Entgra Builder
531672de8e [maven-release-plugin] prepare release v4.1.12 2021-02-22 02:16:53 +00:00
Shamalka Navod
ee5676d815 Improve policy UI bean classes 2021-02-22 01:43:35 +00:00
charithag
31dc6fc839 Fix NPE 2021-02-19 01:21:20 +05:30
Dharmakeerthi Lasantha
7e088ea747 Merge branch 'sync_fix' into 'master'
Fix cache not updating

See merge request entgra/carbon-device-mgt!734
2021-02-18 03:35:20 +00:00
inoshperera
4f88c2354c Fix cache not updating 2021-02-18 08:48:29 +05:30
Dharmakeerthi Lasantha
6f4e8a3688 Merge branch 'sync_fix' into 'master'
Fix for sycning status update in Android

See merge request entgra/carbon-device-mgt!733
2021-02-17 11:00:37 +00:00
inoshperera
8effa09a8f Fix for sycning status update in Android 2021-02-17 15:51:33 +05:30
tcdlpds@gmail.com
4ea3890a2e Upgrade server version in UI text info 2021-02-15 21:25:24 +05:30
shamalka
1faee050af Remove commented code lines 2021-02-12 22:58:36 +05:30
shamalka
72edb6c323 Accept multiple device status in store API 2021-02-12 22:56:31 +05:30
Entgra Builder
62919fa787 [maven-release-plugin] prepare for next development iteration 2021-02-11 08:09:07 +00:00
Entgra Builder
b98d787367 [maven-release-plugin] prepare release v4.1.11 2021-02-11 08:09:02 +00:00
Dharmakeerthi Lasantha
ce80f4efe0 Merge branch 'event-modify-branch-1' into 'master'
Code format of event task operation

See merge request entgra/carbon-device-mgt!728
2021-02-11 06:32:05 +00:00
Pahansith
4cc670a614 Format code 2021-02-11 10:54:57 +05:30
Charitha Goonetilleke
1e2afa6439 Merge branch 'event-modify-branch-1' into 'master'
Modify event creation task

See merge request entgra/carbon-device-mgt!725
2021-02-10 09:38:26 +00:00
Pahansith
9ef6cfc1e6 Move executor pool to the DeviceManagementDataHolder 2021-02-10 14:48:20 +05:30
tcdlpds@gmail.com
572e93a357 Fix server startup issues 2021-02-10 09:24:38 +05:30
Pahansith
2fa4a6167e Fix test failures 2021-02-10 01:37:00 +05:30
Pahansith
0cbcd747d5 Modify event operation creation 2021-02-10 01:12:13 +05:30
tcdlpds@gmail.com
175205b959 Fix build failure 2021-02-09 10:45:57 +05:30
tcdlpds@gmail.com
7b41e2cd0d Fix EULA loading issue for tenants
Fix registry loading issue when SSO has enabled. Because of that issue device type EULA displaying page is broken
2021-02-06 19:38:46 +05:30
tcdlpds@gmail.com
104bca0fb5 Add FULLY_MANAGED and DEDICATED_DEVICE ownership types 2021-01-29 19:34:58 +05:30
tcdlpds@gmail.com
51fface401 Append tenant domain when getting default access token 2021-01-27 15:05:38 +05:30
Pahansith
a7e6b64f70 Fix review issues and format code 2021-01-20 18:05:23 +05:30
charitha
ad4d7a453f Fix NPE occur when updating device with null status 2021-01-18 22:16:52 +05:30
tcdlpds@gmail.com
b4d7497022 Modify DeviceTypeCommonService 2021-01-16 20:57:59 +05:30
charitha
864bbcdc83 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt 2021-01-11 09:15:04 +05:30
charitha
2bdaf4186b Add Activity ID for repeated operation 2021-01-11 09:13:54 +05:30
Malsha Piumini
89298f933e Uninstall applications via Apps Tab - (For Android devices only) 2021-01-06 19:07:09 +00:00
charitha
9a2792dd31 Fix issue in not updating operation response for non-removed devices 2020-12-21 13:25:32 +05:30
Pahansith
baeb34e1da Fix review issues and format code 2020-12-18 20:37:04 +05:30
Pahansith
a36733d224 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into upstream-master 2020-12-16 23:00:04 +05:30
Pahansith
931fb8ef54 Add windows agent token generation parameters to config API 2020-12-16 21:16:38 +05:30
Pahansith
987f8edd61 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into upstream-master 2020-12-16 00:02:37 +05:30
charitha
4943635a61 Fetch enrollment Id if it is not already in the device 2020-12-12 03:01:56 +05:30
charitha
55c3f93deb Update license to entgra 2020-12-11 20:47:45 +05:30
charitha
a9cb2ae84d Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt
 Conflicts:
	components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/ActivityProviderServiceImpl.java
	components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/operation/mgt/OperationManager.java
	components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/OperationManagerImpl.java
	components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/dao/impl/GenericOperationDAOImpl.java
	components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderService.java
2020-12-11 17:26:53 +05:30
Pahansith
bc85a89cf9 Change event task to implement ntask interface 2020-12-11 04:16:23 +05:30
tcdlpds@gmail.com
087b826d29 Improve information logging 2020-12-09 16:57:15 +05:30
Shamalka Navod
eccb39d6f4 Improve metadata API 2020-12-07 20:15:18 +00:00
Inosh Perara
5297dfa73d Merge branch 'lasantha' into 'master'
Adding heart beat management functionality for dynamic task distribution

See merge request entgra/carbon-device-mgt!695
2020-12-07 09:24:20 +00:00
Ace
ceab2566ac Addressing review comments 2020-12-07 13:27:57 +05:30
Ace
5531bc0140 Addressing review comments 2020-12-07 13:19:46 +05:30
Ace
4df57ede61 incoorporating review comments 2020-12-07 13:09:14 +05:30
Dharmakeerthi Lasantha
d9386901d4 Merge branch 'corrective-policy' into 'master'
Implement OIDC Based SSO For All React Applications

Closes product-iots#656

See merge request entgra/carbon-device-mgt!680
2020-12-04 05:30:10 +00:00
Vigneshan
0917d3bf7f Improve consent management page to process oidc requests 2020-12-04 10:06:28 +05:30
Ace
bac6e3ba67 merging with upstream 2020-12-04 07:45:10 +05:30
Ace
c6db9eeecc adding randomly assigned task functionality and other improvements 2020-12-03 21:09:50 +05:30
Pahansith Gunathilake
caba7fc673 Add missing error logs to OperationManagerImpl 2020-11-30 15:51:52 +00:00
Pahansith
e5dd609dc2 Add method comments and format code 2020-11-30 15:41:51 +05:30
charitha
911bd62a44 Fix not adhering 'initiated by' 2020-11-29 10:47:06 +05:30
charitha
31a6497950 Fix enrollment modification issues 2020-11-29 10:47:06 +05:30
charitha
d75f48166e Provide response based on headers 2020-11-29 10:47:06 +05:30
charitha
10d114ba1e Improve activity retrieval logic 2020-11-29 10:47:05 +05:30
Ace
9d39197844 Adding improvements to dynamic task allocation 2020-11-26 19:16:49 +05:30
Pahansith
a3629d5932 Add group data into geofence response, Format code 2020-11-21 12:24:55 +05:30
Pahansith
8c80185610 Add doc comments and format code 2020-11-21 12:22:53 +05:30
Pahansith
d9d0ba5d90 Add event delete API 2020-11-21 12:22:53 +05:30
Pahansith
fed779302a Fix issues in Event DAO and improvements for the operation task 2020-11-21 12:22:53 +05:30
Pahansith
f073ee9276 Add H2 DAO for event configuration 2020-11-21 12:22:53 +05:30
Pahansith
75b619d5f9 Add event configuration operation creation tasks 2020-11-21 12:22:53 +05:30
Pahansith
efe116d87e Modify geofence get API 2020-11-21 12:22:53 +05:30
Pahansith
af85ca47e0 Change Geo fence edit API - Attach Events 2020-11-21 12:22:53 +05:30
Pahansith
bd8cf5237d Change Geo fence create API - Attach Event creation 2020-11-21 12:22:53 +05:30
Ace
b1d95af5b0 remvoing restriction that prevents activity count to be returned when if-modified-since header is present 2020-11-20 23:37:48 +05:30
Ace
ada570f0a0 fixing NPE when processing operations 2020-11-20 16:11:43 +05:30
tcdlpds@gmail.com
fc0fa92826 Fix incorrect device operation count returning issue 2020-11-20 07:17:47 +05:30
Ace
7cd1baf1af Adding missing license headers 2020-11-20 05:52:38 +05:30
Ace
e7b97d78c7 Imrpoving task implementation 2020-11-20 05:48:54 +05:30
Kaveesha
f99bbe36de Improve Input class in policy ui Configuration 2020-11-19 17:28:39 +05:30
tcdlpds@gmail.com
229068da06 Fix activity details getting issue of a device 2020-11-19 01:38:01 +05:30
Farheen Boosary
8238f7dd22 Add Windows enterprise app installation support for publisher and store 2020-11-18 19:26:15 +00:00
Dharmakeerthi Lasantha
9229ce280d Use device updated timestamp to filter updated devices 2020-11-17 03:58:32 +00:00
Ace
37ef7b9047 Adding interface for dynamic task allocation 2020-11-17 09:02:45 +05:30
Dharmakeerthi Lasantha
2959cab240 Merge branch 'master' into 'master'
Use device updated timestamp to filter updated devices

See merge request entgra/carbon-device-mgt!687
2020-11-17 03:01:44 +00:00
Ace
7b28665135 Defining interfaces and other adjustments 2020-11-16 09:19:21 +05:30
Ace
f40f8d02e0 Adding operation partitioning functionality 2020-11-15 22:56:10 +05:30
tcdlpds@gmail.com
b9c2190762 Fix merge conflicts 2020-11-15 00:32:24 +05:30
Malsha Piumini
f347861000 Add functionality to filter Operation Logs 2020-11-14 17:25:36 +00:00
tcdlpds@gmail.com
d25779774b Improve MDM policy functionality 2020-11-12 01:28:23 +05:30
Dharmakeerthi Lasantha
94bdff30ed Merge branch 'geofence-api' into 'corrective-policy'
Fix issue in Geo fence get by fence name

See merge request entgra/carbon-device-mgt!677
2020-11-11 14:36:55 +00:00
charitha
9e3ec5e24e Use device updated timestamp to filter updated devices 2020-11-10 21:25:42 +05:30
charitha
5d34b0671e Add new Enrollment statuses for IoT devices 2020-11-10 08:08:48 +05:30
Kaveesha
a38e91499e Add API for get devices history snapshots 2020-11-05 15:36:59 +05:30
Pahansith
84608f2f58 Fix issue in Geo fence get by fence name 2020-11-05 09:49:39 +05:30
tcdlpds@gmail.com
c88ec6077b Fixes multiple device deleting issue
Fixes entgra/product-iots#656
2020-10-30 00:59:43 +05:30
tcdlpds@gmail.com
bd8fe8a69d Merge branch 'master' of gitlab.com:entgra/carbon-device-mgt into corrective-policy 2020-10-28 18:27:05 +05:30
Ace
d831ef3284 code improvements 2020-10-26 09:40:50 +05:30
Ace
ad299e676c removing un-necessary files 2020-10-23 17:21:23 +05:30
Ace
61c05143c4 Fixing activity retrieval with intiatedBy 2020-10-23 16:59:35 +05:30
Inosh Perara
f97d9307e7 Merge branch 'geofence-api' into 'corrective-policy'
Add geo fence search and geo cache

See merge request entgra/carbon-device-mgt!670
2020-10-19 07:52:23 +00:00
Ace
22eba43aa9 including missing files 2020-10-15 21:05:33 +05:30
Ace
2ae8c126e8 fixing issues with activity retrieval 2020-10-15 21:01:24 +05:30
Pahansith
bc7e39c883 Add geo fence search and geo cache 2020-10-15 10:05:37 +05:30
shamalka
90ed562647 Improve device location history API 2020-10-13 16:11:46 +05:30
tcdlpds@gmail.com
f85224f4ad Update device cache if the device status has updated and the device info has updated 2020-10-08 20:00:20 +05:30
tcdlpds@gmail.com
ce81eac413 Improve endpoint-mgt functionalities 2020-10-08 18:49:12 +05:30
charitha
8493879151 Fixes for device enrollment status change issues 2020-10-08 18:49:12 +05:30
charitha
fb3da8c94d Fixes for device enrollment status change issues 2020-10-08 17:14:00 +05:30
Kaveesha
79f1afe8e4 Improve Select class with APISelect class changes in policy mgt ui pack 2020-10-08 12:42:32 +05:30
tcdlpds@gmail.com
daa24a5922 Fix merge conflicts 2020-10-03 00:27:44 +05:30
tcdlpds@gmail.com
a0b882f755 Fix geo fence deleting issue 2020-10-02 06:33:58 +05:30
Pahansith
83236eb3ac Fix geofence update issue 2020-10-01 19:48:00 +05:30
tcdlpds@gmail.com
7fad79643e Fix mail sending issue when policy violated 2020-10-01 14:23:53 +05:30
tcdlpds@gmail.com
f32e76346f Improve mail sending logic 2020-10-01 12:38:22 +05:30
tcdlpds@gmail.com
4fdfc07e64 Fix SQL syntax error 2020-10-01 12:09:20 +05:30
tcdlpds@gmail.com
b3d1badd1f Improve API interface text 2020-10-01 00:41:22 +05:30
tcdlpds@gmail.com
6014592f2c Add mail sending feature when policy violating 2020-10-01 00:35:22 +05:30
tcdlpds@gmail.com
f9bcb808f9 Improve device location history getting and storing functionalities 2020-10-01 00:35:21 +05:30
Inosh Perara
f7843e5c35 Merge branch 'geofence-api' into 'corrective-policy'
Fix geofence creation validation

See merge request entgra/carbon-device-mgt!651
2020-09-30 18:33:40 +00:00
Pahansith
b33c5a312f Fix geofence creation validation 2020-09-30 19:42:00 +05:30
Inosh Perara
f9b25b95a2 Merge branch 'geofence-api' into 'corrective-policy'
Fix issue in geofence creation

See merge request entgra/carbon-device-mgt!650
2020-09-30 13:45:48 +00:00
Dharmakeerthi Lasantha
daaa44a2ea Merge branch 'corrective-policy' into 'corrective-policy'
Add APISelect class to policy mgt ui pack

See merge request entgra/carbon-device-mgt!647
2020-09-30 13:44:29 +00:00
Saad Sahibjan
9998ec3669 Allow other statuses to update the device status 2020-09-30 18:14:57 +05:30
Pahansith
5e98e816cf Fix issue in geofence creation 2020-09-30 18:04:28 +05:30
Pahansith
47dc8ec708 Add Geo Json and fence shape attributes 2020-09-30 14:05:06 +05:30
Kaveesha
ac41aa7119 Add APISelect class to policy mgt ui pack 2020-09-30 13:35:07 +05:30
charitha
c6fef5d0d1 Add task operation with list of device ids 2020-09-30 10:13:10 +05:30
Inosh Perara
de4f3f64fe Merge branch 'geofence-api' into 'corrective-policy'
Create geofence APIs

See merge request entgra/carbon-device-mgt!641
2020-09-29 08:32:41 +00:00
Pahansith
91e28b71ab Merge branch 'corrective-policy' of https://gitlab.com/entgra/carbon-device-mgt into corrective-action
 Conflicts:
	components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/mgt/impl/PolicyManagerImpl.java
2020-09-29 13:11:36 +05:30
tcdlpds@gmail.com
90dac0a101 Add location bean classes and format the source 2020-09-24 08:53:35 +05:30
Pahansith
ca6b937a3a Create geofence API definitions 2020-09-21 12:04:25 +05:30
Pahansith
3241831ead Change reactive action 2020-09-21 11:27:46 +05:30
Kaveesha
6104d26ebe Add device name to Geo Cluster Locations data list 2020-09-15 13:32:19 +05:30
Kaveesha
e9400a0888 Fix QR generating issue in Cloud App 2020-09-09 23:40:06 +05:30
Saad Sahibjan
7558f82a76 Add error log for backend policy validation failure 2020-08-27 18:40:21 +05:30
Pahansith
d08f20d90e Fix code review discussions 2020-08-26 06:47:38 +05:30
Pahansith
a24879f551 Add payload parsing for old type corrective actions 2020-08-26 06:47:38 +05:30
Pahansith
2724d8ac03 Optimize policy pick strategy for corrective action implementation 2020-08-26 06:47:38 +05:30
Pahansith
684ff5df7f Fix test failures 2020-08-26 06:47:38 +05:30
Pahansith
e486db868e Change policy 2020-08-26 06:47:38 +05:30
Inosh Perara
fcd92bc10e Merge branch 'tenant-improve' into 'master'
Add OTP service and it's features

See merge request entgra/carbon-device-mgt!624
2020-08-23 07:49:59 +00:00
tcdlpds@gmail.com
b1845d9b42 Update user welcome mail body 2020-08-19 22:38:34 +05:30
tcdlpds@gmail.com
d53f56c96b Complete self registration via OTP service 2020-08-18 08:17:56 +05:30
Saad Sahibjan
322981fe5a Use DEVICE_ENROLLMENT email type to create OTP 2020-08-17 12:15:54 +05:30
Saad Sahibjan
0e018679b8 Modify test cases related to device enrollment invitation 2020-08-17 12:15:54 +05:30
Saad Sahibjan
1b0c19cb02 Add device enrollment invitation beans 2020-08-17 12:15:54 +05:30
Saad Sahibjan
ff00f26c83 Implement retrieval of DeviceEnrollmentInvitationDetails from the device management service 2020-08-17 12:15:54 +05:30
Saad Sahibjan
d2ab4c6710 Implement retrieval of DeviceEnrollmentInvitationDetails from device type xml files 2020-08-17 12:15:54 +05:30
Saad Sahibjan
d97de23ece Modify send-invitation API to send enrollment steps and OTP token 2020-08-17 12:15:54 +05:30
Saad Sahibjan
58217ac77a Implement service to create OTP and to send device enrollment invitation 2020-08-17 12:15:54 +05:30
tcdlpds@gmail.com
ea6b8c7536 Fix invoker loading issue 2020-08-17 01:03:55 +05:30
tcdlpds@gmail.com
a55a3b6ebd Improve OTP service 2020-08-16 08:46:59 +05:30
tcdlpds@gmail.com
a3510cbee1 Add email enum 2020-08-13 12:15:06 +05:30
tcdlpds@gmail.com
86912915fd Fix user verifying functionality in OTP 2020-08-12 20:17:17 +05:30
tcdlpds@gmail.com
e2a143cde0 Improve user verifying mail sending logic 2020-08-12 12:27:26 +05:30
Turcy
9759e7d57a Fix user-invitation email issues 2020-08-12 03:42:42 +05:30
tcdlpds@gmail.com
648cffaa17 Generalize OTP creation 2020-08-10 14:16:33 +05:30
tcdlpds@gmail.com
8494f0bc58 Improve OTP creating logic 2020-08-10 10:42:53 +05:30
Shamalka Navod
1ff61da1c4 Sort getAllNotifications API in DESC order 2020-08-06 18:09:35 +00:00
inoshperera
b61e9a667b Improve token validation login in valve 2020-08-04 20:12:37 +05:30
inoshperera
18531d0500 Add tenant ID and username to all layers 2020-08-04 19:39:05 +05:30
tcdlpds@gmail.com
59eeec55d6 Fix OSGI loading issue in web app authenticator 2020-08-04 07:47:53 +05:30
Dharmakeerthi Lasantha
efee2b01bf Improve OTP creating functionality 2020-08-03 09:11:02 +05:30
Dharmakeerthi Lasantha
3d2f474e75 Improve OTP creating functionality 2020-07-30 12:54:35 +00:00
tcdlpds@gmail.com
0d48f9d38c Improve One Time Token Authenticator 2020-07-30 03:06:57 +05:30
inoshperera
640a50ccd9 Merge branch 'tenant-improve' of https://gitlab.com/entgra/carbon-device-mgt into tenant-improve 2020-07-26 11:05:38 +05:30
Inosh Perara
d8f6e6765a Merge branch 'master' into 'tenant-improve'
Add OTP managing functionality

See merge request entgra/carbon-device-mgt!602
2020-07-26 05:33:33 +00:00
tcdlpds@gmail.com
709a7ab592 Add OTP managing functionality 2020-07-25 07:56:38 +05:30
inoshperera
a7af883962 Add tenant create API 2020-07-23 20:45:30 +05:30
Inosh Perara
0fec9f1db3 Merge branch 'tenant-improve' into 'tenant-improve'
Add one time token bean

See merge request entgra/carbon-device-mgt!600
2020-07-23 15:14:28 +00:00
inoshperera
3208870840 Add one time token bean 2020-07-22 21:27:56 +05:30
Ace
c1c736b607 Adding fix for policy application upon adding devices to group 2020-07-21 08:23:30 +05:30
Ace
4b58b46d8b Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt 2020-07-18 15:53:07 +05:30
Ace
3ea16eaf7d Adding capability for policies to be added/removed automatically when devices are added/removed from a group 2020-07-18 15:52:41 +05:30
shamalka
2ec29701a1 Fix get default token issues 2020-07-17 23:52:25 +05:30
Inosh Perara
571f8f3ecb Merge branch 'master' into 'master'
Handle change of device name

See merge request entgra/carbon-device-mgt!593
2020-07-17 12:12:55 +00:00
tcdlpds@gmail.com
1f94415f7f Add API to get default token by using client ID and secret 2020-07-17 12:06:33 +05:30
inoshperera
43a6c710ad Handle change of device name 2020-07-17 08:11:44 +05:30
Saad Sahibjan
42ec923700 Merge branch 'master' into 'master'
Create default roles and assign permissions

See merge request entgra/carbon-device-mgt!590
2020-07-14 06:18:38 +00:00
Dharmakeerthi Lasantha
b8e17857e0 Merge branch 'master' into 'master'
Fix incorrect instantiations of Provider Services

See merge request entgra/carbon-device-mgt!584
2020-07-14 01:54:07 +00:00
Charitha Goonetilleke
211c1e326a Fix incorrect instantiations of Provider Services 2020-07-14 01:54:06 +00:00
tcdlpds@gmail.com
3d38bd5570 Create default roles and assign permissions
When adding new tenant and if the server has configured to add default roles and assign permissions, this PR facilitates to achieve it.
2020-07-11 21:20:21 +05:30
Kaveesha
b3278d010f Update Item bean 2020-07-07 19:49:35 +05:30
Dharmakeerthi Lasantha
b3f395b284 Merge branch 'master' into 'master'
Retrieve enrollment config from general config and support serilnumber based config with user based

See merge request entgra/carbon-device-mgt!578
2020-06-25 04:12:13 +00:00
Dharmakeerthi Lasantha
4ff9a9222c Merge branch 'new-improvements' into 'master'
Fix role delete

See merge request entgra/carbon-device-mgt!582
2020-06-23 14:54:13 +00:00
Entgra Builder
a9a39a5055 [maven-release-plugin] prepare for next development iteration 2020-06-22 10:06:05 +00:00
shamalka
add8570f65 Fix role delete 2020-06-22 15:36:05 +05:30
Entgra Builder
f34bddff2f [maven-release-plugin] prepare release v4.1.10 2020-06-22 10:05:57 +00:00
Inosh Perara
f47f6bfde7 Merge branch 'master' into 'master'
Persit multiple locations in bulk

See merge request entgra/carbon-device-mgt!580
2020-06-22 09:09:13 +00:00
inoshperera
9ea055853a Persit multiple locations in bulk 2020-06-22 09:17:59 +05:30
Saad Sahibjan
b66e804091 Retrieve enrollment config from general config and support serilnumber based config with user based 2020-06-19 15:22:32 +05:30
Charitha Goonetilleke
e20b0459a2 Merge branch 'master' into 'master'
Execute device detail retriever and monitoring task for all tenant

See merge request entgra/carbon-device-mgt!575
2020-06-13 05:32:17 +00:00
Saad Sahibjan
07e56d68f5 Set tenant through tenant domain auto resolve method 2020-06-13 10:27:23 +05:30
Shamalka Navod
d054c2a383 Add file types to upload bean class 2020-06-12 15:23:34 +00:00
Saad Sahibjan
da5a1caf2b Execute device detail retreiver and monitoring task for all tenant 2020-06-12 20:43:17 +05:30
Kaveesha
90c45dc387 Update Select bean 2020-06-12 17:26:29 +05:30
Shamalka Navod
eb107f5051 Improve policy bean classes 2020-06-12 11:42:54 +00:00
Kaveesha
4fde345a23 Update Item bean by adding Nullable value 2020-06-12 11:13:55 +05:30
Shamalka Navod
f6ebcd5303 Add InputList bean 2020-06-10 20:34:16 +00:00
Kaveesha
778fab112f Add new classes to get rules in UI params 2020-06-08 23:07:13 +05:30
Entgra Builder
5660ff5876 [maven-release-plugin] prepare for next development iteration 2020-06-04 09:58:55 +00:00
Entgra Builder
688de9214d [maven-release-plugin] prepare release v4.1.9 2020-06-04 09:58:49 +00:00
Vinojini Paramasivam
5a4be7a0a1 Add attributes to ui parameters 2020-06-04 07:14:29 +00:00
Dharmakeerthi Lasantha
7df4ab7334 Merge branch 'master' into 'master'
Prevent NPE when checking for monitoring operations

See merge request entgra/carbon-device-mgt!559
2020-05-29 21:35:34 +00:00
Saad Sahibjan
b8197bc182 Prevent NPE when checking for monitoring operations 2020-05-30 01:50:17 +05:30
Turcy
2205515d90 Add metadata repository 2020-05-30 00:19:14 +05:30
Shamalka Navod
754d902e72 Add bean classes for API Table in policy UI 2020-05-27 05:21:58 +00:00
Entgra Builder
df2256ac44 [maven-release-plugin] prepare for next development iteration 2020-05-24 03:05:29 +00:00
Entgra Builder
2788259974 [maven-release-plugin] prepare release v4.1.8 2020-05-24 03:05:24 +00:00
Pahansith
6c643b81a6 Fix issue in policy creation 2020-05-23 12:20:52 +05:30
Entgra Builder
186e9cb216 [maven-release-plugin] prepare for next development iteration 2020-05-22 13:35:45 +00:00
Entgra Builder
5347dd9211 [maven-release-plugin] prepare release v4.1.7 2020-05-22 13:35:39 +00:00
Charitha Goonetilleke
c4f4961a70 Merge branch 'policy-bean' into 'master'
Add Upload bean

See merge request entgra/carbon-device-mgt!548
2020-05-22 12:51:35 +00:00
Charitha Goonetilleke
d57e324820 Merge branch 'work-efficiency-analyzer' into 'master'
Add new variable to store an apllication's events

Closes product-iots#522

See merge request entgra/carbon-device-mgt!551
2020-05-22 12:51:08 +00:00
charitha
89618eb200 Add properties from xml based device types to DEVICE_PROPERTIES table 2020-05-22 14:59:35 +05:30
Charitha Goonetilleke
798663fef7 Merge branch 'device-delete-db-fix' into 'master'
Fix sql syntax error in device large response delete

See merge request entgra/carbon-device-mgt!550
2020-05-22 04:24:03 +00:00
Yohan Avishke
602bcbb2cf Add new variable to store an apllication's events 2020-05-22 08:01:39 +05:30
Pahansith
0647eee0d8 Fix device syntax error in device large response delete 2020-05-22 00:45:41 +05:30
Pahansith
3257db9e3b Add created state to device list UI 2020-05-21 21:32:46 +05:30
shamalka
31d9969e3f Add Upload bean 2020-05-21 13:28:36 +05:30
Dharmakeerthi Lasantha
b1e13bdc22 Merge branch 'get-device-list' into 'master'
Get devices by identifier list API

See merge request entgra/carbon-device-mgt!544
2020-05-19 10:40:41 +00:00
Shamalka Navod
03e87c558f Get devices by identifier list API 2020-05-19 10:40:41 +00:00
Pahansith Gunathilake
1112b285d5 Remove operation existence check in update operation 2020-05-19 10:27:13 +00:00
charitha
573a9e598c Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt 2020-05-18 09:23:03 +05:30
charitha
dac5c2b511 Fix deadlock in device application list update 2020-05-18 09:22:23 +05:30
Inosh Perara
df0c26f2f7 Bluetooth beacon 2020-05-17 08:39:17 +00:00
Shamalka Navod
d4abcf0fc8 Add user claim attribute programmatically 2020-05-15 07:38:36 +00:00
tcdlpds@gmail.com
660935e0d6 Improve bean structure in policy UI config 2020-05-14 23:39:21 +05:30
charitha
311ddc307e Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt 2020-05-14 14:44:00 +05:30
charitha
a1a313608f Remove attempt count incrementing logic to optimize performance 2020-05-13 23:39:40 +05:30
Pahansith
35baf7ca95 Add log records for large response delete 2020-05-12 18:14:16 +05:30
Pahansith
60d67c9fea Change method calling order 2020-05-12 18:03:05 +05:30
Pahansith
c9aa47f078 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into upstream-master 2020-05-12 15:25:27 +05:30
Pahansith
552015e6f0 Fix device delete issue 2020-05-12 15:24:58 +05:30
shamalka
240f157565 Improve comments 2020-05-11 13:48:13 +05:30
shamalka
756d73d2cf Add optional platform configs 2020-05-11 13:35:53 +05:30
shamalka
dcb1602752 Add license 2020-05-11 13:35:53 +05:30
shamalka
539e814e2d Change getEnrollmentQRCode method return type 2020-05-11 13:35:53 +05:30
charitha
4ff9b326b7 Fix concurrency issue in push notification execution
(cherry picked from commit c5b7612b135ad685e1532f4993d20d7e8097e8e2)
2020-05-07 11:14:08 +05:30
Saad Sahibjan
9a6fae5696 Merge branch 'master' into 'master'
Improve device type agent downloading API

See merge request entgra/carbon-device-mgt!535
2020-05-06 07:27:11 +00:00
Charitha Goonetilleke
be705ce81b Performance improvements 2020-05-06 06:19:45 +00:00
tcdlpds@gmail.com
6f9e0c3050 Improve device type agent downloading API 2020-05-06 02:24:44 +05:30
Saad Sahibjan
33c495ad35 Add license header to DeviceFilter bean 2020-05-05 11:10:55 +05:30
Saad Sahibjan
a356ec797c Add API to retrieve device filters 2020-05-04 17:54:23 +05:30
Shamalka Navod
92ad59a119 Update operation status API 2020-05-03 17:38:26 +00:00
Charitha Goonetilleke
a3a434055b Fix tenant details retrieving and permission assigning for reporting 2020-05-03 14:28:15 +00:00
tcdlpds@gmail.com
d2a4fe70b8 Remove policy-ui config retrieving API from android.xml 2020-05-01 22:40:12 +05:30
tcdlpds@gmail.com
771e7671d9 Improve policy feature validating logic 2020-05-01 12:41:27 +05:30
Inosh Perara
3329f7b353 Merge branch 'policy-validate' into 'master'
Add validation for policy

See merge request entgra/carbon-device-mgt!527
2020-04-30 10:25:09 +00:00
inoshperera
8b2cfcbfe0 minor refactoring 2020-04-30 12:37:43 +05:30
Inosh Perara
bea3a1c8dd Reporting permission API 2020-04-30 04:58:17 +00:00
inoshperera
45bfadb657 Adding missed error throwing 2020-04-30 07:17:50 +05:30
inoshperera
08ee99f034 Add validation for policy
Adding validation logic for policy APIs and added a new validate API to validate feature lists
2020-04-29 21:32:36 +05:30
Kaveesha Mihirangi
c836083bf6 Update policy UI bean classes to get table element in policy-UI 2020-04-29 04:20:30 +00:00
Saad Sahibjan
28f58ece9f Move code for test to happen accordingly 2020-04-28 17:00:18 +05:30
Saad Sahibjan
908161d23e Add warning log when an invalid group name is provided 2020-04-28 16:11:57 +05:30
Saad Sahibjan
20221ba2b7 Add serialVersionUID enrollment configuration bean 2020-04-28 13:57:25 +05:30
Saad Sahibjan
cd59e215ee Add enrollment configuration implementation 2020-04-28 12:20:34 +05:30
Saad Sahibjan
226347a1bd Add enrollment configuration bean 2020-04-28 12:20:34 +05:30
Vinojini Paramasivam
d01f05e51f Generate ungrouped device report to a specific device type 2020-04-22 05:18:07 +00:00
Pahansith
0abea86145 Fix incorrect product ownership name on login 2020-04-22 04:43:12 +05:30
Kaveesha
a6c1a86f97 Add New Classes to get RadioGroup and NotificationList 2020-04-20 14:46:42 +05:30
Jayasanka Weerasinghe
e651645fad Create an endpoint to get permissions of a given user 2020-04-16 12:59:23 +05:30
Vinojini Paramasivam
c0839d978f Add device ungrouped report generating feature 2020-04-14 16:54:53 +00:00
tcdlpds@gmail.com
92bf262a43 Remove device-mgt react UI app from device-mgt-core 2020-04-10 02:47:32 +05:30
tcdlpds@gmail.com
6e0f386664 Improve policy ui config structure 2020-04-10 00:51:51 +05:30
Kaveesha
238b457d88 Add compnent to view devices locations 2020-04-08 17:46:48 +05:30
Saad Sahibjan
4f49bc06f8 Merge branch 'master' into 'master'
Add policy ui config classes

See merge request entgra/carbon-device-mgt!496
2020-04-08 04:54:27 +00:00
tcdlpds@gmail.com
caacb1c900 Improve policy UI config bean structure 2020-04-07 23:34:17 +05:30
tcdlpds@gmail.com
1dcc907ec6 Move device-mgt UI config retrieving API into config-mgt API 2020-04-06 11:14:02 +05:30
tcdlpds@gmail.com
dc4bebde4e Add policy ui config beans 2020-04-06 11:14:02 +05:30
Yohan Avishke
2665243aa3 Change methods to get device info if necessary
This change was done in order to fix a issue while reading
IOS operations which uses agent(eg: location).
Now it's possible to get devices with there properties
2020-04-05 16:12:07 +00:00
Kaveesha Mihirangi
7a90825ea0 Add UI for System Update COSU) and Global Proxy policies 2020-04-01 16:50:27 +00:00
Dharmakeerthi Lasantha
89469e8f61 Merge branch 'reporting2' into 'master'
Refactor event publishing configs

See merge request entgra/carbon-device-mgt!492
2020-04-01 14:14:05 +00:00
Saad Sahibjan
e5a44db713 Merge branch 'master' into 'master'
Add an open endpoint to get UI config

See merge request entgra/carbon-device-mgt!493
2020-04-01 05:09:04 +00:00
inoshperera
90e90b46d6 Refactor event publishing configs 2020-04-01 08:37:30 +05:30
tcdlpds@gmail.com
3d0bbf0b1c Add an open endpoint to get UI config
This API endpoint will be used to get app tags, scopes etc. These data will be used in proxy level when it creates access token.
2020-03-31 21:02:29 +05:30
charitha
91e39d0b04 Fix config in clustered setup 2020-03-31 19:39:20 +05:30
Kaveesha Mihirangi
514d38d0b5 Add UIs for Restriction and Passcode Policies 2020-03-30 18:33:51 +00:00
Charitha Goonetilleke
c7025f07cf Merge branch 'performance-improvement' into 'master'
Performance improvements

See merge request entgra/carbon-device-mgt!487
2020-03-30 09:56:10 +00:00
Charitha Goonetilleke
5dc235d8d6 Performance improvements 2020-03-30 09:56:10 +00:00
Saad Sahibjan
460ce4f64a Fix device type DAO handler being persisted in a wrong way 2020-03-30 13:17:47 +05:30
Shamalka Navod
9843b2e5b9 Fix DevicesTable import issue in GroupDevicesModal component 2020-03-29 19:35:38 +00:00
Dharmakeerthi Lasantha
7d660e3105 Merge branch 'master' into 'master'
Remove reporting components

See merge request entgra/carbon-device-mgt!488
2020-03-29 17:44:03 +00:00
tcdlpds@gmail.com
1432923991 Remove reporting components 2020-03-29 23:08:59 +05:30
inoshperera
91fbb28de6 Fix merge conflics 2020-03-29 13:24:05 +05:30
inoshperera
1bb18f30c9 Add get tenant API 2020-03-29 13:16:33 +05:30
inoshperera
1193910f52 minor refactoring for getTenantId 2020-03-29 13:16:33 +05:30
Saad Sahibjan
a45d2d7cb0 Use the method to retrieve the reporting host 2020-03-29 13:16:32 +05:30
Saad Sahibjan
9da0bc8de0 Call reporting app usage endpoint 2020-03-29 13:16:32 +05:30
Saad Sahibjan
3a7ea53c3a Add a method to retrieve the reporting host 2020-03-29 13:16:32 +05:30
Saad Sahibjan
30da5afdab Add hourly and daily usage to application bean 2020-03-29 13:16:32 +05:30
inoshperera
60b4a2493c merge conflics resoved 2020-03-29 12:59:28 +05:30
inoshperera
199b61ab94 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into reporting2 2020-03-29 12:24:51 +05:30
Kaveesha Mihirangi
db35d5e6a7 Implement create, apply, edit, view policy features to device-mgt React App 2020-03-27 16:56:49 +00:00
charitha
f1aa82c2b8 Fix platform configuration display for custom units 2020-03-25 19:24:43 +05:30
Shamalka Navod
a03153c2dd Add external device-user claim APIs and UI 2020-03-24 17:00:14 +00:00
Yohan Avishke
d678059da3 Fix issue with package names 2020-03-20 23:00:22 +05:30
Charitha Goonetilleke
da5c7e307f Merge branch 'geo-backend' into 'master'
Move device location history grouping logic to the backend

Closes product-iots#343

See merge request entgra/carbon-device-mgt!468
2020-03-20 15:37:08 +00:00
Dharmakeerthi Lasantha
7b26a8c943 Merge branch 'fix/dmgt-react/notifications' into 'master'
Remove notification sidebar from the Devicemgt react app

Closes product-iots#345

See merge request entgra/carbon-device-mgt!474
2020-03-20 15:23:56 +00:00
Jayasanka Weerasinghe
cadb55f256 Remove notification sidebar from the Devicemgt react app 2020-03-20 17:37:17 +05:30
Yohan Avishke
8809d63ebd Update package names of PushNotification providers 2020-03-20 16:28:14 +05:30
Kaveesha Mihirangi
07180f091e Payload improvements in add new policy feature in React App 2020-03-20 06:25:30 +00:00
Kaveesha
2bf9977a99 Add new method to create payload 2020-03-19 22:42:35 +05:30
Kaveesha
ed67090e38 Generate Basic data in payload and Add Restriction policies to forms 2020-03-19 14:33:18 +05:30
Inosh Perara
453b6b8596 Merge branch 'reporting' into 'reporting'
Reporting

See merge request entgra/carbon-device-mgt!470
2020-03-18 09:17:26 +00:00
Jayasanka Weerasinghe
aa6bb02127 Move device location history algorithm to the backend 2020-03-18 14:10:09 +05:30
Dharmakeerthi Lasantha
69bbd8d512 Merge branch 'master' into 'master'
Add device-mgt react app notification feature

See merge request entgra/carbon-device-mgt!469
2020-03-18 06:11:20 +00:00
Shamalka Navod
070c8cb3ef Add device-mgt react app notification feature 2020-03-18 06:11:19 +00:00
Kaveesha Mihirangi
c984b88c75 Add UI components to Assign policy Type, Assign Groups and Publish Policy view 2020-03-18 06:10:21 +00:00
Shamalka Navod
739ee8281f Remove duplicates in getApplications API 2020-03-17 09:33:40 +00:00
Amanda
2c04ed347b Delete records from DM_APPLICATION 2020-03-17 11:53:34 +05:30
shamalka
45939832e2 Fix App NOT installed report API query 2020-03-16 20:17:07 +05:30
Amanda
efd7b34e60 Add OSVersion column to DevicesTable component 2020-03-14 11:23:30 +05:30
Amanda
7b8111e19c Fix permanent device deletion issue
- remove the 'removeDeviceApplicationMapping' method
- remove the 'removeEnrollmentDeviceApplicationMapping' method
2020-03-13 09:30:50 +05:30
inoshperera
a77812b769 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into reporting 2020-03-12 13:58:28 +05:30
charitha
f7b6381078 Merge remote-tracking branch 'entgra/master' into entgra-master 2020-03-10 23:02:20 +05:30
charitha
b352354020 Fix issue in initial location persistence from fresh device 2020-03-10 23:02:06 +05:30
inoshperera
3c81f35838 Add get tenant API 2020-03-10 22:06:08 +05:30
inoshperera
5c7a17c3f5 fix merge conflicts 2020-03-10 14:53:49 +05:30
Yohan Avishke
d5911b900d Fix duplicate result issue by adding missing conditions 2020-03-10 12:22:38 +05:30
Dharmakeerthi Lasantha
131e8dfd1c Merge branch 'reporting' into 'reporting'
Add app scree usage reporting related changes

See merge request entgra/carbon-device-mgt!454
2020-03-06 17:38:59 +00:00
inoshperera
8df21f8af1 minor refactoring for getTenantId 2020-03-05 20:59:00 +05:30
Amanda Randombage
e3ef99c258 UI to filter devices from their main OS version 2020-03-05 11:27:03 +00:00
Yohan Avishke
2fab3029ff Add equation explaining text to the comments and fix fomratting issues
Text will explain equation step by step by using.
Added missing comments, formatted code lines, formatted license
and added more comments.
2020-03-04 14:35:34 +05:30
Saad Sahibjan
8b5e336986 Use the method to retrieve the reporting host 2020-03-04 14:10:06 +05:30
Saad Sahibjan
7599d97e68 Call reporting app usage endpoint 2020-03-04 13:33:01 +05:30
Saad Sahibjan
2e66e78d7d Add a method to retrieve the reporting host 2020-03-04 13:31:39 +05:30
Saad Sahibjan
a2fad630c7 Add hourly and daily usage to application bean 2020-03-04 13:31:39 +05:30
Yohan Avishke
e8a260dbc4 Change API to filter devices using a given OS version
When syncing devices a value will be generated for each device version.
At the API call same method is used to generate a value for the passed
OS version then thedevices are filtered using those 2 values.

This will still create a similar value but now will use
mathematical operations(pow operations) to generate
2020-03-04 07:00:23 +05:30
inoshperera
05fa975887 mend 2020-03-03 21:44:14 +05:30
inoshperera
83bc51b9df resolve conflics 2020-03-03 21:42:19 +05:30
inoshperera
cecdda4dbf Add group and roles 2020-03-03 21:18:09 +05:30
charitha
2340147a40 Merge remote-tracking branch 'entgra/master' into entgra-master 2020-03-03 09:20:22 +05:30
charitha
cb7323fc02 Add Health Check API 2020-03-03 09:20:07 +05:30
Dharmakeerthi Lasantha
c06c64e290 Merge branch 'feature/dmgt-react/report/encryption' into 'master'
Create API and a report to filter devices by encryption status

Closes product-iots#321

See merge request entgra/carbon-device-mgt!437
2020-03-03 02:57:42 +00:00
charitha
50a7721926 Fix issue in initial device info persistence 2020-03-02 12:04:33 +05:30
charitha
d5101ff98a Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into entgra-master 2020-02-29 10:20:42 +05:30
charitha
82370f0570 Performance improvements 2020-02-28 14:15:29 +05:30
charitha
7b7a6b1ce1 Fix issue in accessing device shared via group 2020-02-28 14:10:27 +05:30
Saad Sahibjan
2c2fc00f72 Merge branch 'master' into 'master'
Prevent null pointer for device info

See merge request entgra/carbon-device-mgt!450
2020-02-28 05:54:39 +00:00
Saad Sahibjan
7b010f045d Prevent null pointer for device info 2020-02-26 17:05:00 +05:30
Jayasanka Weerasinghe
cd8ed2d677 Add cross environment build support for react applications 2020-02-26 12:26:40 +05:30
Jayasanka Weerasinghe
cf7814c957 Add markers and modify polyline in location history 2020-02-25 21:43:33 +05:30
Jayasanka Weerasinghe
694109b50f Create API and the report to filter devices by encryption status 2020-02-20 14:13:36 +05:30
Jayasanka Weerasinghe
a5971e9d11 Change the file structure of the DeviceMgt React app 2020-02-19 13:32:25 +05:30
Shamalka Navod
b90b98b7cb Add group devices view to devicemgt react app 2020-02-18 12:12:43 +00:00
Dharmakeerthi Lasantha
38c0e0b544 Merge branch 'reporting' into 'master'
Reporting

See merge request entgra/carbon-device-mgt!445
2020-02-18 04:42:15 +00:00
Inosh Perara
f5aeaf3c3e Update EventPublishingException.java 2020-02-18 04:21:59 +00:00
inoshperera
20a9a98eb1 add reporting config 2020-02-18 09:46:51 +05:30
tcdlpds@gmail.com
a0be877503 Fix build failure 2020-02-15 02:08:49 +05:30
Shamalka Navod
276414aa24 Device enrollment on new devicemgt react app 2020-02-14 20:23:56 +00:00
Shamalka Navod
e4105783a6 Create a report to get application not installed devices 2020-02-14 15:42:54 +00:00
inoshperera
cf6714c7cf reporting related device info 2020-02-11 15:35:15 +05:30
Yohan Avishke
69aac07df5 Fix only reading one result when multiple results are present 2020-02-05 12:07:59 +05:30
Yohan Avishke
318d4e3f9c Remove duplicate validation checks 2020-02-05 12:06:52 +05:30
Saad Sahibjan
49d26706b0 Merge branch 'application-mgt-new' into 'master'
Improve DeviceTypeCommonService Interface

See merge request entgra/carbon-device-mgt!434
2020-02-03 15:43:08 +00:00
Dharmakeerthi Lasantha
19c5450752 Merge branch 'master' into 'master'
Fix: wrong uri for operation upgrade-firmware

See merge request entgra/carbon-device-mgt!435
2020-02-03 12:40:37 +00:00
Yohan Avishke
cd26ba22b4 Create api to generate report to filter devices with outdated OS versions 2020-02-03 12:40:12 +00:00
Yohan Avishke
8d7da2adce Fix: wrong uri for operation upgrade-firmware 2020-02-03 15:03:16 +05:30
tcdlpds@gmail.com
f3a6d19649 Improve DeviceTypeCommonService Interface 2020-02-03 12:33:24 +05:30
Kaveesha Mihirangi
ad8eb23aff Generate Policy configuration UI from JSON 2020-01-31 11:36:00 +00:00
Pahansith Gunathilake
7381ece847 Introduce device type filtering and limit results in device types retrieve endpoint 2020-01-29 20:46:44 +00:00
Yohan Avishke
16681acf55 Change status query param to a array to accept multiple values
Status param was changed from string to an array. excludeStatus param was removed from api and api calls. New methods were added to the DAO to query data filtered from list of status
2020-01-29 12:22:35 +00:00
Shamalka Navod
300d9b9002 Add device name and owner to response
Add device name and owner to getAllComplianceDevices response which gives compliance status of all devices
2020-01-28 16:50:22 +00:00
Shamalka Navod
39e3e7fa1d Implement reports for device enrollment and policy compliance 2020-01-27 16:56:47 +00:00
Saad Sahibjan
6fdbfdf8f5 Fix nextOperation DAO method to have MSSQL syntax 2020-01-27 14:08:59 +05:30
tcdlpds@gmail.com
2527604c9a Fix geo cluster loading issue in Ms SQL
This closes product-iots/issues#309
2020-01-23 23:22:01 +05:30
charitha
9cf5fd2edb Fix issue in accessing device shared via group 2020-01-22 18:54:50 +05:30
Yohan Avishke
af47d5f73a Change device type create api, to enable device type sharing with all tenants
To make use of this change pass isSharedWithAllTenants as true to the api by attaching to device type meta data by admin user
2020-01-22 05:16:42 +00:00
Jayasanka Weerasinghe
d8b218026d Add ESLint to devicemgt react app 2020-01-16 07:27:29 +00:00
Dharmakeerthi Lasantha
173fdd53ae Merge branch 'master' into 'master'
Services to delete active Analytic's artifacts and delete a existing device type

See merge request entgra/carbon-device-mgt!401
2020-01-10 17:16:17 +00:00
Dharmakeerthi Lasantha
0e216a1c8b Merge branch 'master' into 'master'
Add new UI method to retrieve device info details of a device

See merge request entgra/carbon-device-mgt!417
2020-01-10 17:15:39 +00:00
Saad Sahibjan
de29facb5f Add new UI method to retrieve device info details of a device 2020-01-09 17:26:11 +05:30
Dharmakeerthi Lasantha
293e4366e6 Merge branch 'dmgt-ra/feature/filter' into 'master'
Add filtering option to devicemgt react app

Closes product-iots#301

See merge request entgra/carbon-device-mgt!416
2020-01-09 10:56:04 +00:00
Jayasanka Weerasinghe
6aa0461c70 Add filtering option to devicemgt react app 2020-01-09 15:39:59 +05:30
Yohan Avishke
a76405c7e5 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt 2020-01-09 11:20:52 +05:30
Yohan Avishke
f6976800f5 Update try catch to use try with resources 2020-01-09 11:20:13 +05:30
Yohan Avishke
4378feedde Change try catch positions and add error messages to required positions 2020-01-09 11:19:16 +05:30
Yohan Avishke
4a70d8e17d Update service to remove /delete from url and to update swagger api annotations 2020-01-09 11:17:22 +05:30
Yohan Avishke
9d7ad19f57 Updates to method comments and swagger documentation 2020-01-09 10:37:26 +05:30
Shamalka Navod
40bf2ca1e9 UI for device enrollment reports 2020-01-08 10:30:53 +00:00
Dharmakeerthi Lasantha
8fcb753568 Merge branch 'dmgt-ra/user/bug' into 'master'
Fix the user deletion issue in devicemgt react app

Closes product-iots#300

See merge request entgra/carbon-device-mgt!414
2020-01-07 07:53:47 +00:00
Dharmakeerthi Lasantha
eda30dcf94 Merge branch 'dmgt-ra/certificate/bug' into 'master'
Fix certification deletion issue in devicemgt react app

Closes product-iots#299

See merge request entgra/carbon-device-mgt!413
2020-01-07 07:05:12 +00:00
Jayasanka Weerasinghe
8d3ed2ed88 Fix the user deletion issue in devicemgt react app 2020-01-07 12:27:42 +05:30
Jayasanka Weerasinghe
9f2b6598a9 Fix certification deletion issue in devicemgt react app 2020-01-07 11:50:21 +05:30
Jayasanka Weerasinghe
54e3e6e151 Change pagesize of groups table in devicemgt react app 2020-01-07 10:37:50 +05:30
Dharmakeerthi Lasantha
e1f7c3b073 Merge branch 'device-mgt-redirection-fix' into 'master'
Fix login redirection in devicemgt react app

Closes product-iots#297

See merge request entgra/carbon-device-mgt!411
2020-01-06 15:03:16 +00:00
Jayasanka Weerasinghe
efe5cda576 Fix login redirection in devicemgt react app 2020-01-06 15:22:53 +05:30
Jayasanka Weerasinghe
2ea3af7f12 Fix navbar on Devicemgt react app 2020-01-06 14:41:56 +05:30
Jayasanka Weerasinghe
3b5e366b77 Create cetificates view in devicemgt react app 2020-01-03 16:13:53 +05:30
Yohan Avishke
1c2d1f52a0 Update device type delete service to reduce generality of the method by specifying different methods for each single responsibility 2020-01-03 08:26:56 +05:30
Yohan Avishke
b76a838dea Isolate dao transactions 2020-01-03 08:26:56 +05:30
Yohan Avishke
5ff23bec02 Update api paths with a leading forward slash 2020-01-03 08:26:56 +05:30
Yohan Avishke
2692c40467 Update response messages 2020-01-03 08:26:56 +05:30
Yohan Avishke
1b26a8e2e7 Update license 2020-01-03 08:26:56 +05:30
Yohan Avishke
426287fdc1 Update service to check device type validation at service level and return a Not Found request, if device type doesn't exist 2020-01-03 08:26:56 +05:30
Yohan Avishke
709af6795b Update licence 2020-01-03 08:26:56 +05:30
Yohan Avishke
7dcd2be02e Complete tests to remove devices 2020-01-03 08:26:56 +05:30
Yohan Avishke
b3ff6ed787 Remove unavailable tests 2020-01-03 08:26:56 +05:30
Yohan Avishke
3f9dba9356 Complete implementation of device type permanent delete
This service will do following modifications to achieve it's functionality,
 1. Dis-enroll and delete all devices of a device type
 2. Remove platform configuration of a device type
 3. Delete the device type
2020-01-03 08:26:56 +05:30
Yohan Avishke
2e62acfafc Fix issue with deleting devices
Already dis-enrolled devices won't be deleted due to attempting to create a new DAO connection while a one already exists for the same DAO Factory. This error will occur when starting a server with already dis-enrolled devices and by trying to delete them
2020-01-03 08:26:56 +05:30
Yohan Avishke
966a878e8e Create permanant device type deletion 2020-01-03 08:26:56 +05:30
Yohan Avishke
867ea1d423 Bring consuming media type to method level 2020-01-03 08:26:56 +05:30
Yohan Avishke
07abd78261 Create endpoints to undeploy artifacts
4 new endpoints were created to delete each artifact and some minor changes were done to deploy of some of these artifacts.
2020-01-03 08:26:56 +05:30
Jayasanka
26b4c5cf3b Set charset to UTF-8 to remove invalid charactor in devicemgt app 2020-01-01 15:26:50 +05:30
Entgra Builder
0e96e3fafd [maven-release-plugin] prepare for next development iteration 2019-12-16 09:57:26 +00:00
Entgra Builder
80f9d3546b [maven-release-plugin] prepare release v4.1.6 2019-12-16 09:57:19 +00:00
Kaveesha Mihirangi
fcf271e4d2 Generate UI component for profile configuration in Add Policy view using json 2019-12-13 08:43:18 +00:00
Kaveesha Mihirangi
2c4f11e3b6 Add UI component to Enroll device and add policies 2019-12-12 06:59:50 +00:00
charitha
e924e26ced Introduce Postgre specific DAO to handle object insertion/retrieval 2019-12-11 01:38:14 +05:30