Re: [Dev] Merge changes done for https://wso2.org/jira/browse/CPARENT-6

2016-08-08 Thread Isuru Perera
Hi Jayanga, I didn't update maven bundle plugin. Could you please check on that too? Please use following command to check plugin updates. mvn versions:display-plugin-updates Thanks! On Tue, Aug 9, 2016 at 11:39 AM, Kishanthan Thangarajah wrote: > Hi Jayanga, > > Let's merge this and do a re

Re: [Dev] Merge changes done for https://wso2.org/jira/browse/CPARENT-6

2016-08-08 Thread Kishanthan Thangarajah
Hi Jayanga, Let's merge this and do a release along with kernel 5.2.0. On Wed, Jul 27, 2016 at 3:44 PM, Isuru Perera wrote: > Hi, > > Could you please review the PR in [1]. > > I also noticed that carbon-parent version 5 is released [2], but the > master branch still has 5-SNAPSHOT [3]. > > [1]

Re: [Dev] [UUF] Doesn't allow to create a p2 feature with name "feature" at the beginning

2016-08-08 Thread SajithAR Ariyarathna
Hi Niranjan, We are trying to create a p2-feature for our UUF sample application >>> "features-app". It has the artifactId >>> "org.wso2.carbon.uuf.features-app.feature". >>> When we build the feature, it creates a directory inside the zip file, with >>> the name org.wso2.carbon.uuf_1.0.0.SNAPSHO

Re: [Dev] Passing values to the Xpath 2.0 function - fn:avg

2016-08-08 Thread Sohani Weerasinghe
Thanks Shafreen for the input. @Nisrin: Please note Sohani Weerasinghe Senior Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Tue, Aug 9, 2016 at 11:21 AM, Shafreen Anfar wro

Re: [Dev] Passing values to the Xpath 2.0 function - fn:avg

2016-08-08 Thread Shafreen Anfar
Hi Sohani, Sorry for the delayed response. IMO, ideally we should try writing a simple java program with HE and see if it supports that particular function or not. Anyways, since it is not working in ESB. I think it is OK to conclude that is not supported in our ESB. On Fri, Aug 5, 2016 at 10:52

Re: [Dev] [DEV] [GSoC Dockerfiles] Project update - Migration to Golang

2016-08-08 Thread Abhishek Tiwari
Hi Vishanth, Thanks for pointing this, I have updated the config path to be relative to the source root. Thanks Abhishek On Thu, Aug 4, 2016 at 10:36 AM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > Hi Abhishek, > > I see that you have given absolute path for "TestConfigPath" in > "c

Re: [Dev] [GSoC Dockerfiles] Meeting minutes

2016-08-08 Thread Abhishek Tiwari
Hi Imesh, Thanks for the feedback on build setup. Its certainly very clean way to organize a go project. I have incorporated the suggested changes and updated the readme accordingly [1]. Thanks Abhishek [1]. https://github.com/abhishek0198/test-framework On Wed, Aug 3, 2016 at 11:17 AM, Imesh G

Re: [Dev] [GSoC 2016]Proposal 03: [ML]Visual(Deep) Neural Network Builder -Project Progress

2016-08-08 Thread Upul Bandara
Following jag file ( please look at function loadDatasets(), function updateDatasets(), function deleteDataset(datasetId) and etc) has everything you need to know to get dataset from ML server to your UI. Please kindly note that it is very difficult for us to give exact code snippet to meet your re

Re: [Dev] [Architecture] [APIM] [EMM] Adding multiple scopes to a single API resource endpoint

2016-08-08 Thread Nuwan Dias
Whose responsibility is it to decide what details to return in the response based on the user who's requesting it? Is it the fronting API's responsibility to decide this or should it be the core back-end of the Application who should be deciding who gets what? On Tue, Aug 9, 2016 at 6:47 AM, Dilan

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Harsha Thirimanna
Hi All, Yes, We were tying to solve this problem in generic manner that can be used across the platform. For that, we have written a component to register authentication handler and the interceptors to intercept rest call. For now we have written Basic and OAuth token base handlers. But anyone can

[Dev] [Architecture] [APIM] [EMM] Adding multiple scopes to a single API resource endpoint

2016-08-08 Thread Dilan Udara Ariyaratne
Adding the thread to architecture, as this proposes an architectural change to existing OAuth scopes @ APIM level. Regards, Dilan. *Dilan U. Ariyaratne* Senior Software Engineer WSO2 Inc. Mobile: +94766405580 <%2B94766405580> lean . enterprise . middleware On Tue, Aug 9, 2016

Re: [Dev] [APIM] [EMM] Adding multiple scopes to a single API resource endpoint

