diff --git a/PersistentStore/CHANGELOG.md b/PersistentStore/CHANGELOG.md index 593a204ccc..89b9831da2 100644 --- a/PersistentStore/CHANGELOG.md +++ b/PersistentStore/CHANGELOG.md @@ -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 diff --git a/PersistentStore/PersistentStore.cpp b/PersistentStore/PersistentStore.cpp index caf8a730ed..f5b984b40b 100644 --- a/PersistentStore/PersistentStore.cpp +++ b/PersistentStore/PersistentStore.cpp @@ -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 { @@ -93,7 +93,7 @@ namespace Plugin { uint32_t connectionId; - _deviceStore2 = service->Root(connectionId, 2000, _T("SqliteStore2")); + _deviceStore2 = service->Root(connectionId, RPC::CommunicationTimeOut, _T("SqliteStore2")); if (_deviceStore2 != nullptr) { _deviceStore2->Register(&_store2Sink); _deviceStore2->Register(_store); @@ -102,7 +102,7 @@ namespace Plugin { _deviceStoreLimit = _deviceStore2->QueryInterface(); } - _accountStore2 = service->Root(connectionId, 2000, _T("GrpcStore2")); + _accountStore2 = service->Root(connectionId, RPC::CommunicationTimeOut, _T("GrpcStore2")); if (_accountStore2 != nullptr) { _accountStore2->Register(&_store2Sink); } diff --git a/PersistentStore/l0test/ServiceMock.h b/PersistentStore/l0test/ServiceMock.h index f18d2c9c29..2783b3e449 100644 --- a/PersistentStore/l0test/ServiceMock.h +++ b/PersistentStore/l0test/ServiceMock.h @@ -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&), (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)); @@ -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)); diff --git a/PersistentStore/l1test/ServiceMock.h b/PersistentStore/l1test/ServiceMock.h index f18d2c9c29..2783b3e449 100644 --- a/PersistentStore/l1test/ServiceMock.h +++ b/PersistentStore/l1test/ServiceMock.h @@ -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&), (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)); @@ -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));