Re: [Dev] String plus compiles to append

2015-12-17 Thread Manuranga Perera
My comment is about using plus out side of loops. Obviously we should use StringBuilder when using loops. But we shouldn't uses it unnecessary outside of loops since it affects readability. On Thu, Dec 17, 2015 at 11:23 AM, Rasika Perera wrote: > Hi All, > > Please find

Re: [Dev] [AppFac][Docker]Best Java Docker Client Library

2015-12-17 Thread Roshan Deniyage
Hi Samith, If we use a docker plugin, it becomes a part of build job so, need to generate the docker file before the build starts. If we use the existing appfactory jenkins plugin, we can generate the docker file and call the docker commands after the build is finish inside our plugin. Docker

Re: [Dev] HTTPS REST Client

2015-12-17 Thread Malmee Weerasinghe
Hi Dharshana, I tried with what you suggested. But I still get the same error. ppaas-artifact-converter tool doesn't run on Carbon and it runs independently. Therefore for "System.getProperty("carbon.home")" it returns null. I tried copying this file, "wso2carbon.jks" to the resources folder. But

Re: [Dev] LDA-Topic-Model by Apache Spark

2015-12-17 Thread Srinath Perera
Adding dev@ What are the topic identified? Do they have real life explanation? What happen with 3 and more topics? --Srinath On Wed, Dec 16, 2015 at 2:00 PM, Sinnathamby Mahesan wrote: > Dear Srinath / Nirmal > >- This is about the program for Apache Spark LDA

Re: [Dev] String plus compiles to append

2015-12-17 Thread Afkham Azeez
+1 On Thu, Dec 17, 2015 at 1:55 PM, Manuranga Perera wrote: > My comment is about using plus out side of loops. Obviously we should use > StringBuilder when using loops. But we shouldn't uses it unnecessary > outside of loops since it affects readability. > > On Thu, Dec 17, 2015

Re: [Dev] Please update carbon-parent version to 2

2015-12-17 Thread Afkham Azeez
Please add documentation on the new Carbon bundle plugin maven properties. On Thu, Dec 17, 2015 at 7:13 PM, Manuri Amaya Perera wrote: > Hi, > > Please upgrade carbon-parent version to 2[1] in product-mss and product-gw > if it has not been done already. > I have sent a PR

[Dev] [Architecture] WSO2 Business Process Server 3.5.1 - Beta Released !

2015-12-17 Thread Firzhan Naqash
WSO2 Business Process Server 3.5.1 - Beta Released ! Date : 17th December 2015 WSO2 BPS team is pleased to announce the Beta release of WSO2 BPS 3.5.1 Beta. You can download the distribution from [1]. WSO2 Business Process Server (BPS) is an easy-to-use Open Source Business Process Server that

[Dev] Please update carbon-parent version to 2

2015-12-17 Thread Manuri Amaya Perera
Hi, Please upgrade carbon-parent version to 2[1] in product-mss and product-gw if it has not been done already. I have sent a PR with required changes for product-gw[2]. [1] https://github.com/wso2/carbon-parent/blob/carbon-parent-2/pom.xml [2] https://github.com/wso2/product-gw/pull/26 Thank

Re: [Dev] Please update carbon-parent version to 2

2015-12-17 Thread Manuri Amaya Perera
Hi Azeez, It has already been added to C5 documentation[1]. But need to do some changes and doc team will look into that tomorrow. [1] https://docs.wso2.com/display/Carbon500/Using+the+Maven+Bundle+Plugin Thank you. On Thu, Dec 17, 2015 at 7:17 PM, Afkham Azeez wrote: >

[Dev] Is it possible to install a feature into a Carbon server from target folder?

2015-12-17 Thread Sumedha Rubasinghe
Wondering if $subject is possible without building whole feature repo? -- /sumedha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [DEV][IS] Getting an Unique index or primary key violation exception.

2015-12-17 Thread Kamidu Punchihewa
Hi IS Team. The above error occurs in the 1st token expiration time also,with on device calling a singleton token refreshing call to IS. This happens when EMM android agent try to acquire a new set of token on the access token expiry using the refresh token grant. This Issue Started after the IS

Re: [Dev] [DEV][IS] Getting an Unique index or primary key violation exception.