2016-08-08 Thread Dilan Udara Ariyaratne
Hi Sam, I also think that Chathura is making a valid point here. For example, let's take the exact problem that EMM APIs do have currently. I am considering GET /devices API here. For this API, we do have a requirement to compile two responses based on the type of user accessing the API. [1] If

[Dev] WSO2 EMM 2.1.0-SNAPSHOT Nightly Build 08/08/2016

2016-08-08 Thread Chathura Dilan
Hi All, You can get the latest EMM 2.1.0-SNAPSHOT build from here [1]. It is still being building. once it is done you can download it from there. [1] - https://wso2.org/jenkins/job/product-emm/lastSuccessfulBuild/org.wso2.mdm$wso2emm/ -- Regards, Chatura Dilan Perera *Associate Tech Lead** -

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Farasath Ahamed
Hi Rushmin, On Mon, Aug 8, 2016 at 4:14 PM, Rushmin Fernando wrote: > Thanks Ishara ! > > Since our products are adopting OAuth protected ReST APIs, is there an > OAuth authencator being developed and planed to be developed ? > Harsha has worked on developing a generic component that can be use

Re: [Dev] GSoC Project: HTTP Load Balancer on Top of WSO2 Gateway Discussion

2016-08-08 Thread Kasun Indrasiri
- Compare GW framework perf vs LB (need to identify if any perf impact from the LB related code). - Identify the reason for the apparent perf bottleneck with high concurrency. On Mon, Aug 8, 2016 at 10:55 AM, Venkat Raman wrote: > Hi Kasun, > > Please find the latest results after Saturday's cod

Re: [Dev] WSO2 App Cloud - Environment variables for setting credentials

2016-08-08 Thread Nathiesha Maddage
Hi Sabra, Thanks for the quick reply. I will try to encrypt the credential values and add them as environment variables. Thanks and regards Nathiesha On Mon, Aug 8, 2016 at 12:03 PM, Sabra Ossen wrote: > Hi Nathiesha, > > The applications deployed in App Cloud are deployed in separate > contai

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Ishara Karunarathna
HI, On Mon, Aug 8, 2016 at 5:51 PM, Dinusha Senanayaka wrote: > > > On Mon, Aug 8, 2016 at 5:43 PM, Ishara Karunarathna > wrote: > >> Hi Rushmin, >> >> On Mon, Aug 8, 2016 at 5:26 PM, Rushmin Fernando >> wrote: >> >>> Hi Ishara, >>> >>> We are currently using the following two admin services t

Re: [Dev] [VOTE] Release WSO2 Enterprise Service Bus 5.0.0 RC2

2016-08-08 Thread Prabath Ariyarathna
Hi All, We will call off this vote due to the issue reported in [1][2] and will start a new vote for ESB 5.0.0 RC3. [1] - https://wso2.org/jira/browse/ESBJAVA-4835 [2] - https://wso2.org/jira/browse/ESBJAVA-4833 Thanks. On Mon, Aug 8, 2016 at 3:24 PM, Nadeeshaan Gunasinghe wrote: > Test and V

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Dinusha Senanayaka
On Mon, Aug 8, 2016 at 5:43 PM, Ishara Karunarathna wrote: > Hi Rushmin, > > On Mon, Aug 8, 2016 at 5:26 PM, Rushmin Fernando wrote: > >> Hi Ishara, >> >> We are currently using the following two admin services to create service >> providers. >> >> IdentitySAMLSSOConfigService >> IdentityApplica

Re: [Dev] [UUF] Doesn't allow to create a p2 feature with name "feature" at the beginning

2016-08-08 Thread Prabushi Samarakoon
Hi Niranjan, On Mon, Aug 8, 2016 at 5:48 PM, Prabushi Samarakoon wrote: > > > On Mon, Aug 8, 2016 at 4:47 PM, Niranjan Karunanandham > wrote: > >> Hi Prabushi, >> >> >> >> On Mon, Aug 8, 2016 at 4:37 PM, Chanaka Cooray wrote: >> >>> Hi Prabushi, >>> >>> This seems to be an issue with the carbo

Re: [Dev] [UUF] Doesn't allow to create a p2 feature with name "feature" at the beginning

2016-08-08 Thread Prabushi Samarakoon
On Mon, Aug 8, 2016 at 4:47 PM, Niranjan Karunanandham wrote: > Hi Prabushi, > > > > On Mon, Aug 8, 2016 at 4:37 PM, Chanaka Cooray wrote: > >> Hi Prabushi, >> >> This seems to be an issue with the carbon feature plugin. In the >> FeatureResourceBundle class, it splits the name of the feature by

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Ishara Karunarathna
Hi Rushmin, On Mon, Aug 8, 2016 at 5:26 PM, Rushmin Fernando wrote: > Hi Ishara, > > We are currently using the following two admin services to create service > providers. > > IdentitySAMLSSOConfigService > IdentityApplicationManagementService > admin/manage permission should be there for both

