Re: [Dev] Fwd: Creating the carbon UI component

2015-06-02 Thread Pubudu Gunatilaka
Hi Jane, One of the things I noticed in your student-manager-component is that you have a corrupted wsdl file in the "org.wso2.carbon.student.mgt.stub/src/main/resources". Therefore it won't generate the source code for the stub.("org.wso2.carbon.student.mgt.stub/target/generated-code/"). Save th

[Dev] User creation failed with OpenDJ

2015-06-02 Thread Godwin Amila Shrimal
Hi, I have configured a secondary user store for OpenDJ LDAP server and trying to create a user, it gives following error. What can be the problem for this ? javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Pre-encoded passwords are not allowed for the password attribute userP

Re: [Dev] User creation failed with OpenDJ

2015-06-02 Thread Dulanja Liyanage
Hi Godwin, Did you compare the configurations of the Secondary with the Primary? Secondary userstore config is saved at: wso2is-5.0.0/repository/deployment/server/userstores. If they are different, Put the Primary's config to secondary and retry. Thanks, Dulanja On Tue, Jun 2, 2015 at 4:47 PM,

Re: [Dev] User creation failed with OpenDJ

2015-06-02 Thread Godwin Amila Shrimal
Hi Dulanja, Thanks for the response, there was a problem UserDNPattern, the are using cn={0} not uid={0} Thanks Godwin On Tue, Jun 2, 2015 at 2:26 PM, Dulanja Liyanage wrote: > Hi Godwin, > > Did you compare the configurations of the Secondary with the Primary? > > Secondary users

[Dev] [CEP][Error] Configured CEP with stratos

2015-06-02 Thread Pranavan Theivendiram
Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactiv

Re: [Dev] [CEP][Error] Configured CEP with stratos

2015-06-02 Thread Nirmal Fernando
If you are trying to setup Stratos in distributed mode, you have to use WSO2 CEP 3.1.0 released version. If you want to use Stratos in single JVM mode, you do not need an external CEP. On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram < pranavan...@cse.mrt.ac.lk> wrote: > Hi All, > > I am get

Re: [Dev] [CEP][Error] Configured CEP with stratos

2015-06-02 Thread Pranavan Theivendiram
Hi Nirmal, I am using WSO2 CEP 3.1.0, but I am getting those errors. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science & Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:29, Nirmal Fernando wrote: > If you are trying to setup Stratos in distribu

Re: [Dev] [CEP][Error] Configured CEP with stratos

2015-06-02 Thread Nirmal Fernando
Ok. Did you add the Stratos extensions jar into CEP (repository/components/lib) directory ? https://github.com/apache/stratos/tree/master/extensions/cep/stratos-cep-extension On Tue, Jun 2, 2015 at 6:37 PM, Pranavan Theivendiram < pranavan...@cse.mrt.ac.lk> wrote: > Hi Nirmal, > > I am using WSO2

Re: [Dev] [CEP][Error] Configured CEP with stratos

2015-06-02 Thread Pranavan Theivendiram
Hi Nirmal, I have added. ( I built this component and got the jar and added) *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science & Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:42, Nirmal Fernando wrote: > Ok. Did you add the Stratos extensions

Re: [Dev] [CEP][Error] Configured CEP with stratos

2015-06-02 Thread Nirmal Fernando
There should be a siddhi.extension file in /repository/conf/siddhi which loads all these Stratos extensions. Which guide you are following? I can see this file here: https://github.com/apache/stratos/blob/master/products/stratos/modules/distribution/src/main/conf/siddhi/siddhi.extension On Tue, J

Re: [Dev] [CEP][Error] Configured CEP with stratos

2015-06-02 Thread Pranavan Theivendiram
Hi Nirmal, I am following the docs given below. 1. https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Complex+Event+Processor+Configuration *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science & Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June

Re: [Dev] [CEP][Error] Configured CEP with stratos

