From 3c85e21c7940ae744c2132a68042afee77f74a3a Mon Sep 17 00:00:00 2001 From: charitha Date: Wed, 22 Nov 2017 22:40:20 +0530 Subject: [PATCH] Adding data archival configurations (missed from #977) --- .../src/main/resources/conf/cdm-config.xml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf/cdm-config.xml b/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf/cdm-config.xml index 518edb4d8d3..1c10dd22bf4 100644 --- a/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf/cdm-config.xml +++ b/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf/cdm-config.xml @@ -87,6 +87,31 @@ true 86400 + + + + jdbc/DM_ARCHIVAL_DS + + + + false + org.wso2.carbon.device.mgt.core.task.impl.ArchivalTask + + 0 0 0 1/1 * ? * + + 30 + 1000 + + false + org.wso2.carbon.device.mgt.core.task.impl.ArchivedDataDeletionTask + + 0 0 3 1/1 * ? * + + 365 + + + false false