Commit Graph

4705 Commits

Author SHA1 Message Date
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
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
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
Charitha Goonetilleke
af1541e641 Merge branch 'application-mgt-new' into 'master'
Add PostgreSQL support for the App Manager

See merge request entgra/carbon-device-mgt!402
2019-12-10 05:30:08 +00:00
charitha
ac0f9f9751 Add swagger 2019-12-10 10:46:06 +05:30
lasanthaDLPDS
1c24707b9f Add PostgreSQL support for the App Manager 2019-12-10 09:35:59 +05:30
lasanthaDLPDS
0a8f6cd311 Merge branch 'master' of gitlab.com:entgra/carbon-device-mgt into application-mgt-new 2019-12-09 23:19:03 +05:30
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
Dharmakeerthi Lasantha
d240c05b9b Merge branch 'master' into 'master'
Fix footer floating issue

See merge request entgra/carbon-device-mgt!397
2019-11-27 14:51:12 +00:00
lasanthaDLPDS
152a97c820 Add Device type common service interface 2019-11-27 20:06:30 +05:30
Kaveesha Mihirangi
746e6269e0 Add View to Enroll New Device and Change left menu to top 2019-11-27 14:18:24 +00:00
Turcy
016ff9bee0 Fix footer floating issue 2019-11-27 19:11:41 +05:30
Dharmakeerthi Lasantha
02b0620c31 Merge branch 'master' into 'master'
Add Content-length to artifact file response

See merge request entgra/carbon-device-mgt!391
2019-11-19 07:38:12 +00:00
Dharmakeerthi Lasantha
8a2a2b364f Merge branch 'master' into 'master'
Wipe when unenroll

See merge request entgra/carbon-device-mgt!394
2019-11-17 17:52:27 +00:00
Kaveesha Mihirangi
df3548fb8f Modify Role view and User View 2019-11-16 03:43:50 +00:00
Turcy
c34f3cf4c7 Correct error message reference 2019-11-15 19:15:52 +05:30
Dharmakeerthi Lasantha
3cc68f761e Merge branch 'master' into 'master'
Fix app manager permissions not being displayed

Closes product-iots#281

See merge request entgra/carbon-device-mgt!393
2019-11-15 08:18:04 +00:00
Ruwan Liyanage
d5976deed8 Fix HTTP Error 500 issue on the role edit page 2019-11-15 08:17:37 +00:00
inoshperera
ea73040e65 Wipe when unenroll 2019-11-15 12:29:37 +05:30
Saad Sahibjan
7cf86d5b60 Fix app manager permissions not being displayed 2019-11-14 19:05:45 +05:30
Saad Sahibjan
666aaf58f0 Fix users not loading during policy creation 2019-11-07 17:59:53 +05:30
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