If we store supported features with device data as discussed, we can avoid
having device details based filtering criteria in feature schema.

- Chathura

On Wed, Nov 2, 2016 at 10:40 PM, Ayyoob Hamza <[email protected]> wrote:

> That was the my concern as well. However we can consider the device-model
>> instead of the device instance because ultimately all the supported
>> features of a device will be dictated by the device model & vendor. By that
>> way we can avoid lots of duplicate data. We can get this information from
>> the device instance while it's enrolling as you have suggested. Then we can
>> insert it to the tables only if that device model does not exists in the
>> database.
>>
> +1. provides a better normalisation but the interface would be
> same(addSupportedFeatures/getSupportedFeatures).
>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to