From d01f58186dadead0b7492c8eb464521803c6504b Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Wed, 21 Sep 2016 00:57:59 +0530 Subject: [PATCH] Copying product specific cdm-config.xml for enabling custom PushNotificationProviders such as XMPP, MQTT --- modules/distribution/src/assembly/bin.xml | 6 +- .../src/repository/conf/cdm-config.xml | 92 ++++++++++--------- 2 files changed, 55 insertions(+), 43 deletions(-) diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index 06521170..fa2f8f90 100644 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -894,10 +894,12 @@ true 644 - + - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/cdm-config.xml + src/repository/conf/cdm-config.xml ${pom.artifactId}-${pom.version}/repository/conf true diff --git a/modules/distribution/src/repository/conf/cdm-config.xml b/modules/distribution/src/repository/conf/cdm-config.xml index 4ac277e3..1e833eef 100644 --- a/modules/distribution/src/repository/conf/cdm-config.xml +++ b/modules/distribution/src/repository/conf/cdm-config.xml @@ -18,44 +18,54 @@ --> - - - - jdbc/DM_DS - - - - - https://localhost:9443 - admin - admin - - - org.wso2.carbon.policy.mgt - false - 60000 - 5 - 8 - 20 - - - false - 600000 - org.wso2.carbon.device.mgt.core.task.impl.DeviceDetailsRetrieverTask - - - DEVICE_INFO - 1 - - - APPLICATION_LIST - 5 - - - DEVICE_LOCATION - 1 - - - - - + + + + jdbc/DM_DS + + + + + org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt.MQTTBasedPushNotificationProvider + org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.XMPPBasedPushNotificationProvider + + + https://localhost:9443 + admin + admin + + + org.wso2.carbon.policy.mgt + true + 60000 + 5 + 8 + 20 + + + true + 600000 + org.wso2.carbon.device.mgt.core.task.impl.DeviceDetailsRetrieverTask + + + DEVICE_INFO + 1 + + + APPLICATION_LIST + 5 + + + DEVICE_LOCATION + 1 + + + + + + 20 + 20 + 20 + 20 + + \ No newline at end of file