Re: [Dev] IS-Analytics - Hiding 'Internal/Everyone' and 'Application' roles in "Roles" gadget.

2016-08-08 Thread Johann Nallathamby
On Mon, Aug 8, 2016 at 5:11 PM, Dilini Gunatilake wrote: > Hi Hasintha, > > AFAIK, the purpose of the Application role is to assign permission to the > users to configure the service provider. So, most probably there will be > very limited amount of users with this permission. Also, the purpose o

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Rushmin Fernando
Hi Ishara, We are currently using the following two admin services to create service providers. IdentitySAMLSSOConfigService IdentityApplicationManagementService If we are to follow the above SAML authenticator method for this as well, what are the permissions should a role have ? Regards Rushm

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Lahiru Cooray
Hi Ishara, Thanks a lot for the info.. On Mon, Aug 8, 2016 at 4:04 PM, Ishara Karunarathna wrote: > Hi Dinusha, > > In this case I think publisher user should be able to create those SP, > XACML policies etc. > Since publisher use is within the publisher role you can assign necessary > permissio

Re: [Dev] IS-Analytics - Hiding 'Internal/Everyone' and 'Application' roles in "Roles" gadget.

2016-08-08 Thread Dilini Gunatilake
Hi Hasintha, AFAIK, the purpose of the Application role is to assign permission to the users to configure the service provider. So, most probably there will be very limited amount of users with this permission. Also, the purpose of these charts is to show the count of total users who logged into a

Re: [Dev] [UUF] Doesn't allow to create a p2 feature with name "feature" at the beginning

2016-08-08 Thread Niranjan Karunanandham
Hi Prabushi, On Mon, Aug 8, 2016 at 4:37 PM, Chanaka Cooray wrote: > Hi Prabushi, > > This seems to be an issue with the carbon feature plugin. In the > FeatureResourceBundle class, it splits the name of the feature by > ".feature" string[1]. Can you create a JIRA for this please? > > [1] http

Re: [Dev] [UUF] Doesn't allow to create a p2 feature with name "feature" at the beginning

2016-08-08 Thread Chanaka Cooray
Hi Prabushi, This seems to be an issue with the carbon feature plugin. In the FeatureResourceBundle class, it splits the name of the feature by ".feature" string[1]. Can you create a JIRA for this please? [1] https://github.com/wso2/carbon-maven-plugins/blob/master/carbon-feature-plugin/src/main/

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Rushmin Fernando
Thanks Ishara ! Since our products are adopting OAuth protected ReST APIs, is there an OAuth authencator being developed and planed to be developed ? Regards, Rushmin On Mon, Aug 8, 2016 at 4:04 PM, Ishara Karunarathna wrote: > Hi Dinusha, > > In this case I think publisher user should be ab

[Dev] [UUF] Doesn't allow to create a p2 feature with name "feature" at the beginning

2016-08-08 Thread Prabushi Samarakoon
Hi all, We are trying to create a p2-feature for our UUF sample application "features-app". It has the artifactId "org.wso2.carbon.uuf.features-app.feature". When we build the feature, it creates a directory inside the zip file, with the name org.wso2.carbon.uuf_1.0.0.SNAPSHOT instead of org.wso2.

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Ishara Karunarathna
Hi Dinusha, In this case I think publisher user should be able to create those SP, XACML policies etc. Since publisher use is within the publisher role you can assign necessary permission to that role. Once user login (SSO) to publisher with his credential he can get a cookie for that and he can

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-08 Thread Supun Sethunga
Hi Mahesh, Couple of issues I noticed: - Your siddhi-extension is using spark 1.6.1 dependency. But in the logs, it says the version of spark is 1.4.1. You can see the following line in the logs. *TID: [-1234] [] [2016-08-08 13:05:11,699] INFO {org.apache.spark.SparkContext} - Running

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Rushmin Fernando
In addition to creating these entries from the UI, we need to create the same using our ReST API as well. And the API is OAuth protected. Is there an authenticator which gives back a cookie for an OAuth token as well ? On Mon, Aug 8, 2016 at 3:29 PM, Ishara Karunarathna wrote: > Hi Lahiru. > >

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Dinusha Senanayaka
Hi Ishara, On Mon, Aug 8, 2016 at 3:29 PM, Ishara Karunarathna wrote: > Hi Lahiru. > > > Its not the admin user.User trying to do this operation should have enough > permission to do this. > This is something we need to clarify. Not only XACML policy create/update/view. Publisher user need to

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Ishara Karunarathna
Hi Lahiru. Its not the admin user.User trying to do this operation should have enough permission to do this. Use *entitlement/policy/view* Add this permission to the user who is trying to view those policies. BR, Ishara On Mon, Aug 8, 2016 at 3:20 PM, Lahiru Cooray wrote: > + [DEV] >

