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 + + + +