wso2 / carbon-device-mgt

Apache License 2.0
53 stars 113 forks source link

Handle NotNow response from device #1265

Closed milanperera closed 5 years ago

milanperera commented 5 years ago

Purpose

This fixes the wso2/carbon-devicemgt-proprietary-plugins#168 and wso2/product-iots#1873

Approach

At the time of retrieving nextPendingOperation, it will first check for NotNow operations (based on the configured frequency value) and if exists, it fetches the NotNow operation, and if not it fetches the pending operation.