|
|
|
@ -18,44 +18,54 @@
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<DeviceMgtConfiguration>
|
|
|
|
|
<ManagementRepository>
|
|
|
|
|
<DataSourceConfiguration>
|
|
|
|
|
<JndiLookupDefinition>
|
|
|
|
|
<Name>jdbc/DM_DS</Name>
|
|
|
|
|
</JndiLookupDefinition>
|
|
|
|
|
</DataSourceConfiguration>
|
|
|
|
|
</ManagementRepository>
|
|
|
|
|
<IdentityConfiguration>
|
|
|
|
|
<ServerUrl>https://localhost:9443</ServerUrl>
|
|
|
|
|
<AdminUsername>admin</AdminUsername>
|
|
|
|
|
<AdminPassword>admin</AdminPassword>
|
|
|
|
|
</IdentityConfiguration>
|
|
|
|
|
<PolicyConfiguration>
|
|
|
|
|
<MonitoringClass>org.wso2.carbon.policy.mgt</MonitoringClass>
|
|
|
|
|
<MonitoringEnable>false</MonitoringEnable>
|
|
|
|
|
<MonitoringFrequency>60000</MonitoringFrequency>
|
|
|
|
|
<MaxRetries>5</MaxRetries>
|
|
|
|
|
<MinRetriesToMarkUnreachable>8</MinRetriesToMarkUnreachable>
|
|
|
|
|
<MinRetriesToMarkInactive>20</MinRetriesToMarkInactive>
|
|
|
|
|
</PolicyConfiguration>
|
|
|
|
|
<TaskConfiguration>
|
|
|
|
|
<Enable>false</Enable>
|
|
|
|
|
<Frequency>600000</Frequency>
|
|
|
|
|
<TaskClass>org.wso2.carbon.device.mgt.core.task.impl.DeviceDetailsRetrieverTask</TaskClass>
|
|
|
|
|
<Operations>
|
|
|
|
|
<Operation>
|
|
|
|
|
<Name>DEVICE_INFO</Name>
|
|
|
|
|
<RecurrentTimes>1</RecurrentTimes>
|
|
|
|
|
</Operation>
|
|
|
|
|
<Operation>
|
|
|
|
|
<Name>APPLICATION_LIST</Name>
|
|
|
|
|
<RecurrentTimes>5</RecurrentTimes>
|
|
|
|
|
</Operation>
|
|
|
|
|
<Operation>
|
|
|
|
|
<Name>DEVICE_LOCATION</Name>
|
|
|
|
|
<RecurrentTimes>1</RecurrentTimes>
|
|
|
|
|
</Operation>
|
|
|
|
|
</Operations>
|
|
|
|
|
</TaskConfiguration>
|
|
|
|
|
</DeviceMgtConfiguration>
|
|
|
|
|
|
|
|
|
|
<ManagementRepository>
|
|
|
|
|
<DataSourceConfiguration>
|
|
|
|
|
<JndiLookupDefinition>
|
|
|
|
|
<Name>jdbc/DM_DS</Name>
|
|
|
|
|
</JndiLookupDefinition>
|
|
|
|
|
</DataSourceConfiguration>
|
|
|
|
|
</ManagementRepository>
|
|
|
|
|
<PushNotificationProviders>
|
|
|
|
|
<Provider>org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt.MQTTBasedPushNotificationProvider</Provider>
|
|
|
|
|
<Provider>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.XMPPBasedPushNotificationProvider</Provider>
|
|
|
|
|
</PushNotificationProviders>
|
|
|
|
|
<IdentityConfiguration>
|
|
|
|
|
<ServerUrl>https://localhost:9443</ServerUrl>
|
|
|
|
|
<AdminUsername>admin</AdminUsername>
|
|
|
|
|
<AdminPassword>admin</AdminPassword>
|
|
|
|
|
</IdentityConfiguration>
|
|
|
|
|
<PolicyConfiguration>
|
|
|
|
|
<MonitoringClass>org.wso2.carbon.policy.mgt</MonitoringClass>
|
|
|
|
|
<MonitoringEnable>true</MonitoringEnable>
|
|
|
|
|
<MonitoringFrequency>60000</MonitoringFrequency>
|
|
|
|
|
<MaxRetries>5</MaxRetries>
|
|
|
|
|
<MinRetriesToMarkUnreachable>8</MinRetriesToMarkUnreachable>
|
|
|
|
|
<MinRetriesToMarkInactive>20</MinRetriesToMarkInactive>
|
|
|
|
|
</PolicyConfiguration>
|
|
|
|
|
<TaskConfiguration>
|
|
|
|
|
<Enable>true</Enable>
|
|
|
|
|
<Frequency>600000</Frequency>
|
|
|
|
|
<TaskClass>org.wso2.carbon.device.mgt.core.task.impl.DeviceDetailsRetrieverTask</TaskClass>
|
|
|
|
|
<Operations>
|
|
|
|
|
<Operation>
|
|
|
|
|
<Name>DEVICE_INFO</Name>
|
|
|
|
|
<RecurrentTimes>1</RecurrentTimes>
|
|
|
|
|
</Operation>
|
|
|
|
|
<Operation>
|
|
|
|
|
<Name>APPLICATION_LIST</Name>
|
|
|
|
|
<RecurrentTimes>5</RecurrentTimes>
|
|
|
|
|
</Operation>
|
|
|
|
|
<Operation>
|
|
|
|
|
<Name>DEVICE_LOCATION</Name>
|
|
|
|
|
<RecurrentTimes>1</RecurrentTimes>
|
|
|
|
|
</Operation>
|
|
|
|
|
</Operations>
|
|
|
|
|
</TaskConfiguration>
|
|
|
|
|
<!-- Default Page size configuration for paginated DM APIs-->
|
|
|
|
|
<PaginationConfiguration>
|
|
|
|
|
<DeviceListPageSize>20</DeviceListPageSize>
|
|
|
|
|
<NotificationListPageSize>20</NotificationListPageSize>
|
|
|
|
|
<ActivityListPageSize>20</ActivityListPageSize>
|
|
|
|
|
<OperationListPageSize>20</OperationListPageSize>
|
|
|
|
|
</PaginationConfiguration>
|
|
|
|
|
</DeviceMgtConfiguration>
|