[IOT-2904][ES] Fix for issues found through CTT. 89/23389/4
authorSenthil Kumar G S <senthil.gs@samsung.com>
Wed, 22 Nov 2017 11:51:03 +0000 (17:21 +0530)
committerSenthil Kumar G S <senthil.gs@samsung.com>
Thu, 23 Nov 2017 06:34:15 +0000 (06:34 +0000)
commitfb2e25fcdb8b06d876b908830d1afe26f63f9e72
tree0526b4f2df53ee3b5a6b5d51ca9619f0e97ab1e0
parent61275e23af4065eb622530c5946355649639d21d
[IOT-2904][ES] Fix for issues found through CTT.

1. If one of the resources in the POST request over batch
has invalid properties, then the response should include an
empty "rep" for those resources.
For all other resources with valid properties in the request,
"rep" should include all the properties.

2. Allowing "cn" property to be set to ES_CONNECT_NONE.

Change-Id: Ib819bed7a126717cc56df0fb32b3d9f3ec570682
Signed-off-by: Senthil Kumar G S <senthil.gs@samsung.com>
service/easy-setup/enrollee/src/resourcehandler.c