Commit Graph

7085 Commits

Author SHA1 Message Date
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
Jayasanka Weerasinghe
2d0277de3a Add app delete and retire functionality to APPM UI 2020-04-28 10:15:27 +05:30
tcdlpds@gmail.com
f1fbdf1f3b Improve response message of app retiring API 2020-04-28 07:27:54 +05:30
tcdlpds@gmail.com
8557980395 Improve APPM application retrieving APIs 2020-04-28 06:29:26 +05:30
tcdlpds@gmail.com
566c9eb5dd Improve application searching logic 2020-04-27 01:46:58 +05:30
Dharmakeerthi Lasantha
74b2e64649 Merge branch 'fix/appm-publisher/android-for-work' into 'master'
Fix android enterprise view crashing by permission rendering

Closes product-iots#491

See merge request entgra/carbon-device-mgt!519
2020-04-24 12:11:57 +00:00
Jayasanka Weerasinghe
7df02c5db5 Fix android enterprise view crashing by permission rendering 2020-04-24 16:49:40 +05:30
Jayasanka Weerasinghe
68bcec0ce9 Add Release deleting functionality to the APPM Publisher UI 2020-04-24 12:22:35 +05:30
tcdlpds@gmail.com
f03c3a0517 Modify app release deleting functionality 2020-04-23 01:31:41 +05:30
tcdlpds@gmail.com
f4ace5027f Improve dependency usage and source code 2020-04-22 20:32:25 +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
Shamalka Navod
0629d5af71 Add app name validating feature into APPM publisher UI 2020-04-20 15:09:45 +00:00
Kaveesha
a6c1a86f97 Add New Classes to get RadioGroup and NotificationList 2020-04-20 14:46:42 +05:30
Dharmakeerthi Lasantha
9965d653e9 Merge branch 'feature/appm-store/pbac' into 'master'
Add permission based access control to APPM store

Closes product-iots#392

See merge request entgra/carbon-device-mgt!497
2020-04-20 07:23:30 +00:00
Jayasanka Weerasinghe
f6c332df15 Add permission based access control to APPM store 2020-04-20 12:13:35 +05:30
Shamalka Navod
74050d6db5 Improve APPM application name validating API 2020-04-19 13:44:09 +00:00
Dharmakeerthi Lasantha
831b2fa89f Merge branch 'feature/appm-publisher/pbac' into 'master'
Add permission based access control to APPM Publisher

Closes product-iots#483

See merge request entgra/carbon-device-mgt!507
2020-04-17 12:07:55 +00:00
Jayasanka Weerasinghe
8cf313ec82 Add permission based access control to APPM Publisher 2020-04-17 13:08:02 +05:30
tcdlpds@gmail.com
182c8be98a Improve APPM and Invoker sources 2020-04-17 00:26:37 +05:30
Dharmakeerthi Lasantha
e45d108ce1 Merge branch 'feature/get-permissions' into 'master'
Create an endpoint to get permissions of a given user

Closes product-iots#353

See merge request entgra/carbon-device-mgt!482
2020-04-16 08:02:46 +00:00
Jayasanka Weerasinghe
e651645fad Create an endpoint to get permissions of a given user 2020-04-16 12:59:23 +05:30
tcdlpds@gmail.com
9abe718838 Fix grammar issue in error message 2020-04-15 20:43:08 +05:30
tcdlpds@gmail.com
4cf24e6b0a Add HEAD API to check the existence of application 2020-04-15 20:15:13 +05:30
Dharmakeerthi Lasantha
a278b6993a Merge branch 'feature/appm-publisher' into 'master'
Change the file structure of APPM Publisher

Closes product-iots#480

