Prepare service for database corruption handling 21/36221/5
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 4 Feb 2015 14:05:30 +0000 (15:05 +0100)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Thu, 5 Mar 2015 10:01:10 +0000 (11:01 +0100)
commitd760937d27e7c88fd61796465544810b0bdfb799
tree06b2a862fcfc42502dabc2a5e3f35bc1e977a5e4
parente47f0b094278df45f6d38483718fafeba4d558d0
Prepare service for database corruption handling

When database corruption is detected, no administrative actions are
allowed and all responses to check requests are DENY. Administrative API
has to be informed about detected corruption. This patch modifies
protocol so that this information is passed.

Unit tests are also adjusted to the protocol changes this patch
introduces.

Change-Id: If3ab5d6ca1671167890956b986a4768cc828f3f5
src/common/protocol/ProtocolAdmin.cpp
src/common/response/AdminCheckResponse.h
src/common/response/CodeResponse.h
src/common/response/DescriptionListResponse.h
src/common/response/ListResponse.h
src/service/logic/Logic.cpp
src/service/logic/Logic.h
test/common/protocols/admin/admincheckresponse.cpp
test/common/protocols/admin/descriptionlistresponse.cpp
test/common/protocols/admin/listresponse.cpp