Easy Setup CoAPCloudConf Resource Update 89/24389/9
authorAbhishek Pandey <abhi.siso@samsung.com>
Wed, 14 Mar 2018 13:14:22 +0000 (18:44 +0530)
committerAbhishek Pandey <abhi.siso@samsung.com>
Thu, 15 Mar 2018 15:23:21 +0000 (15:23 +0000)
commit2c9df2de69bb9849e5265a8b55ec29291ece877b
treed00fc47bfac0144ecb81c84d232e7b9e78077205
parent82803f3bade1179b38abc646b27d3509ce22469e
Easy Setup CoAPCloudConf Resource Update

IOT-2963: https://jira.iotivity.org/browse/IOT-2963

In the upcoming version of OCF Spec, there are some changes in
definition of CoAPCloudConf Resource (oic.r.coapcloudconf). This patch
is for aligning the same with IoTivity implementation.

Following changes are done in this patch:

1) [Enrollee] Removed setting of Access Token Type (att) in GET
Response Payload.
2) [Enrollee] Removed reading of Access Token Type (att) from POST
Request Payload and passing a default value of "Bearer" to application.
3) [Enrollee] Removed Auth code Property from Enrollee. (this shouldn't
cause any harm).
4) [Mediator] Deprecated Getter and Setter APIs for Auth Code and
Access Token Type from Mediator

Change-Id: I6997b9e1b13cb9cd8bf95777e9984e4a749c87dd
Signed-off-by: Abhishek Pandey <abhi.siso@samsung.com>
16 files changed:
service/easy-setup/enrollee/inc/ESEnrolleeCommon.h
service/easy-setup/enrollee/src/resourcehandler.c
service/easy-setup/enrollee/src/resourcehandler.h
service/easy-setup/enrollee/unittests/ESEnrolleeTest.cpp
service/easy-setup/enrollee/unittests/ESMediatorSimulator.h
service/easy-setup/inc/escommon.h
service/easy-setup/mediator/richsdk/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/CloudProp.java
service/easy-setup/mediator/richsdk/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/ESConstants.java
service/easy-setup/mediator/richsdk/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/enums/OAUTH_TOKENTYPE.java
service/easy-setup/mediator/richsdk/inc/ESRichCommon.h
service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp
service/easy-setup/mediator/richsdk/unittests/ESMediatorTest.cpp
service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.c
service/easy-setup/sampleapp/enrollee/tizen-sdb/EnrolleeSample/enrolleewifi.cpp
service/easy-setup/sampleapp/mediator/linux/richsdk_sample/mediator.cpp
service/easy-setup/sampleapp/mediator/linux/richsdk_sample/submediator.cpp