2015-12-17 Thread Kamidu Punchihewa
Hi Johann/IS Team, As per the discussion i had offline earlier above exception occurred under heavy loads. The above exception occurred without any high loads in the system. When one devices logged in for some time, without any concurrent calls to IS, this exception is given to the device. Any

Re: [Dev] [VOTE] Release WSO2 Machine Learner 1.1.0 RC1

2015-12-17 Thread Maheshakya Wijewardena
Hi all, We are calling off the VOTE due to an issue and will start a new Vote for Machine Learner 1.1.0 RC2. Best regards. On Fri, Dec 18, 2015 at 10:42 AM, Maheshakya Wijewardena < mahesha...@wso2.com> wrote: > Hi Devs, > > This is the 1st Release Candidate of WSO2 Machine Learner 1.1.0. > >

[Dev] Fwd: [API Manager] Creating android Client sdk using swagger source code

2015-12-17 Thread Randika Navagamuwa
Hi all, I'm trying to come with a solution to reduce the complexity of developing android apps. I found out that it would be better to integrate the solution with API manager. - User should be able create APIs. - Then when he is using those APIs, Android client sdk should be generated

Re: [Dev] [Architecture] [ESB] Deprecated features in ESB 4.10

2015-12-17 Thread Isuru Udana
Hi Amila, On Fri, Dec 18, 2015 at 11:12 AM, Amila Maha Arachchi wrote: > Have you seen *Enqueue* and *RMSequence* mediators being used when > implementing mediation logics? > We have already removed RMSequence mediator in 4.9.0. I haven't seen anyone using Enqueue Mediator in a

Re: [Dev] HTTPS REST Client

2015-12-17 Thread Kasun Indrasiri
Any reason to building a HTTP client from scratch? Why don't we use existing libs such as HTTPClient or Netty? On Fri, Dec 18, 2015 at 8:51 AM, Harsha Thirimanna wrote: > Just try to give absolute path first and test. Because as Dharshana > mentioned, it should work. > > >

[Dev] [VOTE] Release WSO2 Identity Server 5.1.0 RC1

2015-12-17 Thread Hasintha Indrajee
Hi Devs, This is the first release candidate of WSO2 Identity Server 5.1.0. This release fixes the following issues: https://wso2.org/jira/issues/?filter=12586 Please download, test and vote. Source & binary distribution files: https://github.com/wso2/product-is/releases/tag/v5.1.0-rc1 Maven

[Dev] NPE when deploying API Store on IoT Server

2015-12-17 Thread Sumedha Rubasinghe
[2015-12-18 13:01:34,068] INFO {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} - Deployed webapp:

Re: [Dev] [dev] DS test fixes after UI changes.

2015-12-17 Thread Ayesha Dissanayaka
Created ui-test-fixes branch in carbon-dashboards as well. [2] https://github.com/wso2/carbon-dashboards/tree/ui-test-fixes Thanks! -Ayesha On Fri, Dec 18, 2015 at 10:41 AM, Ayesha Dissanayaka wrote: > Hi all, > > I have created new branch *ui-test-fixes* in product-ds repo

Re: [Dev] [DS][DAS] Sample for DashboardServer - How to get back-end url, username, password for DAS to invoke DAS rest API from jaggery file

