Fix error response and error code
authorJee Hyeok Kim <jihyeok13.kim@samsung.com>
Mon, 8 Aug 2016 07:07:32 +0000 (16:07 +0900)
committerJee Hyeok Kim <jihyeok13.kim@samsung.com>
Tue, 9 Aug 2016 01:37:36 +0000 (01:37 +0000)
commit2f027cdce0ffe82efe760f6e5661c8ef8b38e1f0
treedf40ca87174851ad2fb1c70295a2dd05c2fb3f2b
parent6413065eeb52dbd0f3d7b365888e1f6325c41336
Fix error response and error code

1. Fix packet forawrding to client correctly
   when resource find receives error from account server,

2. Change response code to use CHANGED when POST method succeed.

Change-Id: Ibf7b1ba6996c2bcef086f3c4361f38036f4a8c71
Signed-off-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10119
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jung seungho <shonest.jung@samsung.com>
cloud/account/src/main/java/org/iotivity/cloud/accountserver/Constants.java
cloud/account/src/main/java/org/iotivity/cloud/accountserver/resources/account/AccountResource.java
cloud/account/src/main/java/org/iotivity/cloud/accountserver/resources/account/session/SessionResource.java
cloud/interface/src/main/java/org/iotivity/cloud/ciserver/DeviceServerSystem.java
cloud/interface/src/main/java/org/iotivity/cloud/ciserver/resources/proxy/ResourceFind.java
cloud/stack/src/main/java/org/iotivity/cloud/base/ServerSystem.java