Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
goruklu authored May 15, 2024
2 parents 7b7e09e + 3750cf9 commit 1ee3773
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions PersistentStore/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ All notable changes to this RDK Service will be documented in this file.

* For more details, refer to [versioning](https://github.com/rdkcentral/rdkservices#versioning) section under Main README.

## [1.0.10] - 2024-05-15
### Fixed
- Increase spawn process timeout

## [1.0.9] - 2024-04-01
### Added
- Get token from auth service, supply ids in the cloud calls
Expand Down
6 changes: 3 additions & 3 deletions PersistentStore/PersistentStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#define API_VERSION_NUMBER_MAJOR 1
#define API_VERSION_NUMBER_MINOR 0
#define API_VERSION_NUMBER_PATCH 9
#define API_VERSION_NUMBER_PATCH 10

namespace WPEFramework {

Expand Down Expand Up @@ -93,7 +93,7 @@ namespace Plugin {

uint32_t connectionId;

_deviceStore2 = service->Root<Exchange::IStore2>(connectionId, 2000, _T("SqliteStore2"));
_deviceStore2 = service->Root<Exchange::IStore2>(connectionId, RPC::CommunicationTimeOut, _T("SqliteStore2"));
if (_deviceStore2 != nullptr) {
_deviceStore2->Register(&_store2Sink);
_deviceStore2->Register(_store);
Expand All @@ -102,7 +102,7 @@ namespace Plugin {
_deviceStoreLimit = _deviceStore2->QueryInterface<Exchange::IStoreLimit>();
}

_accountStore2 = service->Root<Exchange::IStore2>(connectionId, 2000, _T("GrpcStore2"));
_accountStore2 = service->Root<Exchange::IStore2>(connectionId, RPC::CommunicationTimeOut, _T("GrpcStore2"));
if (_accountStore2 != nullptr) {
_accountStore2->Register(&_store2Sink);
}
Expand Down
2 changes: 1 addition & 1 deletion PersistentStore/l0test/ServiceMock.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class ServiceMock : public WPEFramework::PluginHost::IShell {
MOCK_METHOD(WPEFramework::PluginHost::ISubSystem*, SubSystems, (), (override));
MOCK_METHOD(uint32_t, Submit, (const uint32_t, const WPEFramework::Core::ProxyType<WPEFramework::Core::JSON::IElement>&), (override));
MOCK_METHOD(void, Notify, (const string&), (override));
MOCK_METHOD(void, Notify, (const string&, const string&), (override));
MOCK_METHOD(void*, QueryInterfaceByCallsign, (const uint32_t, const string&), (override));
MOCK_METHOD(void, Register, (WPEFramework::PluginHost::IPlugin::INotification*), (override));
MOCK_METHOD(void, Unregister, (WPEFramework::PluginHost::IPlugin::INotification*), (override));
Expand All @@ -32,7 +33,6 @@ class ServiceMock : public WPEFramework::PluginHost::IShell {
MOCK_METHOD(string, ProxyStubPath, (), (const, override));
MOCK_METHOD(string, HashKey, (), (const, override));
MOCK_METHOD(string, Substitute, (const string&), (const, override));
MOCK_METHOD(WPEFramework::PluginHost::IShell::ICOMLink*, COMLink, (), (override));
MOCK_METHOD(uint32_t, Activate, (const reason), (override));
MOCK_METHOD(uint32_t, Deactivate, (const reason), (override));
MOCK_METHOD(uint32_t, Unavailable, (const reason), (override));
Expand Down
2 changes: 1 addition & 1 deletion PersistentStore/l1test/ServiceMock.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class ServiceMock : public WPEFramework::PluginHost::IShell {
MOCK_METHOD(WPEFramework::PluginHost::ISubSystem*, SubSystems, (), (override));
MOCK_METHOD(uint32_t, Submit, (const uint32_t, const WPEFramework::Core::ProxyType<WPEFramework::Core::JSON::IElement>&), (override));
MOCK_METHOD(void, Notify, (const string&), (override));
MOCK_METHOD(void, Notify, (const string&, const string&), (override));
MOCK_METHOD(void*, QueryInterfaceByCallsign, (const uint32_t, const string&), (override));
MOCK_METHOD(void, Register, (WPEFramework::PluginHost::IPlugin::INotification*), (override));
MOCK_METHOD(void, Unregister, (WPEFramework::PluginHost::IPlugin::INotification*), (override));
Expand All @@ -32,7 +33,6 @@ class ServiceMock : public WPEFramework::PluginHost::IShell {
MOCK_METHOD(string, ProxyStubPath, (), (const, override));
MOCK_METHOD(string, HashKey, (), (const, override));
MOCK_METHOD(string, Substitute, (const string&), (const, override));
MOCK_METHOD(WPEFramework::PluginHost::IShell::ICOMLink*, COMLink, (), (override));
MOCK_METHOD(uint32_t, Activate, (const reason), (override));
MOCK_METHOD(uint32_t, Deactivate, (const reason), (override));
MOCK_METHOD(uint32_t, Unavailable, (const reason), (override));
Expand Down

0 comments on commit 1ee3773

Please sign in to comment.