2015-06-02 Thread Nirmal Fernando
Please add that file into CEP (/repository/conf/siddhi) and restart CEP and see. On Tue, Jun 2, 2015 at 6:59 PM, Pranavan Theivendiram < pranavan...@cse.mrt.ac.lk> wrote: > Hi Nirmal, > > I am following the docs given below. > >1. > > https://cwiki.apache.org/confluence/display/STRATOS/4.

[Dev] [AF] Why are we having JDBCApplicationDAOTest and JDBCAppVersionDAOTest

2015-06-02 Thread Mahesh Chinthaka
Hi all, In addition to integration tests we are having JDBCApplicationDAOTest.java and JDBCAppVersionDAOTest.java in org.wso2.carbon.appfactory.core (under src/test). Other org.wso2.carbon.appfactory bundles dont have such test classes. If this is a test case why dont we have it as a integration

Re: [Dev] [AF] Why are we having JDBCApplicationDAOTest and JDBCAppVersionDAOTest

2015-06-02 Thread Dimuthu Leelarathne
Hi Mahesh, These are unit tests. These are very important aspect of testing as well. thanks, dimuthu On Tue, Jun 2, 2015 at 7:11 PM, Mahesh Chinthaka wrote: > Hi all, > > In addition to integration tests we are having JDBCApplicationDAOTest.java > and JDBCAppVersionDAOTest.java in org.wso2.ca

Re: [Dev] [CEP][Error] Configured CEP with stratos

2015-06-02 Thread Pranavan Theivendiram
Hi Nirmal, Thanks. I will check and update. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science & Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 19:05, Nirmal Fernando wrote: > Please add that file into CEP (/repository/conf/siddhi) and > restart C

Re: [Dev] [CEP][Error] Configured CEP with stratos

2015-06-02 Thread Pranavan Theivendiram
Hi Nirmal, Cannot Load Siddhi extension errors is coming again and again. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science & Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 19:14, Pranavan Theivendiram wrote: > Hi Nirmal, > > Thanks. I will check

Re: [Dev] Error while running the Application server

2015-06-02 Thread Aaquibah Nashry
i unset the CARBON_HOME variable and ran the AS as usual, and it still works. M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com On Mon, Jun 1, 2015 at 8:16 PM, Sachith Withana wrote: > The problem might be due to working inside the /usr/

[Dev] Inbound EPs - missing functionalities

2015-06-02 Thread Kasun Indrasiri
Hi, Regarding the $subject. - How we can suspend a given inbound (no option given in the UI) - No source view for inbound EP - Did we test inbound EPs with cApps? - Coordination = true doesn't make sense. (having single consumer or multiple consumer are two different coordination mechanisms). We

Re: [Dev] Error while running the Application server

2015-06-02 Thread Thusitha Thilina Dayaratne
Hi, When the server starts it is setting the CARBON_HOME value. So even if you unset the CARBON_HOME value before the server starts, it will not affect the server starting process. The interesting thing is how the CARBON_HOME was set to some other place(/usr/nashry/home/SOFTWARES/org.wso2.carbon.s

Re: [Dev] [CEP][Error] Configured CEP with stratos

2015-06-02 Thread Mohanadarshan Vivekanandalingam
If you are not encountered any other exception in CEP (believe, you are trying out with standalone CEP 3.1.0), then only possible reason is extension jar is not picked by the OSGI environment.. Below steps may help you to check the issue, 1) Are there many extension jars available? Whether they ha

Re: [Dev] Request to review and merge AS HTTP Monitoring dashboard and toolbox