See merge request entgra/carbon-device-mgt!503
2020-04-15 06:52:24 +00:00
Jayasanka Weerasinghe
db8417b339 Change the file structure of APPM Publisher 2020-04-15 11:33:20 +05:30
Amanda Randombage
1ac18c80b3 Fix issues in GET /applications API 2020-04-15 00:48:26 +00:00
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
b843d8eefe test fixes 2020-03-29 13:16:33 +05:30
inoshperera
9fab25d8d4 Test case fix for proxy tenant id 2020-03-29 13:16:33 +05:30
inoshperera
2ab0efbcdd validate oauth token and permission 2020-03-29 13:16:33 +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
inoshperera
af12d3fe9a Proxied API calls for sub tenant using super tenant details 2020-03-29 13:16:32 +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
inoshperera
2e265fcb3d test fixes 2020-03-29 12:19:23 +05:30
inoshperera
b7de3225a1 Test case fix for proxy tenant id 2020-03-29 12:19:23 +05:30
inoshperera
3f8a6a1957 validate oauth token and permission 2020-03-29 12:19:23 +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
Jayasanka Weerasinghe
7976ee4e51 Change the file structure of the APIM Store 2020-03-23 18:01:35 +05:30
Yohan Avishke
526c15c360 Add checkstyles dependancy with it's version 2020-03-23 10:06:35 +05:30
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
inoshperera
d7355cef55 Proxied API calls for sub tenant using super tenant details 2020-03-05 20:56:19 +05:30
Saad Sahibjan
5d83c83321 Create HTTP client based on hostname verification property 2020-03-05 18:26:49 +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
76d0fff5be Merge branch 'query' into 'master'
Improve the getApplication query to check the tenant

See merge request entgra/carbon-device-mgt!451
2020-02-28 05:55:07 +00:00
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
nipunnadeen
6cab3293c0 Improve the getApplication query to check the tenant 2020-02-27 20:25:57 +05:30
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
Jayasanka Weerasinghe
a6883c55bb Fix APPM store app crash on app installation product-iots#325 2020-02-13 19:23:14 +05:30
Saad Sahibjan
216b6201ba Fix classes not imported to FCM pom 2020-02-12 22:22:15 +05:30
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
Dharmakeerthi Lasantha
df6848458d Merge branch 'fix/appm-store/device-install' into 'master'
Load both active & inactive devices in APPM device installation

Closes product-iots#318

See merge request entgra/carbon-device-mgt!432
2020-01-31 11:36:32 +00:00
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
Yohan Avishke
d07f5b3713 Add API to download device-type agent 2020-01-29 11:03:21 +00:00
Jayasanka Weerasinghe
3bf3dfd2e7 Load both active & inactive devices in APPM device installation 2020-01-29 14:56:39 +05:30
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
charitha
e5a1c734e6 Revert "Fix login issue with user other than super admin just after starting the pack"
This reverts commit b699cae1
2020-01-22 13:16:33 +05:30
charitha
b699cae11e Fix login issue with user other than super admin just after starting the pack 2020-01-22 10:48:23 +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
Jayasanka Weerasinghe
1478515470 Add ESLint to APPM publisher ui & fix errors 2020-01-16 11:46:00 +05:30
Jayasanka Weerasinghe
73e2246a20 Remove unwanted app release api call from APPM UIs 2020-01-15 05:25:33 +05:30
Dharmakeerthi Lasantha
30aafba8ca Merge branch 'application-mgt-new' into 'master'
Improve functionality of UI interceptor

See merge request entgra/carbon-device-mgt!418
2020-01-14 02:18:33 +00:00
Dharmakeerthi Lasantha
351e599895 Merge branch 'eslint' into 'master'
Add ESLint to APPM Store react app

Closes product-iots#293

See merge request entgra/carbon-device-mgt!407
2020-01-14 02:17:48 +00:00
lasanthaDLPDS
b5ee0bdb8c Improve functionality of UI interceptor 2020-01-11 13:32:52 +05:30
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
Saad Sahibjan
a8c68b2052 Fix policy edit not working when policy cache is disabled 2020-01-03 18:20:14 +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