smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
242 stars 244 forks source link

[Policy]: SDL does not set "timeout" for OnSystemRequest with url #1021

Closed OVikhrov closed 7 years ago

OVikhrov commented 8 years ago

Occurrence

Always.

Preconditions

  1. SDL built with DEXTENDED_POLICY: OFF
  2. Core, HMI started.
  3. SPT is configured to send attached PTU - PTFromCloud_smoke%20test__2.json.

Steps to reproduce

  1. Register App with appID "584421907".

Actual result

After Registration app SDL triger PTU and send to mobile OnSystemRequest { "fileType" : "BINARY", "requestType" : "HTTP", "url" : "http://policies.telematics.*.com/api/policies" } without timeout parameter.

Expected result

timeout parameter is required if a URL is provided.

Environment

Release: 4.2.0 (master marge) Repository: https://github.com/smartdevicelink/sdl_core Commit: a6c32b45832653d6b851be9b19355fa35f377e07 OS: Ubuntu 14.04 Transport: WiFi App type: navi App: Luxoft SPT Device: HTC One

Attachments

att_issue#1021.zip

Expected delivery

Jack-Byrne commented 7 years ago

@mghiumiusliu If this issue is scoped to be fixed as part of an upcoming release could you please add the appropriate milestone?