2015-12-17 Thread Supun Sethunga
Hi Rajeenthini, Instead of the DAS REST API, you can use the "Analytics javascript API" [1]. This should eliminate the requirement of needing user-credentials. (or doesn't need to send an Authorization header) [1] https://docs.wso2.com/display/DAS300/Analytics+JavaScript+(JS)+API Regards, Supun

[Dev] Can we suppress DAS message for schedule task execution?

2015-12-17 Thread Sumedha Rubasinghe
It can fill up the logs quite easily when there are lot of scheduled scripts running @ low intervals. As an alternative, Make it a DEBUG & have an UI option to see when was the script last ran. eg: [2015-12-18 13:05:34,067] INFO

Re: [Dev] [Architecture] [ESB] Deprecated features in ESB 4.10

2015-12-17 Thread Prabath Abeysekera
I agree with Cyril. In addition to what's already been mentioned, I don't think it's a good idea to make mediation threads blocked for database calls, etc via DBLookup/DBReport for longer periods of time, as most of the queries that are usually being used in pretty much any practical enterprise

Re: [Dev] [Architecture] [ESB] Deprecated features in ESB 4.10

2015-12-17 Thread Amila Maha Arachchi
Have you seen *Enqueue* and *RMSequence* mediators being used when implementing mediation logics? On Wed, Dec 9, 2015 at 12:11 PM, Kasun Indrasiri wrote: > Shall we deprecate following mediators in 4.10 release. > > *- Callout mediator :* > All the callout functionality is

[Dev] UUF/Jaggery - unformatted error

2015-12-17 Thread Sumedha Rubasinghe
Sajith, What is the reason for following exception to be printed in an unformatted manner? > [2015-12-18 13:01:35,127] ERROR {JAGGERY.config.app:js} - org.mozilla.javascript.WrappedException: Wrapped java.lang.ArrayIndexOutOfBoundsException: 1 (/publisher/modules/data/driver.js#40)_ at

[Dev] jtds driver for MSSQL

2015-12-17 Thread Sashika Wijesinghe
Hi All, May I know whether we are supporting jtds driver for MSSQL? Is it recommended to use jtds driver? Thanks, -- *Sashika WijesingheSoftware Engineer - QA Team* Mobile : +94 (0) 774537487 sash...@wso2.com ___ Dev mailing list Dev@wso2.org

Re: [Dev] jtds driver for MSSQL

2015-12-17 Thread Prabath Abeysekera
Yeah, things should work OOTB with JTDS driver too. If you come across any issue while testing with the same, please do raise JIRAs as appropriate. Cheers, Prabath On Thu, Dec 17, 2015 at 5:36 PM, Sashika Wijesinghe wrote: > Hi All, > > May I know whether we are supporting

Re: [Dev] jtds driver for MSSQL

2015-12-17 Thread Sashika Wijesinghe
Thanks Prabath. On Thu, Dec 17, 2015 at 5:52 PM, Prabath Abeysekera wrote: > Yeah, things should work OOTB with JTDS driver too. If you come across any > issue while testing with the same, please do raise JIRAs as appropriate. > > Cheers, > Prabath > > On Thu, Dec 17, 2015 at

Re: [Dev] jtds driver for MSSQL

2015-12-17 Thread Prabath Abeysekera
No prob! On Thu, Dec 17, 2015 at 5:56 PM, Sashika Wijesinghe wrote: > Thanks Prabath. > > On Thu, Dec 17, 2015 at 5:52 PM, Prabath Abeysekera > wrote: > >> Yeah, things should work OOTB with JTDS driver too. If you come across >> any issue while testing

Re: [Dev] HTTPS REST Client

2015-12-17 Thread Harsha Thirimanna
Just try to give absolute path first and test. Because as Dharshana mentioned, it should work. *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * * *email: **hars...@wso2.com* * cell: +94 71 5186770 * *twitter:

Re: [Dev] HTTPS REST Client

2015-12-17 Thread Dharshana Warusavitharana
Hi Malmee, You have to replace the cert location with actuvel .srt file you have. Thank you, Dharshana On Thu, Dec 17, 2015 at 2:32 PM, Malmee Weerasinghe wrote: > Hi Dharshana, > I tried with what you suggested. But I still get the same error. > ppaas-artifact-converter tool

[Dev] [dev] DS test fixes after UI changes.

2015-12-17 Thread Ayesha Dissanayaka
Hi all, I have created new branch *ui-test-fixes* in product-ds repo in-order to perform test fixes. All the PRs related to these test fixes, please send them to this branch. As discussed once all the test related changes are done, we'll merge this branch to the master. [1]

[Dev] [VOTE] Release WSO2 Machine Learner 1.1.0 RC1

2015-12-17 Thread Maheshakya Wijewardena
Hi Devs, This is the 1st Release Candidate of WSO2 Machine Learner 1.1.0. This release fixes the following issues: https://wso2.org/jira/issues/?filter=12589 Please download, test and vote. Vote will be open for 72 hours or as longer as needed. *Binary distribution files:*

[Dev] [DS][DAS] Sample for DashboardServer - How to get back-end url, username, password for DAS to invoke DAS rest API from jaggery file

2015-12-17 Thread Rajeenthini Satkunam
Hi all, Currently I am working on creating sample for dashboard server with DAS integration.I need to invoke DAS rest API from Jaggery file(sample.jag) to get some data.As per documentation[1] of DAS rest API we need to send authorization header along with request to fetch data from DAS. So for