2015-06-02 Thread Manoj Kumara
Merged. *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Sun, May 31, 2015 at 2:08 PM, Kalpa Welivitigoda wrote: > Hi Carbon team, > > $subject. Please find the PR [1] for the dashboard [2] and PR [3] for the > tool box [4]. > > [

Re: [Dev] Error while running the Application server

2015-06-02 Thread Aaquibah Nashry
Hi, Ya. That was the problem as i understand. Thanks M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com On Tue, Jun 2, 2015 at 7:36 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi, > > When the server starts it is setting

Re: [Dev] [AF] Why are we having JDBCApplicationDAOTest and JDBCAppVersionDAOTest

2015-06-02 Thread Danushka Fernando
These are two different types of tests. 1. Unit tests are to verify small piece of code. 2. Integration tests are ran for the product itself. These are two different types of testing. Refer to [1] [1] http://stackoverflow.com/questions/5357601/whats-the-difference-between-unit-tests-and-integrati

Re: [Dev] Request to review and merge AS HTTP Monitoring dashboard and toolbox

2015-06-02 Thread Kalpa Welivitigoda
Thanks Manoj. On Tuesday, June 2, 2015, Manoj Kumara wrote: > Merged. > > > *Manoj Kumara* > Software Engineer > WSO2 Inc. http://wso2.com/ > *lean.enterprise.middleware* > Mobile: +94713448188 > > On Sun, May 31, 2015 at 2:08 PM, Kalpa Welivitigoda > wrote: > >> Hi Carbon team, >> >> $subject.

Re: [Dev] [CEP][Error] Configured CEP with stratos

2015-06-02 Thread Pranavan Theivendiram
Hi Mohan, I have checked. It looks like an issue. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science & Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 19:45, Mohanadarshan Vivekanandalingam wrote: > If you are not encountered any other exception in

Re: [Dev] [GSoC-2015] Proposal2 : Siddhi Editor for WSO2 CEP

2015-06-02 Thread Sriskandarajah Suhothayan
Hi Tharindu Your work looks good, do you have any updates ? Suho On Sun, May 24, 2015 at 9:54 AM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > > > On Wed, May 20, 2015 at 2:27 AM, Tharindu Munasinghe < > tharindu...@cse.mrt.ac.lk> wrote: > >> Hi Mentors, >> > > Hi Tharindu, > > >>

[Dev] WS-Discovery support for JAX-WS/JAX-RS services

2015-06-02 Thread Shashika Karunatilaka
Please review and merge the implementation of feature [2] and test cases [3] on JIRA [1] [1] https://wso2.org/jira/browse/WSAS-1954 [2] https://github.com/wso2/carbon-deployment/pull/99 [3] https://github.com/wso2/product-as/pull/70 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc:

Re: [Dev] [GSoC-2015] Data Wrangler extension for WSO2 Machine Learner

2015-06-02 Thread Nirmal Fernando
Hi Danula, Please send an update of your work thus far. On Sun, May 10, 2015 at 2:30 PM, Nirmal Fernando wrote: > Hi Danula, > > Welcome to GSoC 15' ! Can you do some research on directly generating > spark transformations using Wrangler and come up with a summary ? > > On Fri, May 8, 2015 at 1

Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-06-02 Thread Nirmal Fernando
Hi Madawa, Please send an update on your work thus far. On Sun, May 10, 2015 at 2:23 PM, Nirmal Fernando wrote: > Hi Madawa, > > Welcome to GSoC 15' ! As the first step, please start exploring > recommendation algorithms of Spark (v1.3) MLLib and we would like to see a > list of supported algor

Re: [Dev] Writing to a database in WSO2 Synapse

2015-06-02 Thread Lahiru Cooray
Hi Chanaka, You may also refer [1] [1] http://lahirucooray.blogspot.com/2015/05/database-interaction-wso2-esb-lets-say.html On Mon, Jun 1, 2015 at 9:22 AM, Chanaka Sampath Cooray < chanakasampat...@gmail.com> wrote: > Hi all, > > I want to write some information to a database in wso2 synapse lev

Re: [Dev] Updating APIM integration test cases for test with multiple tenants

2015-06-02 Thread Krishantha Samaraweera
Hi Irham, Can you send a pull request for already completed tests. Note that you don't need to migrate Jmeter tests to run on tenant mode. If test case cannot be executed on tenant mode, please mention the reason under "Remarks" column. Thanks, Krishantha. On Fri, May 22, 2015 at 11:44 AM, Irha

Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-02 Thread Malaka Silva
Hi All, Do we have the latest connector that supports OAUTH 2.0 in store? On Tue, Jun 2, 2015 at 10:02 AM, Naasheer Ali wrote: > Hi Amal, > > +1 for keerthika, > Use oAuth2init method instead of init. > > Regards, > -- > > *Naasheer Ali* | Associate Software Engineer > > WSO2, Inc |#20, Palm Gr

Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-02 Thread Keerthika Mahendralingam
Hi Malaka, Yes. Now we have 2.0.0 version in the connector store. Thanks, On Wed, Jun 3, 2015 at 9:28 AM, Malaka Silva wrote: > Hi All, > > Do we have the latest connector that supports OAUTH 2.0 in store? > > On Tue, Jun 2, 2015 at 10:02 AM, Naasheer Ali wrote: > >> Hi Amal, >> >> +1 for kee

Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-02 Thread Naasheer Ali
Hi Keerthika, Since we have changed the version of the GSS connector in the store, we should change the init method in documentation as well. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com On Wed, Jun 3, 20

Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-02 Thread Keerthika Mahendralingam
+1 On Wed, Jun 3, 2015 at 9:45 AM, Naasheer Ali wrote: > Hi Keerthika, > > Since we have changed the version of the GSS connector in the store, we > should change the init method in documentation as well. > > Regards, > -- > > *Naasheer Ali* | Associate Software Engineer > > WSO2, Inc |#20, Palm

[Dev] [IS] Findbugs Error : "" is provided externally to the method and not sanitized before use.

2015-06-02 Thread Chamila Wijayarathna
Hello all, When profiling using Sonar, I'm getting error as in $subject (squid:S2077) from [1]. What is the reason for this warning? how can I solve this? 1. https://github.com/wso2/carbon-identity/blob/master/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/ide

Re: [Dev] User creation failed with OpenDJ

2015-06-02 Thread Godwin Amila Shrimal
Hi, I missed to mentioned earlier, there was a difference with PasswordHashMethod as well, I think above error should be due to that. Thanks Godwin On Tue, Jun 2, 2015 at 2:49 PM, Godwin Amila Shrimal wrote: > Hi Dulanja, > > Thanks for the response, there was a problem UserDNPattern, the ar

Re: [Dev] WS-Discovery support for JAX-WS/JAX-RS services

2015-06-02 Thread Manoj Kumara
Hi Shashika, Can you check the pull request with the suggestions of the last code review. IIRC we suggested to remove usage of axiom for xml processing. Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Tue, Jun 2, 2

Re: [Dev] WS-Discovery support for JAX-WS/JAX-RS services

2015-06-02 Thread Shashika Karunatilaka
Hi Manoj As per discussion i had with sameera, it will be done in the future as a enhancement. Thank you. On Wed, Jun 3, 2015 at 10:26 AM, Manoj Kumara wrote: > Hi Shashika, > > Can you check the pull request with the suggestions of the last code > review. IIRC we suggested to remove usage of

Re: [Dev] WS-Discovery support for JAX-WS/JAX-RS services

2015-06-02 Thread Supun Malinga
On Wed, Jun 3, 2015 at 10:34 AM, Shashika Karunatilaka wrote: > Hi Manoj > > As per discussion i had with sameera, it will be done in the future as a > enhancement. > Let's create a jira to track this.. thanks, > > Thank you. > > On Wed, Jun 3, 2015 at 10:26 AM, Manoj Kumara wrote: > >> Hi Sh

[Dev] Multiple versions of org.wso2.carbon.webapp.mgt.stub in wso2am-1.9.0-SNAPSHOT

2015-06-02 Thread Saneth Dharmakeerthi
Hi APIM Team, I have noticed there are multiple versions are available for org.wso2.carbon.webapp.mgt.stub in wso2am-1.9.0-SNAPSHOT. Multiple versions available in repository/components/plugins : - org.wso2.carbon.webapp.mgt.stub_4.2.0.jar - org.wso2.carbon.webapp.mgt.stub_4.2.3.jar Which

Re: [Dev] WS-Discovery support for JAX-WS/JAX-RS services

2015-06-02 Thread Shashika Karunatilaka
Hi Manoj/Supun Jira created to track on [1] @Manoj: other than xml processing improvement i have added all the things mentioned in the code review. [1] https://wso2.org/jira/browse/WSAS-1955 On Wed, Jun 3, 2015 at 10:38 AM, Supun Malinga wrote: > > > On Wed, Jun 3, 2015 at 10:34 AM, Shashika

Re: [Dev] Revert some pull requests due to API changes

2015-06-02 Thread Manoj Kumara
Created seperate pull request with the reverted changes. Will merge this in a future release. [1] https://github.com/wso2/carbon4-kernel/pull/232 *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Jun 1, 2015 at 6:10 PM, Manoj K

[Dev] Code coverage percentage

2015-06-02 Thread Gihan Anuruddha
Hi Automation team, What we are actually looking as a code coverage stat? In my ServiceHolder class, I added private constructor based on sonar suggestion. Now, due to that I can't make my class, 100% code coverage in term of line, block and method. How do I overcome this problem and increase my

Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-02 Thread Amal Gunatilake
Hi Guys, Thanks a lot for the information and the help given to figure out the configurations. I finally managed to get it work. Thanks again for the help, appreciate very much ! :) Best regards, Amal. On Wed, Jun 3, 2015 at 9:46 AM, Keerthika Mahendralingam wrote: > +1 > > On Wed, Jun 3, 2015

