Comments (9)
I have a few questions / concerns before posting a review on this proposal as a whole:
- The
SendLocation
request has a parameter stating:<param name="deliveryMode" type="DeliveryMode" defvalue="PROMPT" mandatory="false">
. This says it is not mandatory, but has a default value. Should the mobile library always send the default value if the developer does not specify, or should it exclude this parameter to have the default value used on Core's side? - The
SendLocation
request has a parameter stating:
<param name="timeStamp" type="DateTime" mandatory="false">
<description>
timestamp in ISO 8601 format
</description>
</param>
But a "DateTime" is not the same thing as an ISO 8601 Timestamp, which looks like: 2016-08-17T20:08:34.263Z
.
- I would prefer to see exactly what's new, for example, the
DateTime
struct is new, and we should be careful to make this fully reusable in the future. - Some descriptions contain text such as:
<description>Hypernym for e.g. district</description>
, but "e.g." literally means "for example", so this means "for for example", which is nonesense. - What was the reasoning for each of the maxLengths on the parameters of the
OASISAddress
struct? It seems to me that for maximum flexibility, they should just be arbitrarily large rather than arbitrarily small.
EDIT: Thanks markdown for the crappy numbered list...
from sdl_evolution.
A
- Core will apply the default value.
- The intent is to pass the date-time information, but I can see how labeling it as ISO 8601 format could be a little misleading. This can be edited. The idea would still be to capture the necessary elements of time.
B - Do you think anything additional is required for it to be reusable in the future ?
- Do you mean, it should "Hypernym for district" instead? If so, will edit it.
- The range should be sufficiently large enough to accommodate the data. The idea is that the complete address is split into the corresponding parameters. If you still think is too restrictive, the range can be expanded. Do you have any recommendations?
from sdl_evolution.
- Wouldn't it be better for us to simply pass an ISO8601 timestamp string instead of building a whole DateTime struct?
- Yeah "hypernym for district" is more correct.
- I just don't see why we're limiting the length in that way, it would seem to me better to simply allow 500 characters or so on any field.
from sdl_evolution.
- I think having it as struct makes it easier to handle on the core side. More over it is also similar to the existing way of using the media clock's StartTime.
- Ok
- I guess either ways it does not impact much. We can make it as 500 as well - although maybe for countrycode and postalcode we keep the current values
from sdl_evolution.
- That's fine, it's just a lot more data over the wire. A few more suggestions for it, then, would be to change "wrt" to say "with regard to", and to add a millisecond field. Second, would it make sense to have all parameters optional, so that the DateTime struct can be used to specify a date or a time or both?
- I'm not sure why. It doesn't hurt to raise it, and it just prevents us discovering a possible edge case where we end up needing to alter the RPC spec to raise the limit.
from sdl_evolution.
Review
Is the problem being addressed significant enough to warrant a change to SDL?
Yes, this problem makes sense to fix in SDL. Built in navigation systems should have the ability to go directly to an address and not just a point.
Does this proposal fit well with the feel and direction of SDL?
Yes.
If you have used competitors with a similar feature, how do you feel that this proposal compares to those?
N/A
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.
I did a fairly deep study on the components of this review. I believe this proposal should be accepted into SDL, but only with modifications that I have discussed above.
from sdl_evolution.
- I agree that all the parameters of the DateTime struct should not be mandatory, so that the reusability of the struct increases.
- I would agree that adding a millisecond field would be ideal so that we future-proof the struct.
- Increasing the size of all the values in OASIS would allow us be sure we don't run into any edge cases (hopefully).
Other than these comments, LGTM 👍
from sdl_evolution.
This proposal is accepted contingent on changes being made in an additional pull request:
- DateTime struct parameters are all optional.
- DateTime struct should include a millisecond field.
- OASIS parameter size values should be uniformly increased.
- "wrt" should be changed to "with regard to"
- Update comments referring to ISO8601 timestamp to refer to DateTime struct
- Update comments to say "hypernym for ____"
from sdl_evolution.
Issues entered:
Android
Core
iOS
from sdl_evolution.
Related Issues (20)
- [Withdrawn] SDL 0330 - App Service Subscription Resumption HOT 8
- [Accepted] Revise SDL-0296 Possibility to update video streaming capabilities during ignition cycle HOT 9
- [Withdrawn] Revise SDL 0280 - Adding new parameter of requiresAudioSupport and BluetoothDeviceAddress HOT 14
- [Withdrawn] SDL 0331 - Add new SDL System Structure using Mediation Application for middle/low-end class model of Powered Two Wheeler and low-cost vehicle models HOT 22
- [Accepted with Revisions] SDL 0332 - Additional Video Streaming Capabilities Validation HOT 8
- [Accepted] SDL 0333 - Handle Scenario Where no Valid Cert is Available HOT 18
- [Accepted with Revisions] SDL 0334 - Transform SetDisplayLayout requests into UI.Show for HMIs HOT 5
- [Accepted with Revisions] SDL 0335 - Limit TextField Length According to HMI Capabilities HOT 16
- [Accepted] SDL 0336 - Strict Versioning for Outgoing Core Messages HOT 16
- [Accepted] SDL 0337 - Reject PROPRIETARY/HTTP SystemRequests when PTU is not in progress HOT 3
- [Accepted] SDL 0338 - Remove Unused Files From SDL Core HOT 1
- [Accepted] SDL 0338 Revisions - Remove Unused Files From SDL Core HOT 1
- [Accepted] SDL 0339 - Replace `thread::Thread` implementation with `std::thread` from C++11 HOT 8
- [Accepted] SDL 0340 - ATF Selenium Support HOT 10
- [Accepted] SDL 0341 - Add Generic HMI Plugin Support HOT 26
- [Accepted] SDL 0342 - Remove Policy Mode Option From SDL Core HOT 6
- [Withdrawn] SDL 0343 - Add Notifications for Required App Support HOT 31
- [Accepted] SDL 0338 Revisions - Remove Unused Files From SDL Core HOT 1
- [Accepted] SDL 0344 - Use Promises in Server Logic of SDL Policy Server HOT 2
- [Accepted] SDL 0345 - Android 12 Issues HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl_evolution.