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

Deprecate SyncPData and SyncPDataResponse #1599

Closed
joeljfischer opened this issue Mar 24, 2020 · 7 comments
Closed

Deprecate SyncPData and SyncPDataResponse #1599

joeljfischer opened this issue Mar 24, 2020 · 7 comments
Assignees
Labels
best practice Not a defect but something that should be improved anyway rpc Relating to the RPC layer
Projects

Comments

@joeljfischer
Copy link
Contributor

Bug Report

These RPCs have been deprecated and removed from the RPC spec. We should deprecate and eventually remove them from the library as well.

@joeljfischer joeljfischer added best practice Not a defect but something that should be improved anyway rpc Relating to the RPC layer labels Mar 24, 2020
@mrapitis
Copy link
Contributor

@joeljfischer just a quick note, while its likely ok to deprecate the API's behind SyncP data we won't be able to actually remove the RPC's since existing Sync Generation 1.1 implementations actually use this RPC to perform a policy table update.

@joeljfischer
Copy link
Contributor Author

@mrapitis Are you talking about EncodedSyncPData or SyncPData? SyncPData is already removed from the API, so I believe we should remove them. Additionally, EncodedSyncPData and SyncPData appear to already be removed from the Java Suite library.

@mrapitis
Copy link
Contributor

@joeljfischer EncodedSyncPData is still used by Sync 1.1 which is still in use and supported in the field. It looks like EncodedSyncPData is still present in the master and develop branches of the JavaSuite.

https://github.com/smartdevicelink/sdl_java_suite/blob/93778656113f0023ec7025281b77e28000a1f5bd/base/src/main/java/com/smartdevicelink/protocol/enums/FunctionID.java#L43

https://github.com/smartdevicelink/sdl_java_suite/blob/develop/base/src/main/java/com/smartdevicelink/protocol/enums/FunctionID.java#L43

@joeljfischer
Copy link
Contributor Author

Those are just the function IDs. I haven't been able to find any reference to the actual RPC. Let me know if you do.

@mrapitis
Copy link
Contributor

mrapitis commented Mar 27, 2020

https://github.com/smartdevicelink/sdl_java_suite/blob/master/base/src/main/java/com/smartdevicelink/proxy/rpc/SystemRequest.java#L100
Even though the API is labeled as a SystemRequest, its actually using the EncodedSyncPData function ID and data structure.

@joeljfischer
Copy link
Contributor Author

Aha, that's probably why I missed it. Thanks. Just to make sure we're clear, we are okay to remove SyncPData in the next release, but not EncodedSyncPData. That was the eventual plan anyway, since SyncPData is removed from the RPC spec but EncodedSyncPData is only deprecated but still available.

@mrapitis
Copy link
Contributor

Aha, that's probably why I missed it. Thanks. Just to make sure we're clear, we are okay to remove SyncPData in the next release, but not EncodedSyncPData. That was the eventual plan anyway, since SyncPData is removed from the RPC spec but EncodedSyncPData is only deprecated but still available.

Yes, exactly. We are on the same page.

@joeljfischer joeljfischer added this to Done in v6.6.0 via automation Mar 27, 2020
@joeljfischer joeljfischer mentioned this issue Apr 29, 2020
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
best practice Not a defect but something that should be improved anyway rpc Relating to the RPC layer
Projects
No open projects
v6.6.0
  
Done
Development

No branches or pull requests

2 participants