Fixing the initial configuration issue

Fixing the https://github.com/wso2/product-iots/issues/1425, Initial configurations are wrongly put on the device type xml files
revert-dabc3590
geethkokila 7 years ago
parent ff85460f6a
commit adaadff7f3

@ -364,11 +364,9 @@
</TaskConfiguration> </TaskConfiguration>
<PolicyMonitoring enabled="true"/> <PolicyMonitoring enabled="true"/>
<InitialOperationConfig> <InitialOperationConfig>
<Operations>
<Operation>DEVICE_INFO</Operation> <Operation>DEVICE_INFO</Operation>
<Operation>APPLICATION_LIST</Operation> <Operation>APPLICATION_LIST</Operation>
<Operation>DEVICE_LOCATION</Operation> <Operation>DEVICE_LOCATION</Operation>
</Operations>
</InitialOperationConfig> </InitialOperationConfig>
<!--This configures the Task service for the android device-type. Given below are the property definitions. <!--This configures the Task service for the android device-type. Given below are the property definitions.
<RequireStatusMonitoring> - This will enable or disable status monitoring for that particular device-type. <RequireStatusMonitoring> - This will enable or disable status monitoring for that particular device-type.

@ -165,16 +165,8 @@
<PolicyMonitoring enabled="true"/> <PolicyMonitoring enabled="true"/>
<InitialOperationConfig> <InitialOperationConfig>
<Operations> <Operation>DEVICE_INFO</Operation>
<Operation> <Operation>DEVICE_LOCATION</Operation>
<Name>DEVICE_INFO</Name>
<RecurrentTimes>1</RecurrentTimes>
</Operation>
<Operation>
<Name>DEVICE_LOCATION</Name>
<RecurrentTimes>1</RecurrentTimes>
</Operation>
</Operations>
</InitialOperationConfig> </InitialOperationConfig>
<DeviceStatusTaskConfig> <DeviceStatusTaskConfig>
<RequireStatusMonitoring>true</RequireStatusMonitoring> <RequireStatusMonitoring>true</RequireStatusMonitoring>

Loading…
Cancel
Save