RE ServerBuilder always included "oic.if.baseline" interface.
authorjaesick.shin <jaesick.shin@samsung.com>
Tue, 8 Mar 2016 03:09:48 +0000 (12:09 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 11 Mar 2016 06:22:50 +0000 (06:22 +0000)
commit781512a0d2fa7f5592ef916d1c6eb561a02ae4bd
tree1a3b9ba864f60ee37f7d0ef729463f621da8b66c
parent14aef5e5ae9dea09aaf31a5d9a5e9ffcc9a45b38
RE ServerBuilder always included "oic.if.baseline" interface.

If User don't setting "oic.if.baseline" interface.
but, RE ServerBuilder always support "oic.if.baseline" interface.

setDefaultInterface API(Modified comment of header) and Modified Initialize of Builder Constructor
If it is not called, the interface passed to the constructor is the default.

Added, Duplicate check the resource property of interface and resourcetype.

Change-Id: Ie25f1135cc7c99fbf5fe1b04f3121b9e2707be21
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5529
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 6768956d2bdbf81f1180caf137e246d877ef1992)
Reviewed-on: https://gerrit.iotivity.org/gerrit/5647
service/resource-encapsulation/include/RCSResourceObject.h
service/resource-encapsulation/src/serverBuilder/src/RCSResourceObject.cpp