Re: [Dev] [GSOC 16] Initial Project Progress

2016-07-04 Thread Isuru Haththotuwa
Hi Osura, On Tue, Jul 5, 2016 at 9:49 AM, Osura Rathnayake wrote: > Hi Akila, > > Please find more about tenantId here [1]. > Seems the tenantId you are referring to a detail specific to Azure. Please confirm. Since there is a tenancy concept in Carbon as well, shall we

Re: [Dev] [WSO2 Connector] Concur- getExchangeRate issue

2016-07-04 Thread Keerthika Mahendralingam
+dev On Tue, Jul 5, 2016 at 9:57 AM, Keerthika Mahendralingam wrote: > Yes Malaka, We can only get the exchange rate with the expense(as in [1] ) > which is already added to the expense as in [2]. > > @Godwin, AFAIK we don't have any connector method to get the exchange

[Dev] Regarding APPM-1160

2016-07-04 Thread Dinusha Senanayaka
Hi Chathura, Does multi-tenancy supports in EMM for device management ? If yes, we need to fix [1] as well, which means we cannot keep this configuration in the app-manager.xml. Need to take it to registry. [1] https://wso2.org/jira/browse/APPM-1160 Regards, Dinsuha. -- Dinusha Dilrukshi

Re: [Dev] [Axis2] Response status code 202 for No content message body

2016-07-04 Thread Malintha Amarasinghe
Agree with Manuri and Madhawa. 202 Accepted is used in long running processes [1]. 204 is the better status code to say when there's no content body but the request is processed. [1] http://farazdagi.com/blog/2014/rest-long-running-jobs/ On Tue, Jul 5, 2016 at 10:00 AM, Manuri Amaya Perera

Re: [Dev] [Axis2] Response status code 202 for No content message body

2016-07-04 Thread Manuri Amaya Perera
AFAIU 202 should not be sent when request is already processed. [1] clearly states that 202 is for a situation like, "The request has been accepted for processing, but the processing has not been completed. The request might or might not eventually be acted upon, as it might be disallowed when

Re: [Dev] [Dockerfile] WSO2IS docker image build fails due to missing file

2016-07-04 Thread Udara Liyanage
Hi, The issue was IS unzipped directory was there at files directory. Thanks Thanuja for the offline help. On Mon, Jul 4, 2016 at 6:41 AM, Udara Liyanage wrote: > Hi, > > WSO2 IS as KM docker image build fails due to a missing file. This file is > not found even in original

[Dev] [Tooling]-Developer Studio Kernel 4.2.0 alpha released !

2016-07-04 Thread Jasintha Dasanayake
Hi all, We are pleased to announce the alpha release of *WSO2 Developer Studio Kernel 4.2.0 * P2 repository of WSO2 developer Studio kernel 4.2.0-Alpha is available here . Source and Tag Location for this

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.7 RC1

2016-07-04 Thread Hasitha Aravinda
Tested with BPS 3.6.0-SNAPSHOT. No issue found. [x] Stable - go ahead and release. Thanks, Hasitha. On Mon, Jul 4, 2016 at 6:42 PM, Kasun Bandara wrote: > Hi all, > > I could successfully run IS test suit with the upgraded Kernel 4.4.7- RC1. > Hence +1 for the release. > >

Re: [Dev] [GSOC 16] Initial Project Progress

2016-07-04 Thread Akila Ravihansa Perera
Hi Osura, I'm still not clear on tenantId. Perhaps you can explain in detail during the code review meeting. Regarding the last point, yes it should be localMemberPort. Sorry, it was a typo. One more thing, I noticed that test cases are empty [1]. Are you still working on implementing those?

Re: [Dev] How can we keep wait a docker container to start

2016-07-04 Thread Gayan Gunarathne
Yeah.Currently this is not supported with Docker Compose.So we are using sleep for this. But there is a health check feature listed under next version[1][2].May be with that version we able to use that to determine if a container is "alive". [1]https://github.com/docker/docker/issues/21142

Re: [Dev] [DEV] [GSoC] Meeting minutes from Dockerfiles test framework demo

2016-07-04 Thread Imesh Gunaratne
Hi Abhishek, Were you able to check the possibility of verifying Docker images using K8S artifacts? Thanks On Wed, Jun 29, 2016 at 12:01 PM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > Great work Abhishek. We need to prioritize the work and discuss the final > deliverables. We can

Re: [Dev] [GSOC 16] Initial Project Progress

2016-07-04 Thread Osura Rathnayake
Hi Akila, Thank you for the feedback. tenantId is used because it is needed in the url which is used to authenticate. WIthout the tenantId the url would be incomplete. I have fixed [1] all the issues you have mentioned in the previous email except for the Netflix Feign standard and I'm looking

