Sdl_evolution: [Accepted with Revisions] SDL 0168 - RPC design refactoring

Created on 2 May 2018  路  6Comments  路  Source: smartdevicelink/sdl_evolution

Hello SDL community,

The review of "SDL 0168 - RPC design refactoring" begins now and runs through May 8, 2018. The proposal is available here:

https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0168-rpc-design-refactoring.md

Reviews are an important part of the SDL evolution process. All reviews should be sent to the associated Github issue at:

https://github.com/smartdevicelink/sdl_evolution/issues/486

What goes into a review?

The goal of the review process is to improve the proposal under review through constructive criticism and, eventually, determine the direction of SDL. When writing your review, here are some questions you might want to answer in your review:

  • Is the problem being addressed significant enough to warrant a change to SDL?
  • Does this proposal fit well with the feel and direction of SDL?
  • If you have used competitors with a similar feature, how do you feel that this proposal compares to those?
  • How much effort did you put into your review? A glance, a quick reading, or an in-depth study?
    Please state explicitly whether you believe that the proposal should be accepted into SDL.

More information about the SDL evolution process is available at

https://github.com/smartdevicelink/sdl_evolution/blob/master/process.md

Thank you,
Theresa Lech

Program Manager - Livio
[email protected]

accepted with revisions core

Most helpful comment

@JackLivio as first step I would just extract Remote control group from overall RPC's.
As next step I see some Navigation Group, may be VR/TTS group, this could be investigated.
BTW, HMI interfaces have already some RPC splitting by functionality.
Not all of them are applicable for MOBILE_API (for example Add command required for both of them) but I would think in same direction.

All 6 comments

I would like to mention that this refactoring is rely desired for implementation flowing proposals :

  • 0099-new-remote-control-modules-and-parameters (https://github.com/smartdevicelink/sdl_core/issues/1798)
  • 0105-remote-control-seat (https://github.com/smartdevicelink/sdl_core/issues/1860)
  • 0106-remote-control-onRcStatus-notification (https://github.com/smartdevicelink/sdl_core/issues/1930)

@LuxoftAKutsan Overall I think this is a good proposal for some much needed refactoring. One detail I would like to see is how the RPC commands will be organized into different "plugins".

SDL RPC's can be split into groups of RPC's related to certain functionality (for example RC or video streaming).
These RPC's may work with functionality that is not required by other RPC's, so exposure should be limited to the RPC's group.

Could you please provide what the "groups of RPCs" are that you were thinking of splitting the commands into?

@JackLivio as first step I would just extract Remote control group from overall RPC's.
As next step I see some Navigation Group, may be VR/TTS group, this could be investigated.
BTW, HMI interfaces have already some RPC splitting by functionality.
Not all of them are applicable for MOBILE_API (for example Add command required for both of them) but I would think in same direction.

The Steering Committee voted to accept this proposal with the following revision: extract both Remote control and Vehicle data groups into separate plugins from the other RPCs.

@LuxoftAKutsan please advise when a new PR has been entered to update the proposal to reflect the agreed upon revisions. I'll then merge the PR so the proposal is up to date, and enter an issue in the Core repository for implementation. Thanks!

Proposal has been revised to reflect revisions, and issue has been entered: [SDL 0168] RPC design refactoring.

Was this page helpful?
0 / 5 - 0 ratings