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

2016-04-29 Thread Geeth Munasinghe
Hi Prabath In the context of EMM/IoT product, we already have apis implemented, Now it is matter of documenting them with swagger. Given the fact that swagger has provided annotation based documenting strategy for already implemented apis, we can utilize them within EMM/IoT for documentation. I a

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

2016-04-29 Thread Prabath Abeysekera
Well, supporting device identity is indeed something that's there in the product roadmap. However, that I'm afraid is out of the scope of what's proposed and intended to be discussed within this particular thread. That said, if you are willing to contribute to the platform WRT getting device ident

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

2016-04-29 Thread Dilshan Edirisuriya
Sorry about that. I thought this needs to be done after the device identity thing which we talked about doing with IS roadmap. Regards, Dilshan On 29 April 2016 at 13:53, Prabath Abeysekera wrote: > Well, supporting device identity is indeed something that's there in the > product roadmap. How

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

2016-04-29 Thread Prabath Abeysekera
On Thu, Apr 28, 2016 at 3:16 PM, Dilshan Edirisuriya wrote: > Hi Prabath, > > Just commenting by looking at the EMM/IOT current state (I do agree that > there needs to be a proper standard on this). Although contract first > approach looks far more clean, EMM/IOT already have APIs defined. Hence

[Architecture] [APIM] Implementation of enabling CEP Based Throttling for Tenant APIs

2016-04-29 Thread Harsha Kumara
Hi All, With the new throttling implementation we are using CEP as the global throttling engine. *Implementation* When API Request comes to the throttle handler, the relevant data is publish to the CEP. Since all the events are publish to the super tenant space, we are decided to add filter for

[Architecture] C5 User Core - Realm Service API

2016-04-29 Thread Jayanga Kaushalya
Hi all, User core related authentication and authorization operations can be accessed through RealmService. Bellow diagram explains the brief outlook of the Realm service and respective stores. *RealmService* Realm service is the User Core API which is exposed to external users. Each store can

Re: [Architecture] Implementing proper security model for dashboard server

2016-04-29 Thread Manuranga Perera
> > This part is already there right? or are we talking about a new >> implementation? > > > Actually in existing implementation token is generated against cookie. It > is not actually a bearer token just a session id. To generate bearer token > we have to use SAML grant type. Just looked at the

Re: [Architecture] [C5] [Hamming] Audit logs in C5.

2016-04-29 Thread Manuranga Perera
> > But the problem is that each and every time a developer logs an audit > log, he has to set contextual information. No need to set MDC each time. Just like CarbonContext approach we can set it at login time, can't we? On Fri, Apr 29, 2016 at 12:27 AM, Sameera Jayasoma wrote: > Yes. We were

[Architecture] [DS] Gadget Generation Framework

2016-04-29 Thread Tanya Madurapperuma
Hi all, *Introduction* The purpose of this feature is to provide a framework to generate gadgets where you can plug datasource providers and chart templates. For an example, you will be able to plug your RDBMS datasource, rest api , csv file , real time datsources etc as pluggable providers. *F

Re: [Architecture] [DS] Gadget Generation Framework

2016-04-29 Thread Sriskandarajah Suhothayan
Please see the comments inline. On Fri, Apr 29, 2016 at 7:52 PM, Tanya Madurapperuma wrote: > Hi all, > > *Introduction* > > The purpose of this feature is to provide a framework to generate gadgets > where you can plug datasource providers and chart templates. > > For an example, you will be ab

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

2016-04-29 Thread Kishanthan Thangarajah
Can you send the correct git-hub links to these API's? Provided links are either wrong or packages/modules have been renamed. On Fri, Apr 29, 2016 at 6:35 PM, Jayanga Kaushalya wrote: > Hi all, > > User core related authentication and authorization operations can be > accessed through RealmServi