modified OCAccountManager APIs
authorJaewook Jung <jw0213.jung@samsung.com>
Wed, 19 Oct 2016 04:49:45 +0000 (13:49 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Fri, 9 Dec 2016 07:22:01 +0000 (07:22 +0000)
commit5701603b0aceecdba85351677d4a51e751691c90
tree82644e7af3c93e1fbb66841cd055c6142c6df178
parentce7ff3bedef97dd1afb89506d3a6ad2d7d57457b
modified OCAccountManager APIs

modified some APIs on OCAccountManager since the OCF cloud specification
has been changed.
(C++/Android API, sampleApp and unittest are modified)

- added a string parameter for accessToken on signOut() and deleteDevice().
- removed AclGroupType for createGroup() and added new overloaded one
  that has a map parameter for optional property values.
- changed getGroupList() to getGroupInfoAll() because it does not get a
  list anymore but information of all my group from account server.
- removed joinGroup(), deleteInvitation() and added replyToInvitation().
- removed addDeviceToGroup(), deleteDeviceFromGroup(), leaveGroup() and
  added addPropertyValueToGroup(), deletePropertyValueFromGroup(),
  updatePropertyValueOnGroup().

Change-Id: Ibf462a6667990c1786d8b4111263d96e5c618166
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14335
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15211
15 files changed:
android/android_api/base/jni/JniOcAccountManager.cpp
android/android_api/base/jni/JniOcAccountManager.h
android/android_api/base/jni/JniUtils.h
android/android_api/base/src/main/java/org/iotivity/base/AclGroupType.java [deleted file]
android/android_api/base/src/main/java/org/iotivity/base/OcAccountManager.java
android/examples/simplebase/src/main/java/org/iotivity/base/examples/CloudFragment.java
android/examples/simplebase/src/main/res/layout/fragment_cloud.xml
android/examples/simplebase/src/main/res/layout/input.xml
cloud/samples/client/group_invite/group_invite.cpp
cloud/samples/client/group_invite/group_light_share.cpp
resource/csdk/stack/include/octypes.h
resource/include/OCAccountManager.h
resource/include/OCApi.h
resource/src/OCAccountManager.cpp
resource/unittests/OCAccountManagerTest.cpp