Fix for the issue of factory reset feature of things-manager not working.
authorHarish Kumara Marappa <h.marappa@samsung.com>
Mon, 27 Apr 2015 14:45:31 +0000 (20:15 +0530)
committerUze Choi <uzchoi@samsung.com>
Tue, 28 Apr 2015 01:14:34 +0000 (01:14 +0000)
commited7fb372062ea0ead47ba598bae6a77f3529f223
treeddd981bbf6dabdb4cc31f12b00ce9cb240f66440
parent6a173b1025270d5a88c0fdf4193a27826a40e148
Fix for the issue of factory reset feature of things-manager not working.

Things-manager service sends factory reset request to collection using
ActionSet structure. When user calls factory reset second time it was not
working as the ActionSet executed for first request had not been deleted.
Modified the thingsDiagnostic class for deleting the factoryReset
actionset everytime after its execution.

Change-Id: I312a0126a48ebd6dda6e5e887daed6f2a797de67
Signed-off-by: Harish Kumara Marappa <h.marappa@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/841
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/things-manager/sdk/src/ThingsDiagnostics.cpp
service/things-manager/sdk/src/ThingsDiagnostics.h