Adapt to new API changes of storage-framework
Bug #1638439 reported by
Gary.Wang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mcloud |
In Progress
|
Medium
|
Gary.Wang |
Bug Description
unity-api team is rolling out new storage-fw client API(v2), we need to make some code changes on unit tests.
Meanwhile, some APIs are changed on storage-fw server side(provider) to support to query user-defined metadata.
Related branches
lp://staging/~gary-wzl77/mcloud/storage-framework-v2
Ready for review
for merging
into
lp://staging/mcloud/devel
- unity-api-1-bot: Approve (continuous-integration)
- mcloud-team: Pending requested
-
Diff: 8532 lines (+2397/-2967)87 files modifieddata/mcloud.pc.in (+1/-1)
debian/changelog (+12/-2)
debian/control (+8/-6)
debian/control.in (+10/-7)
debian/libmcloud1.install (+3/-0)
debian/libmcloud2.install (+4/-1)
debian/rules (+2/-0)
doc/Doxyfile.in (+1/-1)
include/mcloud/api/client.h (+56/-51)
include/mcloud/api/cloudcontent.h (+55/-53)
include/mcloud/api/cloudfolder.h (+31/-31)
include/mcloud/api/cloudresource.h (+13/-13)
include/mcloud/api/diskinfo.h (+2/-2)
include/mcloud/api/downloadtask.h (+30/-17)
include/mcloud/api/exceptions.h (+49/-49)
include/mcloud/api/outlink.h (+4/-4)
include/mcloud/api/syncmanager.h (+32/-39)
include/mcloud/api/task.h (+10/-10)
include/mcloud/api/taskqueue.h (+8/-8)
include/mcloud/api/uploadtask.h (+19/-15)
provider/CMakeLists.txt (+24/-5)
provider/com.canonical.StorageFramework.Provider.Mcloud.service.in (+3/-0)
provider/com.canonical.StorageFramework.Provider.McloudProvider.service (+0/-3)
provider/main.cpp (+7/-2)
provider/mcloudprovider.cpp (+143/-83)
provider/mcloudprovider.h (+34/-35)
provider/storage-provider-mcloud.application (+11/-0)
provider/storage-provider-mcloud.desktop (+5/-0)
provider/storage-provider-mcloud.service (+7/-0)
src/mcloud/api/client.cpp (+26/-26)
src/mcloud/api/client_priv.cpp (+182/-215)
src/mcloud/api/client_priv.h (+63/-65)
src/mcloud/api/cloudcontent.cpp (+15/-15)
src/mcloud/api/cloudfolder.cpp (+11/-11)
src/mcloud/api/diskinfo.cpp (+3/-3)
src/mcloud/api/downloadtask.cpp (+11/-11)
src/mcloud/api/downloadtask_priv.cpp (+17/-18)
src/mcloud/api/downloadtask_priv.h (+20/-20)
src/mcloud/api/outlink.cpp (+4/-4)
src/mcloud/api/syncmanager.cpp (+7/-13)
src/mcloud/api/syncmanager_priv.cpp (+13/-23)
src/mcloud/api/syncmanager_priv.h (+7/-9)
src/mcloud/api/syncthread.cpp (+18/-19)
src/mcloud/api/taskhandler.h (+15/-15)
src/mcloud/api/uploadtask.cpp (+11/-11)
src/mcloud/api/uploadtask_priv.cpp (+60/-57)
src/mcloud/api/uploadtask_priv.h (+27/-27)
tests/server/resources/1011YfnDD09x03920151110171910rox.xml (+1/-0)
tests/server/resources/1811asktx23a00019700101000000001.backup.xml (+1/-0)
tests/server/resources/1811asktx23a00019700101000000001.single.xml (+1/-0)
tests/server/resources/1811asktx23a00019700101000000001_index_101.xml (+93/-1)
tests/server/resources/1811asktx23a057201605161542175lg.xml (+1/-0)
tests/server/resources/1811asktx23a058201609111803007pu.xml (+1/-0)
tests/server/resources/content_1811asktx23a05520160718170034xh1.xml (+1/-1)
tests/server/resources/copy_1811asktx23a057201605161542175gg.xml (+1/-0)
tests/server/resources/download-file-request-template.xml (+1/-1)
tests/server/resources/no_such_content_id.xml (+1/-0)
tests/server/resources/no_such_folder_id.xml (+1/-1)
tests/server/server.py (+102/-56)
tests/unit/mcloud-provider/CMakeLists.txt (+5/-18)
tests/unit/mcloud-provider/data/provider.xml (+0/-263)
tests/unit/mcloud-provider/mcloud-provider-unit-test.cpp (+899/-0)
tests/unit/mcloud-provider/mcloud-provider-unit-tests.cpp (+0/-641)
tests/unit/mcloud-provider/storage-framework-internal/CMakeLists.txt (+0/-10)
tests/unit/mcloud-provider/storage-framework-internal/include/unity/storage/common.h (+0/-41)
tests/unit/mcloud-provider/storage-framework-internal/include/unity/storage/internal/ItemMetadata.h (+0/-51)
tests/unit/mcloud-provider/storage-framework-internal/include/unity/storage/internal/TraceMessageHandler.h (+0/-47)
tests/unit/mcloud-provider/storage-framework-internal/include/unity/storage/internal/dbus_error.h (+0/-32)
tests/unit/mcloud-provider/storage-framework-internal/include/unity/storage/internal/dbusmarshal.h (+0/-45)
tests/unit/mcloud-provider/storage-framework-internal/include/unity/storage/internal/safe_strerror.h (+0/-34)
tests/unit/mcloud-provider/storage-framework-internal/include/unity/storage/visibility.h (+0/-22)
tests/unit/mcloud-provider/storage-framework-internal/src/CMakeLists.txt (+0/-1)
tests/unit/mcloud-provider/storage-framework-internal/src/internal/CMakeLists.txt (+0/-10)
tests/unit/mcloud-provider/storage-framework-internal/src/internal/TraceMessageHandler.cpp (+0/-96)
tests/unit/mcloud-provider/storage-framework-internal/src/internal/dbusmarshal.cpp (+0/-113)
tests/unit/mcloud-provider/storage-framework-internal/src/internal/safe_strerror.cpp (+0/-72)
tests/unit/mcloud-provider/utils/CMakeLists.txt (+6/-24)
tests/unit/mcloud-provider/utils/DBusEnvironment.cpp (+0/-11)
tests/unit/mcloud-provider/utils/DBusEnvironment.h (+0/-1)
tests/unit/mcloud-provider/utils/ProviderEnvironment.cpp (+55/-0)
tests/unit/mcloud-provider/utils/ProviderEnvironment.h (+30/-0)
tests/unit/mcloud-provider/utils/ProviderFixture.cpp (+0/-81)
tests/unit/mcloud-provider/utils/ProviderFixture.h (+0/-50)
tests/unit/mcloud-provider/utils/com.ubuntu.OnlineAccounts.Manager.xml (+0/-153)
tests/unit/mcloud-provider/utils/fake-online-accounts-daemon.py (+6/-3)
tests/unit/mcloud/api/mcloud-rest-test.cpp (+45/-29)
tests/unit/mcloud/api/mcloud-sync-test.cpp (+52/-59)
To post a comment you must log in.