Handling of missing parent property in collection response 79/15879/22
authorJay Sharma <jay.sharma@samsung.com>
Thu, 22 Dec 2016 00:05:35 +0000 (00:05 +0000)
committerAshok Babu Channa <ashok.channa@samsung.com>
Fri, 24 Feb 2017 04:56:03 +0000 (04:56 +0000)
commitc2d1c8081b27f90ede5ae9d04d926e5e8154a1c5
treef2fe689ef27bcc4d27d8d1a627535d0c75a6f2f3
parentbbf0726c800a7f2d3758cc68fff97054e6b3e692
Handling of missing parent property in collection response

In case parent is not included in the response. It creates an empty representation.
The first node is not considered parent.

Change-Id: I088a2bdb552cf6b75e67cc2f16fb9150878d717d
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15879
Reviewed-by: Harish Marappa <h.marappa@samsung.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/stack/src/ocstack.c
resource/src/InProcClientWrapper.cpp