Updated cloud provisioning retry logic.
authorHeewon Park <h_w.park@samsung.com>
Fri, 2 Sep 2016 05:39:43 +0000 (14:39 +0900)
committerUze Choi <uzchoi@samsung.com>
Tue, 6 Sep 2016 10:36:51 +0000 (10:36 +0000)
 - For mediator can retry cloud-provisioning process, when missed response packet of post.

Change-Id: Id38ab1b2fe37580f590880ff8b96d28eea948a19
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11245
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp

index 06ba6d7..aa266fd 100755 (executable)
@@ -345,11 +345,6 @@ namespace OIC
         {
             ESResult result = ES_ERROR;
 
-            if (m_cloudResource != nullptr)
-            {
-                throw ESBadRequestException ("Already created");
-            }
-
             result = discoverResource();
 
             if (result == ES_ERROR)