Merge branch 'master' into cloud-interface 09/16709/1
authorJee Hyeok Kim <jihyeok13.kim@samsung.com>
Tue, 24 Jan 2017 01:16:10 +0000 (10:16 +0900)
committerJee Hyeok Kim <jihyeok13.kim@samsung.com>
Tue, 24 Jan 2017 01:41:36 +0000 (10:41 +0900)
Change-Id: Id2fa035c6257309fe67772cf74f260d0a0e39a12
Signed-off-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
1  2 
cloud/account/src/main/java/org/iotivity/cloud/accountserver/resources/acl/invite/InviteManager.java
cloud/interface/src/main/java/org/iotivity/cloud/ciserver/CloudInterfaceServer.java
cloud/interface/src/main/java/org/iotivity/cloud/ciserver/resources/proxy/account/Account.java
cloud/stack/src/main/java/org/iotivity/cloud/base/protocols/coap/CoapLogHandler.java
cloud/stack/src/main/java/org/iotivity/cloud/base/protocols/coap/CoapMessage.java

@@@ -26,9 -26,8 +26,9 @@@ import java.util.Scanner
  
  import org.iotivity.cloud.base.connector.ConnectorPool;
  import org.iotivity.cloud.base.server.CoapServer;
 +import org.iotivity.cloud.base.server.HttpServer;
  import org.iotivity.cloud.ciserver.DeviceServerSystem.CoapDevicePool;
- import org.iotivity.cloud.ciserver.resources.DiResource;
+ import org.iotivity.cloud.ciserver.resources.RouteResource;
  import org.iotivity.cloud.ciserver.resources.KeepAliveResource;
  import org.iotivity.cloud.ciserver.resources.proxy.account.Account;
  import org.iotivity.cloud.ciserver.resources.proxy.account.AccountSession;
@@@ -102,16 -74,10 +102,11 @@@ public class Account extends Resource 
                      mRDServer.sendRequest(
                              MessageBuilder.createRequest(RequestMethod.DELETE,
                                      uriPath.toString(), mRequest.getUriQuery()),
 -                            mSrcDevice);
 +                            new RDReceiveHandler(mRequest, response,
 +                                    mSrcDevice));
                      break;
-                 case CHANGED:
-                 case CONTENT:
-                     mSrcDevice.sendResponse(response);
-                     break;
                  default:
-                     mSrcDevice.sendResponse(MessageBuilder.createResponse(
-                             mRequest, ResponseStatus.BAD_REQUEST));
+                     mSrcDevice.sendResponse(response);
              }
          }
      }