Re: [Dev] [APIM 2.0] [clarification] [api manager xml] all server url's local ip has hard coded as 'localhost'

2016-07-04 Thread Sam Sivayogam
We did this change due to the issue discussed in mail thread [1] [1] APIM Getting SSLPeerUnverifiedException after upgrading to kernel 4.4.4 Thanks, Sam On Mon, Jul 4, 2016 at 2:19 PM, Bhathiya Jayasekara wrote: > Yes, we had to do this after kernel upgrade. > > Thanks, >

Re: [Dev] How can we keep wait a docker container to start

2016-07-04 Thread Lakmal Warusawithana
Its only work for container start time , not wait for app start time inside the container. We have introduced sleep environment variable in our products, if we define sleep in compose, our startup script wait sleep time before start the server. On Monday, July 4, 2016, Tharindu Dharmarathna

Re: [Dev] [IS] RESTful Fine Grained Authorization-as-a-Service (AZaaS)

2016-07-04 Thread Manujith Pallewatte
Hi all, So to start working on the points discussed in the mid evaluation, first is to align the service with the REST profile of XACML 3.0 [1] But according to the spec only the following 2 resources are defined 1) home - entry point for REST service, returns links to other resources 2) pdp -

[Dev] How can we keep wait a docker container to start

2016-07-04 Thread Tharindu Dharmarathna
Hi All, Is there any way to wait the start of containers which depends on other container get started successfully. I had tried with [1] . But it didn't get worked as well. [1] - https://docs.docker.com/compose/startup-order/ -- *Tharindu Dharmarathna*Software Engineer WSO2 Inc.;

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.7 RC1

2016-07-04 Thread Kasun Bandara
Hi all, I could successfully run IS test suit with the upgraded Kernel 4.4.7- RC1. Hence +1 for the release. Thanks, Kasun On Mon, Jul 4, 2016 at 5:35 PM, Chamalee De Silva wrote: > P.S. Test done base done API Manager 2.0.0 beta-2 > > On Mon, Jul 4, 2016 at 5:33 PM,

Re: [Dev] "[ml][cep][gsoc-2016]Samoa vs Spark.Which is good for streaming?"

2016-07-04 Thread Mahesh Dananjaya
Hi Srinath, Yes , Mahout has algorithms that can be used for streaming applications such as SGD. They have listed their algorithms in [1]. And IMO in Samoa they have implement some streaming applications based on those algorithms . Seems to be they are still on it. you can see couple of such

Re: [Dev] "[ml][cep][gsoc-2016]Samoa vs Spark.Which is good for streaming?"

2016-07-04 Thread Srinath Perera
Does Mahout has any streaming algorithms? ( list you sent do not have anything as I can tell)? Also I think mahout needs hadoop, which has the same problem as needing Spark. --Srinath On Mon, Jul 4, 2016 at 1:51 PM, Mahesh Dananjaya wrote: > Hi Maheshakya, > As i

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.7 RC1

2016-07-04 Thread Chamalee De Silva
P.S. Test done base done API Manager 2.0.0 beta-2 On Mon, Jul 4, 2016 at 5:33 PM, Chamalee De Silva wrote: > Hi, > I tested the kernel 4.4.7 RC1 with > > MySQL 5.6 and 5.7, > Oracle 11g, > PostgreSQL 9.3 > > and they worked without an issue. > > [x] Stable - go ahead and

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.7 RC1

2016-07-04 Thread Chamalee De Silva
Hi, I tested the kernel 4.4.7 RC1 with MySQL 5.6 and 5.7, Oracle 11g, PostgreSQL 9.3 and they worked without an issue. [x] Stable - go ahead and release. Thanks, Chamalee On Mon, Jul 4, 2016 at 5:09 PM, Anupama Pathirage wrote: > Hi, > > I tested DSS 3.5.1 Snapshot with

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.7 RC1

2016-07-04 Thread Anupama Pathirage
Hi, I tested DSS 3.5.1 Snapshot with kernel 4.4.7 RC1 and didn't find any issue related to this RC. *Note :* Feature repo not shown issue [1], introduced with kernel 4.4.6 is observed. Hope this will be fixed in a future release. [1] https://wso2.org/jira/browse/CARBON-15973 Regards, Anupama

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.7 RC1

2016-07-04 Thread Fazlan Nazeem
Hi all, I have tested the User/Registry with 4.4.7 kernel for the following databases. - Mssql - DB2 - Informix (LDAP user store) [x] Stable - go ahead and release. On Mon, Jul 4, 2016 at 4:58 PM, Shashika Ubhayaratne wrote: > Hi, > > I tested the kernal with

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.7 RC1

