Commit Graph

1529 Commits

Author SHA1 Message Date
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
Shamalka Navod
40bf2ca1e9 UI for device enrollment reports 2020-01-08 10:30:53 +00:00
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
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
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
charitha
e924e26ced Introduce Postgre specific DAO to handle object insertion/retrieval 2019-12-11 01:38:14 +05:30
Saad Sahibjan
7437545b0d Fix web clip uninstallation issues in ios 2019-11-06 19:31:48 +05:30
Charitha Goonetilleke
c0fc88054c Merge branch 'master' into 'master'
Returning status when retrieving groups

See merge request entgra/carbon-device-mgt!385
2019-11-06 10:47:09 +00:00
Ace
f9b851dc1e Returning group ID when retrieving groups 2019-11-06 15:37:30 +05:30
Milan Perera
d4c996cce1 Merge branch 'master' into 'master'
Fix MS sql Blob storing and sql error

See merge request entgra/carbon-device-mgt!384
2019-11-06 09:59:56 +00:00
inoshperera
b0f7cfdf61 Refactoring and formatting 2019-11-06 14:51:37 +05:30
lasanthaDLPDS
f330bdd3d1 Fix SQL syntax issue in getSubscribedDevices method 2019-11-06 00:22:04 +05:30
inoshperera
2e84e4d01f Fix MS sql Blob storing and sql error 2019-11-05 22:48:57 +05:30
Saad Sahibjan
15abfa218d Fix uninstall device list retrieving issue 2019-11-05 19:17:37 +05:30
Saad Sahibjan
d2f8b6e160 Fix web clips installation not working for iOS 2019-11-05 11:12:35 +05:30
charitha
e6ea2175cd Add review suggestions 2019-11-04 12:39:15 +05:30
charitha
efff1e2cfd Fix device group related issues
- Create group - Not working when group properties are not available
- Delete group - SQL error
- Get devices of group - Database connection management issue
2019-11-03 23:51:54 +05:30
Dharmakeerthi Lasantha
3ca303cdb5 Fix app installing issue in kiosk 2019-11-01 13:11:11 +00:00
inoshperera
5a3d9c455a improve uninstall API for Google EMM APIs 2019-10-28 20:43:01 +05:30
charitha
253afa517a Fix transaction handling 2019-10-26 01:42:37 +05:30
charitha
d6845cd40a Add new API endpoints
- Change device status as bulk
- Get total device count
- Add group with different owner
2019-10-26 01:03:44 +05:30
lasanthaDLPDS
67f442f1c4 Merge branch 'application-mgt-new' of gitlab.com:entgra/carbon-device-mgt into application-mgt-new 2019-10-22 22:35:59 +05:30
Charitha Goonetilleke
e58ca40323 Merge branch 'application-mgt-new' into 'application-mgt-new'
Adding status column to GROUP table and honuring same in API

See merge request entgra/carbon-device-mgt!341
2019-10-22 14:39:55 +00:00
lasanthaDLPDS
2103306fa1 Improve APPM source
Fix formatting issues, add java doc comments, improve transaction handling
2019-10-22 19:45:25 +05:30
lasanthaDLPDS
b5a86d8e79 Merge branch 'application-mgt-new' of gitlab.com:entgra/carbon-device-mgt into application-mgt-new 2019-10-21 20:00:29 +05:30
lasanthaDLPDS
d4f3754ebc Add new admin API to get app subscription data 2019-10-21 19:59:19 +05:30
inoshperera
0db399814b MS SQL based syntax fixes 2019-10-21 14:04:38 +05:30
inoshperera
422e106c36 MS sql related bug fixes 2019-10-20 09:41:07 +05:30
Ace
548ad336bf Adding status column to GROUP table and honuring same in API 2019-10-18 18:18:40 +05:30
lasanthaDLPDS
b5a1433709 Improve SQL queries in APPM 2019-10-18 17:17:38 +05:30
ausam riyaaz
2e8a706724 Fix MsSQL syntax issues. 2019-10-18 11:40:49 +00:00
lasanthaDLPDS
afb487dedc Improve APPM subscribing functionality 2019-10-17 11:24:58 +05:30
lasanthaDLPDS
0b238b9c45 Merge with upstream master 2019-10-15 12:51:54 +05:30
lasanthaDLPDS
46d28cca8d Add MsSQL and Oracle support for APPM 2019-10-15 09:15:44 +05:30
Saad Sahibjan
f9660de334 Minor fixes and improvement for permanent delete devices 2019-10-13 11:58:58 +05:30
Amanda Randombage
becaf35546 Permanent delete DAO fix 2019-10-11 08:59:31 +00:00
Saad Sahibjan
354dcd3fd4 Add null and empty check for device location related values 2019-10-10 15:55:03 +05:30
Amanda
7b7d47a2bf Fix delete
- Fix delete button in UI
- Close connection in DAO
2019-10-10 07:56:29 +05:30
Amanda Randombage
e80589d3b1 Fix Permanent delete for multiple enrollments 2019-10-09 10:19:55 +00:00
Amanda
0aee974b35 Fix issue in retrieving IoTS devices 2019-10-08 17:33:24 +05:30
charitha
43ba5d7e84 Fix issue in retrieving IoTS devices 2019-10-08 13:26:56 +05:30
lasanthaDLPDS
f6098a75af Sync with upstream master 2019-10-04 15:39:02 +05:30
lasanthaDLPDS
298c58e8b8 Fix merge conflicts 2019-10-04 13:57:55 +05:30
nipun
4ac94746fa Merge branch 'application-mgt-new' of https://gitlab.com/nipunnadeen/carbon-device-mgt into appm-new 2019-10-04 12:06:13 +05:30