Re: [Dev] Multiple versions of org.wso2.carbon.webapp.mgt.stub in wso2am-1.9.0-SNAPSHOT

2015-06-02 Thread Saneth Dharmakeerthi
Hi, As per the offline disscution with Amila De Silva, using org.wso2.carbon.webapp.mgt.stub_4.2.3.jar for the integration tests and created JIRA[1] for tracking this issue. [1] https://wso2.org/jira/browse/APIMANAGER-3707 Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer

[Dev] [ESB] Please Review and merge

2015-06-02 Thread Nadeeshaan Gunasinghe
Hi all, Please consider the bellow PRs for the Persistent Property implementation. [1] https://github.com/wso2/carbon-mediation/pull/198 [2] https://github.com/wso2/wso2-synapse/pull/214 Regards ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/

[Dev] [AF] Database user creation fails with the same user name in different applications.

2015-06-02 Thread Pirinthapan Mahendran
Hi all, In App Factory, the database users are application local. That means if we create a database user under one application its not visible to another application even within the same tenant. So if we try to create a user with the same name in different applications within same tenant, we are

Re: [Dev] Code coverage percentage

2015-06-02 Thread Saneth Dharmakeerthi
Hi Gihan, Isn't that private constructor is get called by anywhere inside that class?. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Wed, Jun 3, 2015 at 11:47 AM, Gihan Anuruddha wrote: > Hi Automation team, > > What we are actually

Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-02 Thread Naasheer Ali
great. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com On Wed, Jun 3, 2015 at 11:49 AM, Amal Gunatilake wrote: > Hi Guys, > > Thanks a lot for the information and the help given to figure out the > configur