2016-07-04 Thread Shashika Ubhayaratne
Hi, I tested the kernal with following databases and no issues observed. Test Area: Add/ Delete resource (inline text) and collection Add/Remove user and role Databases: mysql 5.5. mysql 5.7 postgres 9.3 oracle 12c Regards, Shashika Shashika Ubhayaratne Associate Technical Lead - QA WSO2 Inc:

[Dev] [Dockerfile] WSO2IS docker image build fails due to missing file

2016-07-04 Thread Udara Liyanage
Hi, WSO2 IS as KM docker image build fails due to a missing file. This file is not found even in original pack. bash build.sh -v 5.1.0 -s mesos -r puppet 172.17.0.3 - - [04/Jul/2016 06:21:27] "GET /modules/wso2is_km/files/wso2is_km-5.1.0/modules/ws/ HTTP/1.1" 200 - 2016-07-04 10:21:27 URL:

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.7 RC1

2016-07-04 Thread Aruna Karunarathna
Hi all, I've tested the kernel with following databases and found no issues. 1. mysql_cluster - Server version: 5.6.29-ndb-7.4.11-cluster-gpl 2. mariadb 5.5.49-MariaDB-1ubuntu0.14.04.1 [x] Stable - go ahead and release. Regards, Aruna On Fri, Jul 1, 2016 at 6:20 PM, Jayanga Dissanayake

Re: [Dev] Cannot log into management console when disk usage is at 100%

2016-07-04 Thread Grainier Perera
Current audit.log/wso2carbon.log only seems to have logs after the incident. Earlier logs (wso2carbon.log.2016-07-03) seems to ends with; > org.apache.qpid.pTID: [-1234] [] [2016-07-03 00:53:07,213] ERROR > {org.wso2.carbon.registry.core.dataaccess.TransactionManager} - Failed to > start new

Re: [Dev] [Architecture] Provide Support to run Jaggery apps in Tomcat Server

2016-07-04 Thread Manjula Rathnayake
Hi Nisala and Kasun, Great. This will help us to include AS6 as a jaggery runtime in AppCloud. thank you. On Mon, Jul 4, 2016 at 3:04 PM, KasunG Gajasinghe wrote: > > > On Mon, Jul 4, 2016 at 1:48 PM, Nisala Nanayakkara > wrote: > >> Hi Manjula, >> >>

Re: [Dev] [Architecture] Provide Support to run Jaggery apps in Tomcat Server

2016-07-04 Thread KasunG Gajasinghe
On Mon, Jul 4, 2016 at 1:48 PM, Nisala Nanayakkara wrote: > Hi Manjula, > > Yes.Jaggery support will be inbuilt into the server with the release of > AS-6.0.0 next milestone. This email and documentation is provided to inform > the procedure of running jaggery apps in a pure

Re: [Dev] Cannot log into management console when disk usage is at 100%

2016-07-04 Thread Dulanja Liyanage
What was getting printed on the logs? Thanks, Dulanja On Mon, Jul 4, 2016 at 2:11 PM, Grainier Perera wrote: > Hi All, > > I was trying to access Carbon Management Console (of DAS 3.0.1) with > correct credentials and it kept returning "Login failed! Please recheck the >

Re: [Dev] [APIM 2.0] [clarification] [api manager xml] all server url's local ip has hard coded as 'localhost'

2016-07-04 Thread Bhathiya Jayasekara
Yes, we had to do this after kernel upgrade. Thanks, Bhathiya On Mon, Jul 4, 2016 at 2:15 PM, Kavitha Subramaniyam wrote: > Hi apim team, > I have observed $subject in 17th pack & beta2 pack[1] and we want to make > sure whether this change has been done purposely since

[Dev] [APIM 2.0] [clarification] [api manager xml] all server url's local ip has hard coded as 'localhost'

2016-07-04 Thread Kavitha Subramaniyam
Hi apim team, I have observed $subject in 17th pack & beta2 pack[1] and we want to make sure whether this change has been done purposely since earlier packs had parameter reference for the server url. Please confirm.. [1] https://localhost: ${mgt.transport.https.port}${carbon.context}services/

[Dev] Cannot log into management console when disk usage is at 100%

2016-07-04 Thread Grainier Perera
Hi All, I was trying to access Carbon Management Console (of DAS 3.0.1) with correct credentials and it kept returning "Login failed! Please recheck the username and password and try again.". Then I checked disk usage of that node and it was at 100% (/dev/sda1 29G 29G 0 100% /). After cleaning

[Dev] "[ml][cep][gsoc-2016]Samoa vs Spark.Which is good for streaming?"

2016-07-04 Thread Mahesh Dananjaya
Hi Maheshakya, As i sent you before there are several options other than spark that we can used for our purpose [1]. I wen t through Samoa up to some extent. [2] Samoa is the streaming extension for ML framework Mahout [4] . Mahout is basically using hadoop framework and has lots of counterparts

