Commit Graph

2515 Commits

Author SHA1 Message Date
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
Yohan Avishke
cd26ba22b4 Create api to generate report to filter devices with outdated OS versions 2020-02-03 12:40:12 +00:00
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
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
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
charitha
e924e26ced Introduce Postgre specific DAO to handle object insertion/retrieval 2019-12-11 01:38:14 +05:30
Entgra Builder
cd94992d6f [maven-release-plugin] prepare for next development iteration 2019-12-10 13:48:39 +00:00
Entgra Builder
cd7ca88a1e [maven-release-plugin] prepare release v4.1.6 2019-12-10 13:48:32 +00:00
Entgra Builder
270e16fc3a [maven-release-plugin] prepare for next development iteration 2019-12-04 07:51:03 +00:00
Entgra Builder
f0384d9775 [maven-release-plugin] prepare release v4.1.5 2019-12-04 07:50:55 +00:00
Saad Sahibjan
7437545b0d Fix web clip uninstallation issues in ios 2019-11-06 19:31:48 +05:30
Entgra Builder
bea11b7d81 [maven-release-plugin]prepare for next development iteration 2019-11-06 11:02:35 +00:00
Entgra Builder
2aa50223e0 [maven-release-plugin]prepare release v4.1.4 2019-11-06 11:02:28 +00:00
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
Entgra Builder
252a3f2edc [maven-release-plugin]prepare for next development iteration 2019-11-06 07:20:39 +00:00
Entgra Builder
74c6eb6be7 [maven-release-plugin]prepare release v4.1.4 2019-11-06 07:20:32 +00:00
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
Entgra Builder
555ea6a808 [maven-release-plugin]prepare for next development iteration 2019-11-05 14:15:27 +00:00
Entgra Builder
347180a321 [maven-release-plugin]prepare release v4.1.3 2019-11-05 14:15:20 +00:00
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
Entgra Builder
8d8c3cce16 [maven-release-plugin]prepare for next development iteration 2019-11-02 07:16:43 +00:00
Entgra Builder
f596f3ef81 [maven-release-plugin]prepare release v4.1.2 2019-11-02 07:16:36 +00:00