Re: [Dev] Code coverage percentage

2015-06-02 Thread Gihan Anuruddha
Hi Saneth, No. We are only using static methods in that class. So there is no need to call that private method. That was only added as suggest by sonar. Regards, Gihan On Wed, Jun 3, 2015 at 11:58 AM, Saneth Dharmakeerthi wrote: > Hi Gihan, > > Isn't that private constructor is get called by a

[Dev] Nested Categories in Application Server 6.0.0-SNAPSHOT

2015-06-02 Thread Niranjan Karunanandham
Hi all, Currently in Application Server 6.0.0-SNAPSHOT [1] has 11 categories containing the following features: 1. *Application-Hosting* - org.wso2.carbon.deployment:org.wso2.carbon.webapp.mgt.feature:${carbon.deployment.version.441} - org.wso2.carbon.identity:org.wso

Re: [Dev] [AF] Database user creation fails with the same user name in different applications.

2015-06-02 Thread Rajeevan Vimalanathan
Hi Pirinthapan, Since the user name is not unique at the tenant domain (but it should be unique at application domain), can't we simply use the following pattern to the verification of user name? _ I hope this should resolve your issue. Thanks, Rajeevan On Wed, Jun 3, 2015 at 11:52 AM, Pirinth

[Dev] [ML] Decision tree fails when a feature contains only a single value

