device-mgt-core/components/task-mgt/task-watcher
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
..
io.entgra.device.mgt.core.task.mgt.watcher Fix issues with handling OPERATION_DETAILS and OPERATION_PROPERTIES 2024-04-18 04:05:04 +00:00
pom.xml [maven-release-plugin] prepare for next development iteration 2024-04-09 10:35:40 +05:30