-
Notifications
You must be signed in to change notification settings - Fork 244
Feature/service status update to hmi #2921
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
Conversation
c893ef9 to
81b4515
Compare
81b4515 to
f437759
Compare
f437759 to
39ff0b9
Compare
|
@yang1070 This PR was updated to comply with proposal updates. Please review. |
yang1070
left a comment
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.
Ford has reviewed and approved this change
39ff0b9 to
8f06818
Compare
8f06818 to
1bb6c99
Compare
1bb6c99 to
0412161
Compare
|
This PR was rebased on the latest develop branch and is ready for review |
|
@theresalech, this PR is already reviewed and approved by Ford (by @yang1070 ) and ready for Livio review. |
...s/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/on_service_status_update_notification.h
Outdated
Show resolved
Hide resolved
src/components/application_manager/include/application_manager/message_helper.h
Outdated
Show resolved
Hide resolved
src/components/application_manager/include/application_manager/policies/policy_handler.h
Outdated
Show resolved
Hide resolved
...s/sdl_rpc_plugin/include/sdl_rpc_plugin/commands/hmi/on_service_status_update_notification.h
Outdated
Show resolved
Hide resolved
...manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_service_status_update_notification.cc
Outdated
Show resolved
Hide resolved
src/components/protocol_handler/include/protocol_handler/service_status_update_handler.h
Outdated
Show resolved
Hide resolved
src/components/protocol_handler/test/service_status_update_handler_test.cc
Outdated
Show resolved
Hide resolved
c68887a to
9d61a18
Compare
src/components/application_manager/include/application_manager/message_helper.h
Outdated
Show resolved
Hide resolved
e3bdcf6 to
0f5af0e
Compare
|
Some cases that seem to have been missed (I'll note that I'm using the EXTERNAL_PROPRIETARY flow):
|
@jacobkeeler , secure services with |
|
This is ready for re-review. @theresalech |
|
@mked-luxoft Are you still investigating the second issue?
|
@jacobkeeler if the PTU was triggered by start of protected service with |
After communication with @jacobkeeler it became apparent that mentioned issues are two separate test cases with different preconditions.
|
Yes
Video
ForceProtectedService and ForceUnprotectedService are both
It appears so
Based on the Core logs, it doesn't appear so |
|
In case you described SDL will do the following:
Additional script has been committed recently to cover this case: smartdevicelink/sdl_atf_test_scripts@a9caceb |
|
@jacobkeeler One more question: |
|
@jacobkeeler We were able to reproduce the issue. It looks like it's related to HMI. Going to prepare a fix. |
23c3e5f to
50a3db7
Compare
Added new result codes for ServiceStatusUpdateReasonStructure
50a3db7 to
41f18fa
Compare
|
branch was rebased on latest develop |
@jacobkeeler this issue fixed in web hmi in smartdevicelink/sdl_hmi@80d2477 . |
|
@mked-luxoft fix style |
41f18fa to
8d85b72
Compare
@jacobkeeler fixed in 8d85b72 |
jacobkeeler
left a comment
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.
Approving, waiting on Travis build before merge
Implements #2791
This PR is [ready] for review.
Risk
This PR makes [minor] API changes.
Testing Plan
ATF tests are provided
Unit tests
Summary
ServiceStatusUpdateHandlerandServiceStatusUpdateHandlerListenerentities were introduced to provide adequate level of abstraction when passing data betweenProtocolHandler,SecurityManagerandApplicationManagerAdded handling of negative cases in GetSystemTime, PTU timeout, and certificate decryption
Added check for maximum allowed PTU retries for PROPRIETARY flow
Other parts of delivery:
HMI integration guidelines: Feature/service status update to hmi sdl_hmi_integration_guidelines#154
SDL requirements: Feature/service status update to hmi sdl_requirements#123
ATF Scripts: Feature/service status update to hmi sdl_atf_test_scripts#2192
WebHMI: Feature/service status update to hmi sdl_hmi#184
CLA