Commit Graph

12 Commits

Author SHA1 Message Date
Charitha Goonetilleke
a4138b4778 Fix inconsistencies with subtypes and operation templates 2024-08-12 16:32:02 +05:30
2006d7e97d Add policy type conversion from BLOB to Text DB scripts 2024-07-11 23:33:16 +05:30
Charitha Goonetilleke
d1fe1baad0 Fix issues with caching 2024-05-26 13:17:08 +05:30
Charitha Goonetilleke
62722718f2 Fix issues with handling OPERATION_DETAILS and OPERATION_PROPERTIES
This is to fix incorrectly handled operation details retrieval and operation properties handling.

Need following migration for existing data.

```
ALTER TABLE `DM_DB`.`DM_OPERATION`
ADD COLUMN `OPERATION_PROPERTIES` BLOB NULL DEFAULT NULL AFTER `OPERATION_DETAILS`;

ALTER TABLE `ARCHIVAL_DB`.`DM_OPERATION_ARCH`
ADD COLUMN `OPERATION_PROPERTIES` BLOB NULL DEFAULT NULL AFTER `OPERATION_DETAILS`;

UPDATE DM_OPERATION SET OPERATION_DETAILS = null;

UPDATE DM_ENROLMENT_OP_MAPPING SET STATUS = 'ERROR' WHERE STATUS = 'PENDING' OR STATUS = 'IN_PROGRESS' OR STATUS = 'NOTNOW';
```

Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/371
Co-authored-by: Charitha Goonetilleke <charitha@entgra.io>
Co-committed-by: Charitha Goonetilleke <charitha@entgra.io>
2024-04-18 04:05:04 +00:00
Thameera
fbbdd172e7 Modify method names 2024-01-31 10:07:48 +05:30
Thameera
c071b9de01 Modify operation template 2024-01-31 10:07:48 +05:30
Sasini_Sandamali
bb0369cde9 Update addOperation and sql files 2023-09-21 09:53:11 +05:30
Thameera
70c27b647b Operation Template releated changes 2023-08-23 13:47:30 +05:30
Dharmakeerthi Lasantha
713759f3f7 Update copyright 2023-05-26 23:58:39 +05:30
Amalka Subasinghe
0bf534689f refactiored device mgt components 2023-05-11 13:29:16 +05:30
Amalka Subasinghe
75309b8d96 refactored device-mgt extension component 2023-05-11 12:14:29 +05:30
Amalka Subasinghe
e3c4765650 refactored operation mgt component 2023-05-10 19:41:37 +05:30