Re: [Dev] [VOTE] Release WSO2 Enterprise Service Bus 5.0.0 RC2

2016-08-08 Thread Nadeeshaan Gunasinghe
Test and Verified the basic functionalities of the following - Proxies - APIs - Scheduled tasks, - Local Entries - Endpoints - Sequences - Capp Tested both in Super tenant and Tenant modes. [+] - Stable. Go ahead and release Thanks, *Nadeeshaan Gunasinghe* Software Enginee

Re: [Dev] [AppM] Creating XACML Policies and Service Providers in Tenants

2016-08-08 Thread Lahiru Cooray
+ [DEV] On Mon, Aug 8, 2016 at 3:19 PM, Lahiru Cooray wrote: > Hi all, > > *Current behaviour:* > Currently in AppM, when we are creating XACML policies/Service Providers > via IS admin services, we are providing the super tenant admin credentials > (where the credentials are stored in a config)

[Dev] Clarification on "-Dsetup" option for IS 5.2.0 with MySQL 5.7

2016-08-08 Thread Sewmini Jayaweera
Hi IS team, I pointed carbon, registry and user DBs to MySQL 5.7 and tried starting with -dsetup. What I observed was; - In order to registry and user tables to get created with -Dsetup, 'mysql5.7.sql' script should be renamed to mysql.sql. But in order for identity tables to get created it requ

Re: [Dev] [VOTE] Release WSO2 Enterprise Service Bus 5.0.0 RC2

2016-08-08 Thread Chanaka Fernando
Tested and verified the following features - Management console UI functionalities - Publishing data from ESB to Analytics and count verfications - Mediation debugger in super tenant and tenant mode [+] - Stable. Go ahead and release. On Mon, Aug 8, 2016 at 1:48 PM, Eranda Rajapakshe w

Re: [Dev] Configuration for MB Topic Acknowledgement

2016-08-08 Thread Ramith Jayasinghe
may be this would be of help: https://docs.wso2.com/display/ESB490/JMS+Transactions On Mon, Aug 8, 2016 at 2:09 PM, Tharindu Edirisinghe wrote: > Hi Indika, > > Thanks for the quick response. > > The subscriber is an ESB proxy service and it needs to send the > acknowledgement to the MB Topic af

Re: [Dev] Configuration for MB Topic Acknowledgement

2016-08-08 Thread Tharindu Edirisinghe
Hi Indika, Thanks for the quick response. The subscriber is an ESB proxy service and it needs to send the acknowledgement to the MB Topic after finishing the subscriber work. So how to send the acknowledge from the proxy service ? Currently, the proxy subscriber has following configuration.

Re: [Dev] [APIM] [EMM] Adding multiple scopes to a single API resource endpoint

2016-08-08 Thread Chathura Dilan
Hi Sam, Sometimes based on the scopes we might need to authorize the APIs to get different responses. Eg: Facebook scopes [1]. At the login we can send multiple scopes, generate the token and authorize an API based on scopes. It is not possible if only one scope is assigned to one API (resource)

Re: [Dev] [VOTE] Release WSO2 Enterprise Service Bus 5.0.0 RC2

2016-08-08 Thread Eranda Rajapakshe
Hi, Tested and verified following, 1. JMS 2.0 scenarios 2. JMS Message Store, Message Processor 3. JMS Inbound Endpoint [+] - Stable, go ahead and release. Thanks, Eranda On Sat, Aug 6, 2016 at 9:17 AM, Jagath Sisirakumara Ariyarathne < jaga...@wso2.com> wrote: > Hi All, > > This is the 2nd R

Re: [Dev] Configuration for MB Topic Acknowledgement

2016-08-08 Thread Indika Sampath
Hi Tharindu, Message acknowledge handle at client side, not in the server side. In your JMS program, set acknowledgement mode to CLIENT_ACKNOWLEDGE queueSession = queueConnection.createQueueSession(false, QueueSession.CLIENT_ACKNOWLEDGE); When client receives message, do the acknowlegment explic

[Dev] Configuration for MB Topic Acknowledgement

2016-08-08 Thread Tharindu Edirisinghe
Hi Devs, By default, $subject is *AUTO_ACKNOWLEDGE* as mentioned in WSO2 documentation. I need to change this behavior to keep messages until it gets the acknowledgment for that. What are the changes I need to do? Is it only the config change in axis2.xml or need to change in subscriber as well

[Dev] IS-Analytics - Hiding 'Internal/Everyone' and 'Application' roles in "Roles" gadget.

2016-08-08 Thread Hasintha Indrajee
Hi all, We have following concerns about roles when showing in gadgets in IS analytics. In IS analytics do we need show 'Application' roles in top roles gadget ?. For an example do we need to show "Application/travelocity" role as a top role in role gadget if the count is high ? We have followin