Skip to content
New issue

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

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

Already on GitHub? # to your account

Implementation of Expandable design for proprietary data exchange feature #73

Merged

Conversation

AKalinich-Luxoft
Copy link
Contributor

Fixes smartdevicelink/sdl_core#1734

This PR is ready for review.

Risk

This PR makes minor API changes.

Testing Plan

HMI behavior should be tested manually

Summary

Made the following changes:

  • Added new parameter "requestSubType" to OnSystemRequest notification from HMI
  • Added new RequestType option in System Request view - "OEM_SPECIFIC"
  • Added new field for entering and sending "requestSubType" value

CLA

Ypostolov and others added 5 commits April 19, 2018 01:31
change name systemRequest Label

Bugfix error at the ffw/BasicCommunication OnSystemRequest method
with subType parameter which was null and which
was calling.
Change name systemRequest Label from 'System request'
to 'requestSubType'.
…oprietary_data_exchange

Bugfix error at the OnSystemRequest method and
…roprietary_data_exchange

Implementation of Expandable design for proprietary data exchange feature
Copy link

@yang1070 yang1070 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good to me.

Copy link

@yang1070 yang1070 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@theresalech this has been reviewed and approved by Ford.

@theresalech theresalech requested a review from jacobkeeler May 18, 2018 13:44
@@ -1149,6 +1149,14 @@ FFW.BasicCommunication = FFW.RPCObserver
if (appID) {
JSONMessage.params.appID = appID;
}
if(subType && subType.length > 0){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix indentation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

css/sdl.css Outdated
@@ -827,6 +834,11 @@
top: 180px;
}

#systemRequestView .requestSubTypeInput {
top: 217px;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra newline

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (subType && subType.length > 0) {
if (type == 'OEM_SPECIFIC'||
type == 'HTTP'||
type == 'PROPRIETARY') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't need this restriction. The only cases where subType shouldn't be used are existing PTU Requests (HTTP request w/ BINARY fileType or PROPRIETARY request w/ JSON fileType): https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0083-Expandable-design-for-proprietary-data-exchange.md#impact-on-existing-code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jacobkeeler good catch, thanks.
Fixed in 3003881

@jacobkeeler jacobkeeler merged commit 0ed1052 into develop Jun 8, 2018
@Jack-Byrne Jack-Byrne mentioned this pull request Oct 19, 2018
@jacobkeeler jacobkeeler deleted the feature/expandable_design_for_proprietary_data_exchange branch March 18, 2020 13:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants