From 2ed4b2dfb60291f65b3d527ddab1a0672a0f6ba6 Mon Sep 17 00:00:00 2001 From: ayyoob Date: Mon, 29 May 2017 05:45:55 +0530 Subject: [PATCH] added default purge configuration --- modules/distribution/pom.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml index 3b8f7e43..21f9c22b 100644 --- a/modules/distribution/pom.xml +++ b/modules/distribution/pom.xml @@ -168,6 +168,35 @@ + + + + replace-for-analytics-config + prepare-package + + replace + + + ${basedir}/../p2-profile/analytics-profile/target/wso2carbon-core-${carbon.kernel.version}/wso2/conf/analytics/analytics-config.xml + + + /analytics-dataservice-configuration/analytics-data-purging/purging-enable + (false) + true + + + /analytics-dataservice-configuration/analytics-data-purging/purge-include-tables/table + (.\*) + IOT_PER_DEVICE_STREAM.* + + + /analytics-dataservice-configuration/analytics-data-purging/data-retention-days + (365) + 31 + + + +