Re: [Architecture] [CDM-F] Making "Device Management Feature" a top level extensible construct in CDM-F

2016-04-30 Thread Dilan Udara Ariyaratne
Hi Prabath, I understand that the same problem could arise when a certain feature of a device type gets updated to an extent where the same feature level implementation of the plugin would work on certain old OS versions, but not work on any newer OS versions of the same platform. But what I coul

Re: [Architecture] [CDM-F] "Descriptor"-driven plug-ins for CDM-F

2016-04-30 Thread Dilan Udara Ariyaratne
Hi Prabath, To me, it seems that your proposal is almost aligned with what we can do with an OMA DM supported device type. In OMA DM, every property or action related to a device type is a resource which we can manipulate and how we can do tha

Re: [Architecture] Data Mapper - xsi:type representation in JSON schema

2016-04-30 Thread Nuwan Pallewela
On Sat, Apr 30, 2016 at 9:48 PM, Sohani Weerasinghe wrote: > Hi Viraj, > > Thanks for the input. Please find the comments inline > > Sohani Weerasinghe > Software Engineer > WSO2, Inc: http://wso2.com > > Mobile : +94 716439774 > Blog :http://christinetechtips.blogspot.com/ > Twitter : http

Re: [Architecture] C5 User Core - Realm Service API

2016-04-30 Thread Jayanga Kaushalya
Hi Darshana, Yes, those links are correct. We have changed the package name from org.wso2.carbon.security to org.wso2.carbon.security.caas since that is the name we are going to use in future. Thanks! *Jayanga Kaushalya* Software Engineer Mobile: +94777860160 WSO2 Inc. | http://wso2.com lean.ent

Re: [Architecture] Data Mapper - xsi:type representation in JSON schema

2016-04-30 Thread Sohani Weerasinghe
Hi Viraj, Thanks for the input. Please find the comments inline Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Sat, Apr 30, 2016 at 1:51 PM, Viraj Rajaguru

[Architecture] [CDM-F] "Descriptor"-driven plug-ins for CDM-F

2016-04-30 Thread Prabath Abeysekera
Hi Everyone, *Current plug-in architecture of CDM-F* If we look at the current plug-in model of CDM-F (1.x), it consists of three primary components. 1. A Class that extends "DeviceManager" interface providing information on what features/configurations to be managed, what datasources are used f

Re: [Architecture] C5 User Core - Realm Service API

2016-04-30 Thread Darshana Gunawardana
I assume these should be the correct links. @Jayanga please correct me if I'm wrong. [1] https://github.com/wso2/carbon-security/blob/master/components/org.wso2.carbon.security.caas/src/main/java/org/wso2/carbon/security/caas/user/core/service/RealmService.java [2] https://github.com/wso2/carbon-s

Re: [Architecture] Swagger, API design and related best practices, and docs

2016-04-30 Thread Prabath Abeysekera
Thanks guys for the feedback. So, I thought, the hosting aspect too would not probably be a major concern. Cz, there's always a possibility to craft a solution with the "store" components in the platform, which allows us to host API docs, etc even within the pack. One might think, that sort of an

Re: [Architecture] Data Mapper - xsi:type representation in JSON schema

2016-04-30 Thread Viraj Rajaguru
Hi Sohani, Few suggestions, 1. Lets change value of "type" from "array" to "object" in "urn:sObjects, xsi:type=urn1:Contact" and "urn:sObjects, xsi:type=urn1:Account" as we are not considering this as an array of "urn:sObjects" but two different elements. Eg: "urn:sObjects, xsi:type=urn1:Contac