2015-06-02 Thread Maheshakya Wijewardena
Sparks' Decision tree does not accept datasets with a single value in a feature. It produces the following error: > requirement failed: DecisionTree Strategy given invalid > categoricalFeaturesInfo setting: feature 645 has 1 categories. The number > of categories should be >= 2 > This is not an

Re: [Dev] Please review and apply patch

2015-06-02 Thread Niranjan Karunanandham
Hi Madhawa, Can you please attached the 4.2.0 patch to the public JIRA and also send the Git pull request for the fix [1] and integration test case. [1] - https://wso2.org/jira/browse/DS-1047 Regards, Nira On Mon, Jun 1, 2015 at 7:54 PM, Madhawa Gunasekara wrote: > Hi devs, > > Please review

Re: [Dev] [AF] Clarification on where to find a plain AF pack

2015-06-02 Thread Sabra Ossen
Hi Dimuthu, Thanks for the info. I will continue work with the releases. Regards, Sabra. On Mon, Jun 1, 2015 at 9:43 PM, Dimuthu Leelarathne wrote: > Hi Sabra, > > I think you better use the releases. They are tested and works. > > thanks, > dimuthu > > > On Mon, Jun 1, 2015 at 5:07 PM, Sabra

Re: [Dev] [ML] Decision tree fails when a feature contains only a single value

2015-06-02 Thread Nirmal Fernando
Yes, discarding is the best option which is currently supported. On Wed, Jun 3, 2015 at 12:10 PM, Maheshakya Wijewardena wrote: > Sparks' Decision tree does not accept datasets with a single value in a > feature. It produces the following error: > >> requirement failed: DecisionTree Strategy giv

Re: [Dev] Code coverage percentage

2015-06-02 Thread Krishantha Samaraweera
Hi Gihan, I think you are writing integration test to cover the case. If it is the case, generating coverage for empty private method is not possible. There is a bug reported in Emma to skip the empty private constructors [1]. If it is a unit test, you can use java reflection to call private meth

Re: [Dev] [AF] Database user creation fails with the same user name in different applications.

2015-06-02 Thread Pirinthapan Mahendran
Hi Rajeevan, The application key is not globally unique. Its unique only within each tenant. So we can't use application key to uniquely identify a user name. Thanks. Mahendran Pirinthapan Software Engineer | WSO2 Inc. Mobile +94772378732. On Wed, Jun 3, 2015 at 12:05 PM, Rajeevan Vimalanatha

Re: [Dev] [AF] Database user creation fails with the same user name in different applications.

2015-06-02 Thread Danushka Fernando
Hi Pirinthapan I guess what we need to do is create the final user name as following _ So this won't support by OOTB in SS. @Dimuthu : Is it OK if we add another service to RSSAdmin service to create a application specific database user? WDYT? Thanks & Regards Danushka Fernando Software Engine

[Dev] Add metrics config files to distribution

2015-06-02 Thread Anuja Herath
Hi, I need to add metrics.xml and metrics.properties files to product-mb. Where should I place those files? Thanks, Anuja. -- Anuja Herath *Software Engineer* *WSO2, Inc.* Mobile : +94 (0)71 429 8861 ___ Dev mailing list Dev@wso2.org http://wso2.org/

Re: [Dev] Add metrics config files to distribution

2015-06-02 Thread Nirmal Fernando
It's there in the README https://github.com/wso2/carbon-metrics/blob/master/README.md#copying-required-configuration-files On Wed, Jun 3, 2015 at 12:20 PM, Anuja Herath wrote: > Hi, > > I need to add metrics.xml and metrics.properties files to product-mb. > > Where should I place those files? >

Re: [Dev] Code coverage percentage

2015-06-02 Thread Gihan Anuruddha
Hi Krishantha, I covered the areas that I need to test in that class. But due to that private constructor, code coverage percentage affects drastically :( Regards, Gihan On Wed, Jun 3, 2015 at 12:16 PM, Krishantha Samaraweera wrote: > Hi Gihan, > > I think you are writing integration test to c