Re: [Dev] [Architecture] Provide Support to run Jaggery apps in Tomcat Server

2016-07-04 Thread Nisala Nanayakkara
Hi Manjula, Yes.Jaggery support will be inbuilt into the server with the release of AS-6.0.0 next milestone. This email and documentation is provided to inform the procedure of running jaggery apps in a pure tomcat server, not in the AS-6.0.0. I will update the finalized documentation and

Re: [Dev] [Architecture] Provide Support to run Jaggery apps in Tomcat Server

2016-07-04 Thread Manjula Rathnayake
Hi all, IIUC, when we release the next AS-6.0.0 milestone, jaggery support is inbuilt into the server. And users do not need to follow above instructions to copy jars etc. Please correct If it is not. thank you. On Mon, Jul 4, 2016 at 12:42 PM, Sinthuja Ragendran wrote: >

Re: [Dev] Scope based authorization for CDMF

2016-07-04 Thread Chathura Dilan
+1 Instead of having users:add, users:edit, users:view and users:delete we can have all of them under users:manage scope. But when designing the scopes it not possible to consider all the business functionalities so we can provide basic functionalities such as users:manage, roles:view,

Re: [Dev] Provide Support to run Jaggery apps in Tomcat Server

2016-07-04 Thread Sinthuja Ragendran
Hi, Anyhow ultimately when all the carbon products move to AS 6.0 based platform, we can merge all those into one. Thanks, Sinthuja. On Mon, Jul 4, 2016 at 12:38 PM, Nisala Nanayakkara wrote: > Hi Kasun, > > Yes.We can do a performance round. Currently we manage the Tomcat

Re: [Dev] log user events to audit.log file via Jaggery block layer

2016-07-04 Thread Danushka Fernando
Shall we have two logs prior to action and after success or failure of the action. And I am suggesting to have logs like User XXX triggered action YYY Action YYY triggered by User XXX successfully completed Error occurred while processing Action YYY triggered by User XXX WDYT? Thanks & Regards

Re: [Dev] Provide Support to run Jaggery apps in Tomcat Server

2016-07-04 Thread Nisala Nanayakkara
Hi Kasun, Yes.We can do a performance round. Currently we manage the Tomcat Jaggery/ AS6 support code base under a new branch [1] in our jaggery repository. Current jaggery is based on tomcat version 7 and Tomcat Jaggery implementation is based on tomcat version 8. So there are some api changes

Re: [Dev] DAS event receiving gets blocked under high load in minimum HA

2016-07-04 Thread Supun Sethunga
Execution plan: [1] https://github.com/wso2/analytics-esb/blob/master/features/org.wso2.analytics.esb.feature/src/main/capp/realtime/ESBAnalyticsExecutionPlan/ESBAnalytics.siddhiql Thanks, Supun On Mon, Jul 4, 2016 at 12:30 PM, Supun Sethunga wrote: > Attached the thread

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-07-04 Thread Asantha Thilina
Hi Tharindu, thanks for the reply ,sure i will try out that and update the progress as soon as possible Thanks, Asantha On Mon, Jul 4, 2016 at 1:38 AM, Tharindu Edirisinghe wrote: > Hi Asantha, > > While you are adding the roll back transaction capability, also look into >

[Dev] [DEV][ES]Secure Vault for JSON files in Enterprise Store(ES)

2016-07-04 Thread Megala Uthayakumar
Hi, We are working on ES extension for DS(Dashboard Server) gadgets. In that case, we need to have the user name and password in a json file and that is used to authenticate the user in DS side when sending a DS gadgets from ES side to DS. Is secure vault for json files is available in ES? If so

Re: [Dev] Scope based authorization for CDMF

2016-07-04 Thread Prabath Abeysekera
IMO, scopes for any application should be designed and implemented taking the end-to-end business functionalities into account, rather than focussing on different discrete pieces of small functional units such as UI, BE, etc. For instance, if some user is authorized to "manage users", the

[Dev] Scope based authorization for CDMF

2016-07-04 Thread Chathura Dilan
+Dev For the UI IMO, UI should have their own permissions. and they should be associated with scopes Such as *UI Permission scopes* manage_user users:add, users:edit, users:delete, users:view, roles:view view_user users:view These UI permissions can to be assigned from the

Re: [Dev] Please merge

2016-07-04 Thread Isura Karunaratne
Hi Kalpa, Please find the carbon-multitenancy jira [1]. Test case for this improvement can be written in Identity Sever side. Thanks Isura [1] https://wso2.org/jira/browse/CMTENANCY-5 On Mon, Jul 4, 2016 at 6:26 AM, Kalpa Welivitigoda wrote: > Hi Isura, > > Would you please