Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Es1 1055 delia 65233 main #5289

Merged
merged 4 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading