Re: [Architecture] [Dev] [VOTE] Release WSO2 IoT Server 3.2.0 RC4

2018-03-02 Thread Sumedha Rubasinghe
Installed on a remote machine against MySQL 5.5. Tested -Device type API -Message broker functionality -stream processing [+] Stable - Go ahead and release On Mar 2, 2018 3:02 AM, "Rasika Perera" wrote: Hi Devs, We are pleased to announce the release candidate of WSO2 IoT Server 3.2.0. This

Re: [Architecture] [Dev] [VOTE] Release WSO2 IoT Server 3.2.0 RC3

2018-03-01 Thread Sumedha Rubasinghe
estone/19?closed=1 > [12] https://github.com/wso2/product-iots/milestone/20?closed=1 > > Regards, > The WSO2 IoT Team. > > -- > With Regards, > > *Rasika Perera* > Senior Software Engineer > LinkedIn: http://lk.linkedin.com/in/rasika90 > > <http:/

Re: [Architecture] What's our recommendation for developing a (micro) G/W component?

2018-01-18 Thread Sumedha Rubasinghe
support powered by Siddhi runtime everything will fall in to a single picture.. On Thu, Jan 18, 2018 at 1:33 PM, Sanjiva Weerawarana wrote: > Um .. Ballerina? > > On Thu, Jan 18, 2018 at 1:28 PM, Sumedha Rubasinghe > wrote: > >> *First, my definition of a (micro) G/W*

Re: [Architecture] What's our recommendation for developing a (micro) G/W component?

2018-01-18 Thread Sumedha Rubasinghe
ling, securing, analyzing, logging, etc.). > > We're going to be moving the APIGW to Ballerina platform. So you can come > and help with that work - need to write a small OAuth keyserver in > Ballerina itself. Should be easy .. are you volunteering? > > On Thu, Jan 18, 2018 at 1:

[Architecture] What's our recommendation for developing a (micro) G/W component?

2018-01-18 Thread Sumedha Rubasinghe
IoT Server to support APIs, events and Streams. Right now it is built around C4 based API G/W, hence supporting HTTP only. So wondering what is the correct path to take... --- Sumedha Rubasinghe Director - IoT Architecture, WSO2 m: +94 773017743

Re: [Architecture] Introducing capability to Import/Export API based Device Type Definition

2018-01-14 Thread Sumedha Rubasinghe
he Google Groups >> "WSO2 IoT Team Group" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to iot-group+unsubscr...@wso2.com. >> For more options, visit https://groups.google.com/a/wso2.com/d/optout

Re: [Architecture] Secure MQTT Receiver for DAS

2017-12-15 Thread Sumedha Rubasinghe
There is an OAuth2 token based topic protector done for IoT scenarios. On Thu, Dec 14, 2017 at 5:25 PM, Kalaiyarasi Ganeshalingam < kalaiyar...@wso2.com> wrote: > Hi all, > > DAS already has MQTT Receiver but It is not enabled for secure MQTT > Communication. So, now I am going to work on this fe

Re: [Architecture] Proposed Key Schema for LevelDB Store of Message Broker

2017-08-14 Thread Sumedha Rubasinghe
Hi Wishmitha, Would leveldb architecture be efficient for a message broker where removing delivered messages is very frequent? This requires WSO2 Message Broker to ship leveldb. leveldb ( https://github.com/google/leveldb) has native distributions for platforms. AFAIC this will take away platform

Re: [Architecture] [Dev] [VOTE] Release of WSO2 IoT Server 3.1.0 RC version 4

2017-08-14 Thread Sumedha Rubasinghe
I tested following: Virtual firealarm (control operations,analytics - realtime & batch) Android Device Mgt(enrollment, ring, message) Device Type creation (HTTP,MQTT) Device pushing data (via API) No blockers were found. [+] Stable - Go ahead and release. Thanks, Sumedha On Mon, Aug 14, 2017

Re: [Architecture] [IoT] Improvements to device grouping to allow shared users (non admin ) to control the devices

2017-05-04 Thread Sumedha Rubasinghe
+1 to the idea. Permission to feature mapping is already happening within JAX-RS definition. Isn't t? On Fri, May 5, 2017 at 1:48 AM, Ayyoob Hamza wrote: > Hi All, > > We can share a device group among the users with a specific set of > permissions(through a Role). However in the current implem

Re: [Architecture] Configure token expiry time based on the Service provider (APIM application)

2017-04-23 Thread Sumedha Rubasinghe
Explaining IoT the scenario bit more in detail. We support OAuth 2.0 as one way to authorise devices connecting to IoT Server. (There can be many more mechanisms. Mutual Auth.. etc.. OAuth2 is something we support OOB). When doing so, extender of IoT Server has two options to obtain tokens. -#1 H

Re: [Architecture] Access token for API testing in Publisher and Store

2017-03-22 Thread Sumedha Rubasinghe
On Thu, Mar 23, 2017 at 8:28 AM, Lakmali Baminiwatta wrote: > Hi all, > > Prior to C5, we were generating an access token per app created in the > store using the client_credentials grant type and it was displayed to be > used as the test tokens. The same was used in the API Console as well. Due

Re: [Architecture] [IoT] Android SDK for developers

2017-03-15 Thread Sumedha Rubasinghe
Why this has to be special for Android? It's the generic API we provide from IoT Server. And current API has part of this functionality. Isn't it? On Thu, Mar 16, 2017 at 8:59 AM, Inosh Perera wrote: > Hi All, > > Based on Charitha's suggestion to have an SDK for developers, I would > suggest we

Re: [Architecture] WSO2 IoT server supporting OMA Lightweight M2M protocol (OMA LWM2M)

2017-03-07 Thread Sumedha Rubasinghe
Hi Ching, Could you list out the exact set of steps needed to get this to working please? On Tue, Mar 7, 2017 at 9:53 AM, Ching Shi wrote: > Hi all, > > OMA Lightweight M2M protocol is from the Open Mobile Alliance for IoT > device management. This protocol provides, > >1. Device management

Re: [Architecture] [UUF] Introducing 'app.yaml' for apps, and deprecating 'config.yaml' from apps & components

2017-01-09 Thread Sumedha Rubasinghe
+1 On Fri, Jan 6, 2017 at 3:23 PM, SajithAR Ariyarathna wrote: > Hi All, > > We are hoping to do $subject. > > *UUF Component:* > > Currently a UUF component has two configuration files, 'component.yaml' > and 'config.yaml'. 'component.yaml' contains APIs entries and bindings (see > mail thread

Re: [Architecture] [IoT] Simplifying IoT device type plugin with a descriptor

2016-12-01 Thread Sumedha Rubasinghe
Harshan, The purpose of descriptor was to remove boiler plate code. If there is anything specific, use the handwritten plugin approach. If it's not already there, let's make both descriptor and handwritten plugin to co-exist on a single runtime. On Thu, Dec 1, 2016 at 1:25 PM, Harshan Liyanage w

Re: [Architecture] [IOT] Location Based Data Visualization Tool

2016-11-17 Thread Sumedha Rubasinghe
We are just working on top of a existing data set. This is the format given there. There is a generalization work that will happen on this soon. On Nov 18, 2016 5:45 AM, "Dilan Udara Ariyaratne" wrote: > Hi Dimuth, > > Regarding the format of data you require, > Any reason to why we are collecti

Re: [Architecture] IoT Plugins - Operations UI

2016-11-03 Thread Sumedha Rubasinghe
To elaborate bit more, plugin descriptor would have the operation definition and mapping to the UI page that should be loaded. On Thu, Nov 3, 2016 at 1:59 PM, Chathura Dilan wrote: > Hi All, > > As per the offline discussion, We decided to have these UI elements in the > plugin itself. > > On Th

Re: [Architecture] [IoT] Simplifying IoT device type plugin with a descriptor

2016-10-25 Thread Sumedha Rubasinghe
Pretty useful. This also makes the device plugins deployable without restarting the server. I believe we can extend the same to write hot deployable device plugins using Java (no OSGi). On Tue, Oct 25, 2016 at 9:02 PM, Ayyoob Hamza wrote: > Hi All, > > Current structure for device type plugin f

Re: [Architecture] RFC: Video and Image Processing Support in WSO2 Platform

2016-09-08 Thread Sumedha Rubasinghe
On Fri, Sep 9, 2016 at 11:24 AM, Anusha Jayasundara wrote: > Hi Geesara, > > I used Haar full body cascade and HoG pedestrian detection cascade, In > Haar full body cascade they have mentioned that, upper body detection, > lower body detection and full body detection is there in the cascade. even

Re: [Architecture] Avoiding Sticky Sessions in APIM Distributed Setup?

2016-09-06 Thread Sumedha Rubasinghe
Resending my reply as it got blocked. On Wed, Sep 7, 2016 at 2:34 AM, Shammi Jayasinghe wrote: > Hi, > > WSO2 always asks to enable sticky sessions in a distributed setup which > has multiple key manager nodes. According to my understanding, We needs to > have this since there are multiple calls

Re: [Architecture] Introduce API Product concept for WSO2 API Manager

2016-08-23 Thread Sumedha Rubasinghe
Harsha, If we take a vanilla API manager distribution and deploy an API there can we call it an API product? On Aug 24, 2016 9:27 AM, "Harsha Kumara" wrote: > > > On Tue, Aug 23, 2016 at 3:07 PM, Sanjeewa Malalgoda > wrote: > >> Hi All >> >> Intention of this mail is to discuss about API produc

Re: [Architecture] Introduce API Product concept for WSO2 API Manager

2016-08-23 Thread Sumedha Rubasinghe
Sanjeewa, What if we think similar to creating a feature (Carbon) containing everything need by selected API(s)? In that approach, steps that need to happen can be summarised into: 1. create a relational mapping of an API(s) and it's associated constructs (policies, mediation logic, custom handler

Re: [Architecture] [ESB] IBM AS400/iSeries PCML Connector.

2016-08-21 Thread Sumedha Rubasinghe
Interesting indeed.. how are you going to test this? On Mon, Aug 22, 2016 at 12:02 PM, Hemika Kodikara wrote: > Hi All, > > I am in the process of developing an ESB connector for an IBM > AS400(iSeries) with the use of PCML. > > To give a brief introduction, PCML is an extension of XML which al

Re: [Architecture] [Analytics] Allowing analytics data to be published to super tenant space

2016-06-22 Thread Sumedha Rubasinghe
Amila, It does not sound correct for a multi tenant system right? I think the solution should be making car deployment automatic @ the tenant creation level. On Thu, Jun 23, 2016 at 11:52 AM, Amila Maha Arachchi wrote: > All, > > Recently I learned following in a discussion about ESB-analytics

Re: [Architecture] Comments about IoTS Docs

2016-05-17 Thread Sumedha Rubasinghe
or is it for future releases?) IMO that will add > lot of values to the story. > > --Srinath > > On Tue, May 17, 2016 at 10:59 AM, Sumedha Rubasinghe > wrote: > >> >> >> On Tue, May 17, 2016 at 10:45 AM, Srinath Perera >> wrote: >> >>>

Re: [Architecture] Comments about IoTS Docs

2016-05-16 Thread Sumedha Rubasinghe
On Tue, May 17, 2016 at 10:45 AM, Srinath Perera wrote: > >1. When you land on the doc, it is not clear where you should go > > Planning to fix this Srinath. > >1. There is a quick start guide and "Getting started with IoTS" server >2. in #2 "Start the Virtual Fire-Alarm", it does n

Re: [Architecture] Single point configuration, DAS Log4J Appender on Log Analyzer

2016-05-12 Thread Sumedha Rubasinghe
Ruwan, Some related thoughts.. 1. From product (AM in this case) we are calling two systems (for stat collection and log event collection). So IMO, we should rather be using two account to do so. I know we are pushing data to DAS in the end. But That is irrelevant at this level IMO. And using 'adm

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

2016-04-28 Thread Sumedha Rubasinghe
Geesara, This is a model that should be coming out of Dashboard perspective. If we take a look @ basic building blocks of DS, its (similar to what you have mentioned) - Gadget - Dashboard - Wizards - Dashboard Admin panel - etc Each of these elements should have a permission model associated per

Re: [Architecture] [IoTS] Is it the right thing to package "analytics" scripts with a plugin implementation?

2016-03-23 Thread Sumedha Rubasinghe
My take on this is slightly different. First @ a conceptual level when we say IoT Server can be extended by a plugin, we should have a clear definition of that plugin to have X, Y, Z capabilities. So I feel having analytics @ device type definition level (conceptually) is not a problem. Going by

Re: [Architecture] [Dev] Solution requires to remove/reallocate resources assigned to deleted user

2016-02-25 Thread Sumedha Rubasinghe
If we introduce a state to user (like what we have done for access tokens) this problem can be easily solved at the first level. Then it's just a matter of deciding what to do with removed users and their data later on as a clean up task by infra. On Feb 26, 2016 11:30 AM, "Rasika Perera" wrote:

Re: [Architecture] [API Analytics] Health Monitoring

2016-02-22 Thread Sumedha Rubasinghe
Maheshakya, Can you check the status of cloud status monitor with Cloud team first? This was originally written for Stratos. It's doing the same thing (endpoint monitoring) We had a similar discussion sometime ago and conclusion was we will share the same functionality. At that time status dashboa

Re: [Architecture] WSO2 IoT Server 1.0.0 M3 Released

2016-02-15 Thread Sumedha Rubasinghe
Shavantha, Can you go through the documentation and getting started guide? https://docs.wso2.com/display/IoTS100/Getting+Started+with+WSO2+IoT+Server https://docs.wso2.com/display/IoTS100/Quick+Start+Guide On Mon, Feb 15, 2016 at 5:13 PM, Ruwan Yatawara wrote: > Sure Shavantha, > > We are a

Re: [Architecture] App Manager gateway session handling

2016-02-02 Thread Sumedha Rubasinghe
On top of this, we can provide 'session activity' to end users. That will eliminate some of security concerns On Tue, Feb 2, 2016 at 3:50 PM, Dinusha Senanayaka wrote: > Hi All, > > *How do we handle authenticated user session currently* > > We use Hazelcast cache in the gateway and once user fi

Re: [Architecture] [MB] OAuth authentication for MQTT in MB

2016-01-21 Thread Sumedha Rubasinghe
Invite NuwanD from API Manager, Johann & PrabathS as well. On Fri, Jan 22, 2016 at 10:53 AM, Pumudu Ruhunage wrote: > Hi Ayyoob, > +1 for the implementation. > Can you please schedule a code review meeting for this implementation? > Please invite MB team for the review meeting as well. > > Thank

Re: [Architecture] [Dev] [EMM200] Performance & Load Testing

2015-12-21 Thread Sumedha Rubasinghe
Prabath, API Manager has the same setup and it uses a Thrift client for the same (in the place of using a stub for admin service) Can't we use the same Thrift server/client pattern?We had a similar situation in BAM data publisher. There also we used Thrift for performance reasons. Stubs are known

Re: [Architecture] Monitoring Microservices in WSO2 MSS

2015-11-22 Thread Sumedha Rubasinghe
On Fri, Nov 20, 2015 at 5:20 PM, Isuru Perera wrote: > As I mentioned, in Tomcat Valve, we get some details from the User-Agent > header. > > See following code from WebAppMonitoringPublisherValve.java >

Re: [Architecture] [Dev] [VOTE] Release WSO2 DSS 3.5.0 RC2

2015-10-27 Thread Sumedha Rubasinghe
Hi, I tested the latest pack. I enabled OData on RDBMSSample. I was able to access following endpoints and get results as expected. https://localhost:9443/odata/RDBMSSample/default https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS But following did not work. May be my filter criteria is

[Architecture] Proposing Virtual Device concept to IoT Server

2015-09-17 Thread Sumedha Rubasinghe
*Problem:* All our products contain samples that work out of the box. Even on EMM, agents get installed on to commonly available Android/iOS/Windows devices. But providing this experience in IoT Server is difficult due to needing a physical device. And even if a user possess a device, chances are

Re: [Architecture] Create Maven archetypes for WSO2 projects

2015-09-08 Thread Sumedha Rubasinghe
We had comprehensive arch type coverage with previous tooling approach of artefact types (on top of Eclipse). Jasintha/Viraj (CCed) should be able to provide more details. On Tue, Sep 8, 2015 at 11:28 PM, Afkham Azeez wrote: > Yes, whenever I try out new stuff, I check whether there is an arche

Re: [Architecture] Connector: Kura

2015-09-01 Thread Sumedha Rubasinghe
Hi Rasika, You cannot go much further with a device simulator. You need to have a real hardware for your project to run in the end. For example http://eclipse.github.io/kura/doc/raspberry-pi-quick-start.html provides a quick start on Kura installation on RaspberryPi. I suggest you try above mentio

Re: [Architecture] Plans for IoT Analytics

2015-08-26 Thread Sumedha Rubasinghe
://drive.google.com/drive/folders/0B305RlBh1kIWfl9MZWNCcDl2YWFIYk9STGdZM19ucVgwWnpTQzV4a2x4N1NVZzIyZm1COEk On Thu, Aug 27, 2015 at 2:33 AM, Sumedha Rubasinghe wrote: > Hi Srinath, > Here is a brief update on ongoing work. > > - IoT Server had both batch & real time analytics sa

Re: [Architecture] Plans for IoT Analytics

2015-08-26 Thread Sumedha Rubasinghe
Hi Srinath, Here is a brief update on ongoing work. - IoT Server had both batch & real time analytics samples done using BAM & CEP. - EMM release planned on Oct will ship with mobile analytics - Now we are integrating DAS @ the CDMF level so that all DAS core functionalities will be available for

Re: [Architecture] Workflow Implementation in IS 5.1.0

2015-07-14 Thread Sumedha Rubasinghe
Prabath, I think this has some overlaps and improvements compared to what we have done for API Manager about 2 years ago. Let's have a discussion on how to bring best of both worlds. On Wed, Jul 15, 2015 at 12:49 AM, Prabath Siriwardena wrote: > Hi Isabelle, > > As per the offline chat - you ta

Re: [Architecture] [AppM] Supporting multi-tenency in XACML policies

2015-05-18 Thread Sumedha Rubasinghe
Rushmin, How about implementing a sharing model for XACML scripts (aka policies)? for example, when we create filters in JIRA, we either keep them to ourself or decide to share it with a selected group/users. Why not follow the same model? That feel more natural. We follow a similar approach for

Re: [Architecture] Improving app versioning support in App Manager - (Next release)

2015-05-04 Thread Sumedha Rubasinghe
; option is set to latest version. And give the precedence to forcefully > option if that is true. > > Regards, > Dinusha. > >> >> On Mon, May 4, 2015 at 10:04 AM, Sumedha Rubasinghe >> wrote: >> >>> In API-M, you need to explicitly mark a version

Re: [Architecture] Improving app versioning support in App Manager - (Next release)

2015-05-04 Thread Sumedha Rubasinghe
. > > Isabelle. > > - > *Isabelle Mauny* > VP, Product Management - WSO2, Inc. - http://wso2.com/ > > > On Mon, May 4, 2015 at 5:35 PM, Sumedha Rubasinghe > wrote: > >> >> >> On Mon, May 4, 2015 at 8:30 PM, Dinusha Senanayaka >> wrote: >> &

Re: [Architecture] Improving app versioning support in App Manager - (Next release)

2015-05-04 Thread Sumedha Rubasinghe
On Mon, May 4, 2015 at 8:30 PM, Dinusha Senanayaka wrote: > Hi, > > We thought of doing some changes to current versioning support in App > Manager. Current model is similar to "Create new version" functionality in > API Manager. All versions are appeared on store (unless previous version is > de

Re: [Architecture] Generic workflow support

2015-04-16 Thread Sumedha Rubasinghe
Pulasthi, Sorry for the late reply. But check how API Manager and App Manager has implemented workflow support. It has been implemented in a generic way that can be used by other products. API Manager's workflow support was added about 1.5 years ago. On Sat, Apr 4, 2015 at 5:31 PM, Pulasthi Maha

Re: [Architecture] [AppM] Relative path miss match correction in gateway

2015-04-07 Thread Sumedha Rubasinghe
Apr 7, 2015 11:42 PM, "Manuranga Perera" wrote: > For apps that support context change via config (eg am store) this feature > have to be disabled, right? > On 7 Apr 2015 23:07, "Sumedha Rubasinghe" wrote: > >> On Tue, Apr 7, 2015 at 9:35 PM, Sumedha Rubasi

Re: [Architecture] [AppM] Relative path miss match correction in gateway

2015-04-07 Thread Sumedha Rubasinghe
On Tue, Apr 7, 2015 at 9:35 PM, Sumedha Rubasinghe wrote: > Sajith, > Can you make this only applicable to selected web apps only? > No need of doing this. :) The handler will be added to main sequence. That is where all unresolved requests would go. > > On Tue, Apr 7,

Re: [Architecture] [AppM] Relative path miss match correction in gateway

2015-04-07 Thread Sumedha Rubasinghe
Sajith, Can you make this only applicable to selected web apps only? On Tue, Apr 7, 2015 at 8:41 PM, Sajith Abeywardhana wrote: > Hi All, > > If webpage containing relative path content there is a problem in gateway > side in AppM. Please find the full analysis in dev mailing list - > "[Dev][App

Re: [Architecture] BAM/CEP Data Publisher refactoring

2015-03-26 Thread Sumedha Rubasinghe
Hi Sinthuja, Any plans to update how these endpoints are secured? I have a requirement where data needs to be published to BAM/CEP by randomly provisioned unreliable clients. So using username/password would not work. On Thu, Mar 26, 2015 at 1:04 PM, Sinthuja Ragendran wrote: > Hi, > > I have d

Re: [Architecture] [AppM][AppFactory][AS] AppM Discovery of WebApps from As

2015-03-24 Thread Sumedha Rubasinghe
Ruwan, As discussed, let's add this capability in an extensible manner. So that we will not limit application discovery to WSO2's application server. On Mon, Mar 16, 2015 at 10:38 AM, Ruwan Abeykoon wrote: > Hi All, > > I am in the process of adding a feature to AppManager to discover Web > App

Re: [Architecture] [AppM][AppFactory][AS] AppM Discovery of WebApps from As

2015-03-24 Thread Sumedha Rubasinghe
Ruwan, I have create the Redmine ticket (https://redmine.wso2.com/issues/3822) for internal tracking & the public JIRA (https://wso2.org/jira/browse/APPM-643) as well. On Mon, Mar 16, 2015 at 1:46 PM, Ruwan Abeykoon wrote: > Hi All, > It seems that the SVG diagram missing the text. Attaching th

Re: [Architecture] [AppM] [CDM] Mobile Application List Service

2015-03-13 Thread Sumedha Rubasinghe
to 20 > and limit it to 5. > > On Fri, Mar 13, 2015 at 12:04 PM, Sumedha Rubasinghe > wrote: > >> Why not make this something like, >> >> GET apps/mobile/v1 - gives a list of all apps >> GET apps/mobile/v1/ - gives a matching app list >> GET

Re: [Architecture] [AppM] [CDM] Mobile Application List Service

2015-03-12 Thread Sumedha Rubasinghe
Why not make this something like, GET apps/mobile/v1 - gives a list of all apps GET apps/mobile/v1/ - gives a matching app list GET apps/mobile/v1//limit/ - limits the list of apps shown - Its more RESTy. - will also facilitate other type of app downloads What is the offset about? On Thu, M

Re: [Architecture] [AppM] [CDM] Mobile Application List Service

2015-03-12 Thread Sumedha Rubasinghe
Apps for download should be protected with same privileges as rights to install. How was this done in EMM 1.0.0? Write a Jaggery module control access to mobile apps folder. On Fri, Mar 13, 2015 at 11:08 AM, Chathura Dilan wrote: > Hi Dilshan, > > AFAIK devices directly access the link in the

[Architecture] How to create a UI component in new Jaggery based model?

2015-03-09 Thread Sumedha Rubasinghe
I need to create a UI component using new Jaggery based model. Where can I find the how to get started? Dulitha shared me following. https://docs.google.com/a/wso2.com/document/d/1YF62nd8Ony8P3_c1w6NmLCH8cznv7Ky0cla3BivIEiE/edit But it only has concepts & does not tell me when to do, where to che

Re: [Architecture] Providing a way to add event receiver and analyser configurations through UI in APIM

2015-03-02 Thread Sumedha Rubasinghe
The idea here is to eliminate the manual steps performed in https://docs.wso2.com/display/AM180/Publishing+API+Runtime+Statistics We did a review little while ago and it seems there is a similar functionality available for AS & DSS (as mentioned in https://docs.wso2.com/display/AS521/Collecting+Da

Re: [Architecture] [BAM] [Security] Securing REST API

2015-01-26 Thread Sumedha Rubasinghe
Any particular reason for securing product APIs using Basic Auth? Products like G-Reg, CDM are using OAuth 2.0 tokens for this instead. On Tue, Jan 27, 2015 at 11:53 AM, Gihan Anuruddha wrote: > Hi All, > > We are going to use a set of REST API [1] to communicate with the data > layer. Basical

Re: [Architecture] Dynamic Client Registration for CDM

2015-01-22 Thread Sumedha Rubasinghe
This is already included in AM 1.9.0 plan and already being worked out. On Fri, Jan 23, 2015 at 9:01 AM, Prabath Abeysekera wrote: > Hi Everyone, > > Just wondering where we are on $subject and if we've got any plans to > support this anytime soon. > > I believe, CDM has a definite use-case for

Re: [Architecture] [Proposal] Localization support backed by Registry

2014-12-18 Thread Sumedha Rubasinghe
Dulitha, There is existing implementation to support i18n in Jaggery. Why don't you sync up with Jaggery team and improve/fix what's already there? On Fri, Dec 19, 2014 at 7:11 AM, Dulitha Wijewantha wrote: > > Hi guys, > I have been thinking about localization for bit and thought the > traditi

Re: [Architecture] Invitation: CDM Hackathon @ Mon Dec 1, 2014 1:30pm - 5:30pm (Sameera Perera)

2014-12-04 Thread Sumedha Rubasinghe
t; Thanks > > On Wed, Dec 3, 2014 at 11:06 AM, Manoj Gunawardena > wrote: > >> Hi All, >> >> *Dec 03rd meeting minutes.* >> >> *Attendees* : Sameera Perera, Kasun Dananjaya, Prabath Abeysekera, Asok >> Perera, Afkham Azeez, Geeth Munasinghe, Ino

Re: [Architecture] Doing also a Radar Chart for data exploration

2014-11-28 Thread Sumedha Rubasinghe
This came up during the graph review we had on app manager and API manager yesterday as well. In order to get this working, we need to have D3 JS library included. We already have gone through multiple graph libs and have stopped at plot. So if we need to have this, we need to do a full analysis

Re: [Architecture] Shareable Common JS

2014-11-20 Thread Sumedha Rubasinghe
Ruchira/Sameera/Manu, AFAIK we do not have a specific folder to keep JS libraries related to BE functionality in the current Jaggery App Structure. Only libraries I have seen (could be wrong) are in themes/{theme name}/lib. But these libraries are mostly related to UI presentation. If I am corr

Re: [Architecture] IS statistics dashboard

2014-10-06 Thread Sumedha Rubasinghe
Malintha, Few suggestions: #1: I think AuthenticationAdmin Service is special compared to other services. For example, if I do a call to get all pending human tasks, the call would first get authenticated & then go to relevant service. So I don't think Authentication Admin Service is a good candi

Re: [Architecture] WSO2 MB Proposed RDBMS Design

2014-09-14 Thread Sumedha Rubasinghe
o triggers, however we use RDBMS... > > > Best regards, > Frank > > 2014-09-12 10:24 GMT+02:00 Sumedha Rubasinghe : > >> If you use triggers, you cannot have a database engine independent >> design. >> >> On Fri, Sep 12, 2014 at 1:21 PM, Asitha Nanay

Re: [Architecture] WSO2 MB Proposed RDBMS Design

2014-09-12 Thread Sumedha Rubasinghe
If you use triggers, you cannot have a database engine independent design. On Fri, Sep 12, 2014 at 1:21 PM, Asitha Nanayakkara wrote: > According to an offline chat I had with PrabathA SQL triggers should be > avoided since SQL triggers execute outside SQL transactions. > > On Thu, Jul 24, 2014

Re: [Architecture] [APPM] XACML based authorization for resources

2014-08-26 Thread Sumedha Rubasinghe
Policy Partial Editor does not sound good. How about 'policy template editor'? On Aug 26, 2014 3:12 PM, "Rushmin Fernando" wrote: > Attached is the UI mock-up of the app create/edit screen as well as the > policy partial editor. > > Thanks > Rushmin > > &

Re: [Architecture] [APPM] XACML based authorization for resources

2014-08-26 Thread Sumedha Rubasinghe
Rushmin, Can you also send a mock UI of the resources section that we discussed? That will make it more clear on how Policy partials & URL templates are mapped. On Tue, Aug 26, 2014 at 1:48 PM, Rushmin Fernando wrote: > App Manager supports both database driven simple roles based resource > aut

Re: [Architecture] Role Based Access Control (RBAC) for RDBMS based environment provisioning

2014-08-14 Thread Sumedha Rubasinghe
+1 for providing the capability. Are we going to define permissions per environment or are there going to be static set of environments? There is a similar mail for Cassandra in [Architecture] Supporting multiple environments for Cassandra. IMO permissions you have mentioned are too high level fo

Re: [Architecture] [POC] Performance evaluation of Hive vs Shark

2014-08-13 Thread Sumedha Rubasinghe
On Aug 13, 2014 3:18 PM, "Anjana Fernando" wrote: > > Hi Niranda, > > Excellent analysis of Hive vs Shark! .. This gives a lot of insight into how both operates in different scenarios. As the next step, we will need to run this in an actual cluster of computers. Since you've used a subset of the d

Re: [Architecture] Introducing HighWaterMark Level and LowWaterMarkLevel to Message Broker

2014-07-23 Thread Sumedha Rubasinghe
On a related note, there are generic flow control patterns to deal with different scenarios. For example there are flow controls to decide what to happen when in-memory store runs out of memory, or a particular queue runs out of space or disk runs out of allocated quota. So it might be a good idea

Re: [Architecture] API Everywhere in Deployment

2014-07-10 Thread Sumedha Rubasinghe
On Thu, Jul 10, 2014 at 2:28 PM, Chan wrote: > Hi guys, > I have been trying to understand how we will proceed with API Everywhere > in a deployment. A typical APIM deployment will have > >- Gateway >- Key Manager >- Store and Publisher > > How will we deploy API Everywhere? Will we h

Re: [Architecture] [Exposing Oauth Protected APIs for mobile devices to EMM server communication]

2014-06-03 Thread Sumedha Rubasinghe
What is this fix? Is this about checking if g/w cache is enabled? On Jun 3, 2014 1:45 PM, "Gayan Gunawardana" wrote: > Hi, > > There is an another small issue with "org.wso2.carbon.apimgt.core". > APITokenAuthenticator there should be a small logic change. Please verify > it with APIM team and fo

[Architecture] WSO2 API Manager 1.7.0 Released !!!

2014-05-23 Thread Sumedha Rubasinghe
WSO2 API Manager 1.7.0 Released! WSO2 API Manager team is pleased to announce the release of version 1.7.0 of the Open Source API Manager. WSO2 API Manager is a platform for creating, managing, consuming and monitoring APIs. It employs proven SOA best practices to solve a wide range of API manage

Re: [Architecture] Developer Forum for the API Store

2014-04-25 Thread Sumedha Rubasinghe
On Thu, Apr 24, 2014 at 8:55 PM, Nuwan Bandara wrote: > Hi Guys, > > We discussed to have the Forum inline with the social implementation we > did for ES. We have defined a nice architecture to handle these events, > threaded posts, likes, bubble up functionality etc. Are we deviating from > that

Re: [Architecture] Multi-tenancy support in App-Manager

2014-04-10 Thread Sumedha Rubasinghe
In order to handle such scenarios, API Manager and App Manager > will need to be merged as one product. > > Thanks and Regards, > > Ruwan Yatawara > > Software Engineer, > WSO2 Inc. > lean . enterprise . middleware > > email : ruw...@wso2.com > mobile : +94 77

Re: [Architecture] Multi-tenancy support in App-Manager

2014-04-09 Thread Sumedha Rubasinghe
Dinusha, Let's schedule a discussion today with Azeez, Shankar & Prabath. On Thu, Apr 10, 2014 at 6:18 AM, Dinusha Senanayaka wrote: > Hi, > > We have identified following ares to be cover with $subject. Additionally > we need to define features that could be useful for users, like assets > sha

Re: [Architecture] Adding Statistics to API Manager Store

2014-04-09 Thread Sumedha Rubasinghe
Nice !! Three things: 1. We need to work on graph titles. While going through the graphs I realized these can be better worded. 2. Let's also try to extend these to drill downs where ever possible. eg: Now we show number of API calls/Application (%). We can extend this such that, when clicked

Re: [Architecture] [APIM] Storing configuration for Workflow Executors in Registry

2014-03-05 Thread Sumedha Rubasinghe
On Thu, Mar 6, 2014 at 11:49 AM, Senaka Fernando wrote: > Hi Nuwan, Amila, > > If you for a moment think of a Store/Publisher webapp being a resource > (just a logical assumption), is this kind of workflow similar to a registry > lifecycle? We shouldn't be looking at the configuration model or wh

Re: [Architecture] API Manager External Stores Configuration Improvements

2014-02-27 Thread Sumedha Rubasinghe
I think we need to consider the real external store effect here. Assumption on delete possibility is there due to external store being a WSO2 one right now. In reality delete will be possible only if external store provides a way for that. On Feb 28, 2014 7:33 AM, "Lakmali Baminiwatta" wrote: >

Re: [Architecture] Dynamically load data sources defined on master-datasources.xml on startup

2014-02-20 Thread Sumedha Rubasinghe
We allow defining data sources @ two levels targeting two different audiences. Type1: Data sources defined in master-datasources.xml are used for server's internal storage requirements. This includes data source definitions like Registry database, User Store, etc. These data sources are modified b

Re: [Architecture] [App Manager] Throttling implementation for App Manager

2014-02-11 Thread Sumedha Rubasinghe
I think we should not worry about throttling for anonymous mode @ this point. Let's assume all applications require authentication and do throttling based on session ID. One thing with session ID is the possibility of that being hijacked. On Tue, Feb 11, 2014 at 12:50 PM, Suresh Attanayaka wrot

Re: [Architecture] OAuth token management

2014-02-01 Thread Sumedha Rubasinghe
Paul, Some of these are being considered with in API Management space as well. Lets me explain existing capabilities & future plans. Although the OAuth2 spec does not mandate sending a new refresh token when an access token is being refreshed (http://tools.ietf.org/html/rfc6749#page-10), I feel th

Re: [Architecture] Provide support for self signup for tenants' APIStores

2014-01-22 Thread Sumedha Rubasinghe
For external users this is part of single story. The fact that these components are coming from different projects is irrelevant. So it needs to happen like how you have mentioned. We can make CloudApp the starting point and execute this logic in there. On Thu, Jan 23, 2014 at 9:49 AM, Dimuthu

Re: [Architecture] Provide support for self signup for tenants' APIStores

2014-01-22 Thread Sumedha Rubasinghe
Prabath, Is there any other planned way of supporting self sign up(and associated role)? For example is this the same way agreed for social features we are going to add to UES? If we move this element from identity.xml into registry as Lalaji suggested, what will be the migration impliction for ex

Re: [Architecture] {APIM} BPEL workflow message formats for Human interactions

2013-12-11 Thread Sumedha Rubasinghe
On Wed, Dec 11, 2013 at 2:30 PM, Vijayaratha Vijayasingam wrote: > > Hi all; > > We try to incorporate Humantasks in our API management process. Currently > , we try to add human interactions for three tasks. > >1. Application creation >2. Usersignup process >3. Subscription creation >

Re: [Architecture] [MDM] Integrating APIM with MDM

2013-12-06 Thread Sumedha Rubasinghe
Dulitha, First of all, there needs to be a Jaggery interceptor for OAuth2 token validations. Fronting Jaggery APIs with a AM layer is bulky. Answers to two problems are in-line. On Fri, Dec 6, 2013 at 12:09 PM, Dulitha Wijewantha wrote: > Hi All, > Below is an architecture diagram I came up to i

Re: [Architecture] API Manager - Integration With Workflows

2013-11-26 Thread Sumedha Rubasinghe
On Wed, Nov 27, 2013 at 12:01 PM, Nuwan Dias wrote: > On Wed, Nov 27, 2013 at 11:47 AM, Pulasthi Supun wrote: > >> >> >> Hi, >> >> On Mon, Nov 25, 2013 at 5:53 PM, Nuwan Dias wrote: >> >>> Hi, >>> >>> We are about to start work on $subject. We have identified 4 locations >>> where we can integra

Re: [Architecture] Security mediators for ESB

2013-11-13 Thread Sumedha Rubasinghe
In the API Manager world we have a handler for this. But currently that gets invoked inside an API element (It also does few more things than passing bearer token to designated OAuth endpoint). A simplified version of this can be used for ESB. But if this is a handler, how do we intend that to be

Re: [Architecture] Integrating Enterprise Store With API Manager

2013-11-12 Thread Sumedha Rubasinghe
Nuwan, I was going through some of the TODO items for API Manager & came across following. 1. Tenant specific store themes. Configurable via UI (internal : RM1407) 2. Password recovery for store (internal: AM -> RM1330, IS -> RM686) 3. Multiple dashboard UIs under several links How much of suppor

Re: [Architecture] APIM: Using Apache velocity to generate api conf for synapse

2013-10-29 Thread Sumedha Rubasinghe
On Mon, Oct 28, 2013 at 7:58 PM, Nuwan Dias wrote: > +1 for reducing the number of templates and complexities in generating the > synapse configs out of those. Current model does not scale very well. > > @Joe, can you share a simple sample of what you are intending to do? > > With the current app

Re: [Architecture] Handling SAML2 SSO Sessions

2013-10-21 Thread Sumedha Rubasinghe
On Mon, Oct 21, 2013 at 12:51 PM, Prabath Siriwardena wrote: > Yes.. SAML2 sessions can go as long as for a week even.. > Then persistence definitely makes sense. > Thanks & regards, > -Prabath > > > > On Mon, Oct 21, 2013 at 12:42 PM, Sumedha Rubasinghe wrote: >

Re: [Architecture] Handling SAML2 SSO Sessions

2013-10-21 Thread Sumedha Rubasinghe
On Mon, Oct 21, 2013 at 12:34 PM, Prabath Siriwardena wrote: > How do we handle SAML2 sessions now..? > > I believe we keep it in-memory.. > > Keep this in-memory won't scale - as these sessions suppose to live long.. > and also won't be accessed frequently.. > > Can we use an LRU cache - and pers

Re: [Architecture] Support per API (ESB) logging configuration

2013-10-11 Thread Sumedha Rubasinghe
On Friday, October 11, 2013, Isuru Udana wrote: > Hi Sagara, > > This is a very useful feature to have. Please check-in the code to synapse > so that we can have it for ESB 4.8.0. > +1 > > Thanks, > IsuruU > > > On Fri, Oct 11, 2013 at 8:12 PM, Sagara Gunathunga > > > wrote: > >> >> Proxy servi

Re: [Architecture] Issues with new solar base search introduce in registry 4.6.0 (to be released)

2013-10-09 Thread Sumedha Rubasinghe
Senaka, Search options mentioned by Nuwan were supported in previous API Store & Publisher. We cannot be breaking this feature we used to support. Wasn't this captured @ product planning? On Wed, Oct 9, 2013 at 7:37 PM, Nuwan Bandara wrote: > Hi All, > > The problem at hand is that we cannot d

Re: [Architecture] Why API - Manager always upper case the "scope"

2013-10-03 Thread Sumedha Rubasinghe
simple as changing this in gateway. > > Thanks & regards, > -Prabath > > > On Fri, Oct 4, 2013 at 11:19 AM, Sumedha Rubasinghe wrote: > >> Prabath, >> AM's scope handling is not fully complaint with OAuth spec. The (valid) >> scopes that will reach th

Re: [Architecture] Why API - Manager always upper case the "scope"

2013-10-03 Thread Sumedha Rubasinghe
Prabath, AM's scope handling is not fully complaint with OAuth spec. The (valid) scopes that will reach this particular block is either 'PRODUCTION' or 'SANDBOX'. These two values have a special meaning in determining the endpoint addresses in API gateway. We will fix this with proper scope handl

  1   2   >