-
Notifications
You must be signed in to change notification settings - Fork 76
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
RDK-45037 : Secure Storage Thunder Plugin #317
Conversation
Reason for change: Enhancements to PersistentStore plugin to support Scope, Time To Live. Use of the RPC COM and JSON RPC interfaces. Test Procedure: None Risks: None Signed-off-by: Nikita Poltorapavlo <npoltorapavlo@productengine.com>
4b940f8
to
e1071af
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MFransen69 - Pls review. We are extending IStore interface used by PersistentStore plugin. Details on requirements are provided under RDK-45037.
I am making assumptions as I do not have any use-cases but there are definitely some conflicting methods in the interface. |
@@ -0,0 +1,480 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although the json files are of course still supported was it perhaps considered to add the json interface to the C++ header file using the meta tags? (e.g. see https://rdkcentral.github.io/Thunder/plugin/interfaces/interfaces/ "Enable JSON-RPC Generation" and here for tags that enable you to influence the generated json rpc interface to make it backward compatible if necessary: https://rdkcentral.github.io/Thunder/plugin/interfaces/tags/)
Again the json file is fine but perhaps it is goof to be aware it is also possible to define the com rpc and json rpc interface in one file (and therefore guarantee they are consistent and kept in sync). If there were features missing that made it impossible to use the above please let us know, we are always happy to learn about it and see if we can extend the support for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@npoltorapavlo - Pls check and respond here. If it's lot of work we can merge these changes now and make subsequent changes to move to using the meta tags.
@pwielders I'm not sure I understand the contradiction, can you explain please? |
@pwielders - Requirements for the Thunder Plugin are detailed at https://etwiki.sys.comcast.net/pages/viewpage.action?spaceKey=RDKV&title=Secure+Store+Enhancements+to+PersistentStore+Plugin |
…limit apis into a separate interface
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes to keep the enum common and move ScopeType as the first parameter are addressed. We will keep PersistentStore.json for now and add tags to IStore2.h later to generate json from the header.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We discussed the semantics of the interface and a few alternatives but seen the promised delivery date and already internally agreed interface it was decided to go ahead and use an IStore2 next to the IStore.
1724931
Reason for change: Enhancements to PersistentStore plugin to support Scope, Time To Live.
Use of the RPC COM and JSON RPC interfaces.
Test Procedure: None
Risks: None
Signed-off-by: Nikita Poltorapavlo npoltorapavlo@productengine.com