Re: [Dev] Proposal 17 : Data Wrangler extension for WSO2 Machine Learner

2015-03-16 Thread Tharinda Ehelepola
I studied about proposal 17 last few days. Now I have proper idea about that project. In order to prepare the proposal It's better if I have some template or last year proposals. Can you provide me some links. On Mon, Mar 16, 2015 at 2:20 PM, Nirmal Fernando nir...@wso2.com wrote: Try adding

[Dev] WS-RM Inbound endpoint based on Apache CXF

2015-03-16 Thread Sandamal Weerasinghe
Hi all, Please find the pull requests for the above feature. In the orbit bundle I embedded the dependencies because many of them don't have osgi bundles and this would ensure that the RM Inbound feature would have all the dependencies it would need. For the RM Connector we can use the work done

Re: [Dev] IS sever start up issue in TAF 4.3.1

2015-03-16 Thread Saneth Dharmakeerthi
Hi Thanuja, As Akalanka mentioned, you get error for *9765 *because you are using startupParameterMap.put(-DportOffset, 1), might be you have a another server started manually or from a previous test case is using this port. Put a debug point at startupParameterMap.put(-DportOffset,

Re: [Dev] GSOC2015:PROJECT

2015-03-16 Thread Tharinda Ehelepola
Hi, Yeah I meant the process of running a Spark job. There are transformation methods in jar files. What I tried is how to use those methods in java. I think it is help me to conversion of wrangler scripts. On Tue, Mar 17, 2015 at 3:47 AM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi,

Re: [Dev] GSOC2015:PROJECT

2015-03-16 Thread Srinath Perera
Why do you need to build it? ( it can be built), but you can use the jars. --Srinth On Mon, Mar 16, 2015 at 3:30 PM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, I studied about apache spark these days. I 'm still stuck in building part. I went through different links and finally

Re: [Dev] About Recommendation Solution for WSO2 Machine Learner for GSOC 2015

2015-03-16 Thread Nirmal Fernando
Hi Nivethika, Thanks for your interest on this project idea and sorry for the delayed reply. We have few other interested students and let me point out to you the discussions we had so far. Please go through them and let us know if you have any specific questions.

Re: [Dev] GSOC2015:PROJECT

2015-03-16 Thread Nirmal Fernando
Hi Srinath, I think Tharinda meant to say that he is in the process of running a Spark job. Tharinda, isn't it the case? On Tue, Mar 17, 2015 at 7:39 AM, Srinath Perera srin...@wso2.com wrote: Why do you need to build it? ( it can be built), but you can use the jars. --Srinth On Mon, Mar

Re: [Dev] IS sever start up issue in TAF 4.3.1

2015-03-16 Thread Akalanka Pagoda Arachchi
Hi Thanuja, While getting a new AutomationContext you are passing a parameter for portOffset of 1. I believe this is why it is looking for 9764 + 1. Thanks, Akalanka. On Mon, Mar 16, 2015 at 11:57 PM, Thanuja Jayasinghe than...@wso2.com wrote: Hi, We are in the process of moving existing

[Dev] [APIM][Integration-test]Integration test for Application Subscription Sharing

2015-03-16 Thread Shani Ranasinghe
Hi, I need to write a test case for Application subscription sharing feature. For this, I require a user who has claims. I could not find how to add claims for user. Please let me know if there are any references that I could refer to in order to write this. -- Thanks and Regards *,Shani

Re: [Dev] We are getting some class not found issues intermittently

2015-03-16 Thread Prasad Tissera
Yes, We tried after downgrading spring version but it didn't solve the issue. Sent from my mobile On Mar 16, 2015 7:50 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: So I think this is not related to spring upgrade. The issue mentioned in : https://wso2.org/jira/browse/CARBON-14864 is

Re: [Dev] @BeforeTest and @AfterTest runs for each test instantiated with @Factory in TAF 4.3.1

2015-03-16 Thread Saneth Dharmakeerthi
Hi Malithi Krishantha, I created a similar scenario and analyse the method call order and noticed that @Factory is get called first. @BeforeTest and @AfterTest that are in separate class execute only once. But @BeforeTest and @AfterTest in the same class with @Factory ,@BeforeClass..,@Test

Re: [Dev] GSOC2015:PROJECT

2015-03-16 Thread Tharinda Ehelepola
Hi, Yeah I meant the process of running a Spark job. There are transformation methods in jar files. What I tried is how to use those methods in java. I think it is help me to conversion of wrangler scripts. On Tue, Mar 17, 2015 at 3:45 AM, Nirmal Fernando nir...@wso2.com wrote: Your reply is

[Dev] Proposal 17 : Data Wrangler extension for WSO2 Machine Learner

2015-03-16 Thread Tharinda Ehelepola
Hi, I studied about apache spark these days. I 'm still stuck in building part. I went through different links and finally decided to build it using intellij. I have found most of the libraries but still errors occur when running examples. Exception in thread main java.lang.NoClassDefFoundError:

Re: [Dev] Proposal 17 : Data Wrangler extension for WSO2 Machine Learner

2015-03-16 Thread Nirmal Fernando
Try adding dependency groupIdorg.apache.commons/groupId artifactIdcommons-lang3/artifactId version3.3.2/version /dependency On Mon, Mar 16, 2015 at 7:40 PM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, I studied about

Re: [Dev] We are getting some class not found issues intermittently

2015-03-16 Thread Prasad Tissera
Issue cannot be observed in IS 5.0.0 with patch0009. Regards, Prasad. On Mon, Mar 16, 2015 at 2:48 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Can you guys check this with IS 5.0.0 also (apply patch0009)? If spring upgrade is causing the issue, then it should occur when patch0009

[Dev] @BeforeTest and @AfterTest runs for each test instantiated with @Factory in TAF 4.3.1

2015-03-16 Thread Malithi Edirisinghe
Hi All, I'm using Factories in TestNG to instantiate tests dynamically for different parameter sets. And I have configured the test class inside a test block in the testng.xml as below. test name=Test - IS - OpenID preserve-order=true parallel=false classes class

Re: [Dev] @BeforeTest and @AfterTest runs for each test instantiated with @Factory in TAF 4.3.1

2015-03-16 Thread Saneth Dharmakeerthi
[Adding: Krishantha] Hi Malithi, Have you written the 'BeforeTest' and 'AfterTest' inside the same test class with 'BeforeClasst' ,'AfterClasst and other @Test test methods? If so put 'BeforeTest' and 'AfterTest' in a different class and add that class to testng.xml with OpenIDSSOTestCase.

Re: [Dev] We are getting some class not found issues intermittently

2015-03-16 Thread Kishanthan Thangarajah
So I think this is not related to spring upgrade. The issue mentioned in : https://wso2.org/jira/browse/CARBON-14864 is actually fixed with the given fix. This issue seems not related to spring upgrade. You can confirm this by downgrading the version or removing the spring bundle from carbon

Re: [Dev] [Jaggery][AF] - Appfactory appmgt module layer exception handling - throw e or throw msg

2015-03-16 Thread Samith Dassanayake
Hi Mahesh, IMHO I think from the module layer, we should throw the exception with required additional details along with the exception. In block layer, we should log it and set the response with the correct error code and content(content should be a simple end user oriented message)[1], before

Re: [Dev] [Jaggery][AF] - Appfactory appmgt module layer exception handling - throw e or throw msg

2015-03-16 Thread Gayan Dhanushka
Hi Mahesh, +1 for throwing an error message. A message of the format mentioned above would be good for logging. IMO throwing a simple message is enough to be displayed to the user. Regards Gayan On Mon, Mar 16, 2015 at 3:00 PM, Danushka Fernando danush...@wso2.com wrote: We dont need to give

Re: [Dev] [Carbon] Carbon P2 Plugin issue - jars with different package name BUT same artifact IDs

2015-03-16 Thread Niranda Perera
Hi Sameera, the versions are 2.5.0-spark for org.spark-project.protobuf:protobuf-java and 2.5.0 for com.google.protobuf:protobuf-java is there a workaround to include both these jars in the feature.xml? rgds On Mon, Mar 16, 2015 at 3:33 PM, Sameera Jayasoma same...@wso2.com wrote:

Re: [Dev] Tenant creation fails during server startup in Integration Tests

2015-03-16 Thread Krishantha Samaraweera
Didn't you get the same error when adding tenants manually ? I think this is a product bug :) Thanks, Krishantha. On Mon, Mar 16, 2015 at 5:58 PM, Supun Sethunga sup...@wso2.com wrote: Hi, Im using the Test Automation Framework 4.3.1, and experiencing the $subject in ML integration test. I

Re: [Dev] We are getting some class not found issues intermittently

2015-03-16 Thread Supun Malinga
sorry wrong thread. Please ignore my last reply. thanks, On Mon, Mar 16, 2015 at 2:57 PM, Supun Malinga sup...@wso2.com wrote: Hi Manoj, Can you commit this pls ?. thanks, On Mon, Mar 16, 2015 at 2:49 PM, Prasad Tissera pras...@wso2.com wrote: I'll check and let you know ASAP. Thanks.

Re: [Dev] GSOC2015:PROJECT

2015-03-16 Thread Tharinda Ehelepola
Hi, I studied about apache spark these days. I 'm still stuck in building part. I went through different links and finally decided to build it using intellij. I have found most of the libraries but still errors occur when running examples. Exception in thread main java.lang.NoClassDefFoundError:

Re: [Dev] Code Review on ToodleDo Connector

2015-03-16 Thread Rajeenthini Satkunam
Hi, Noted. On Mon, Mar 16, 2015 at 1:29 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: Hi Dinithi and Rajeenthini, Can you please check on this an give the pull request to https://github.com/wso2/esb-connectors . Thank you. On Wed, Feb 25, 2015 at 10:56 PM, Dinithi De Silva

Re: [Dev] [Jaggery][AF] - Appfactory appmgt module layer exception handling - throw e or throw msg

2015-03-16 Thread Mahesh Chinthaka
Hi Samith, Yes you are correct, we can make the end user oriented message in another layer other than the module layer. So throwing e is fine i guess. Thanks everyone! On Mon, Mar 16, 2015 at 5:45 PM, Samith Dassanayake sam...@wso2.com wrote: Hi Mahesh, IMHO I think from the module layer, we

[Dev] Tenant creation fails during server startup in Integration Tests

2015-03-16 Thread Supun Sethunga
Hi, Im using the Test Automation Framework 4.3.1, and experiencing the $subject in ML integration test. I get the following error. However, superTenant gets created successfully. Also, if I remove any tenants listed under the Tenants in automation.xml, server starts-up with no errors. Attached

Re: [Dev] [Carbon] Carbon P2 Plugin issue - jars with different package name BUT same artifact IDs

2015-03-16 Thread Sameera Jayasoma
Carbon-p2-plugin simply invoke Equinox P2 APIs to generate features? You can simply scan through the P2 plugin code and see. As per our offline chat, versions of these two jars are also very similar. That may be a problem https://github.com/wso2/maven-tools On Mon, Mar 16, 2015 at 9:58 AM,

Re: [Dev] Implementation of API Manager-API Life Cycle Integration Test Cases

2015-03-16 Thread Saneth Dharmakeerthi
Hi, Please find pull request [1] for phase2 and ignore the previous pull request [2]. The new pull request can be merge without a conflict. Three test cases has been desabled due to following JIRA issues. - AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase : APIMANAGER-3374

Re: [Dev] Tenant creation fails during server startup in Integration Tests

2015-03-16 Thread Supun Sethunga
Hi Krishantha, Yes it was a product bug :) upgrading the carbon-multitenancy version fixed it. Thanks, Supun On Mon, Mar 16, 2015 at 6:11 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Didn't you get the same error when adding tenants manually ? I think this is a product bug :)

[Dev] WSO2 App Factory 2.1.0 Released!

2015-03-16 Thread Amalka Subasinghe
WSO2 App Factory 2.1.0 Released! WSO2 App Factory team is pleased to announce the general availability of WSO2 App Factory 2.1.0. WSO2 App Factory is a multi-tenant, elastic and self-service enterprise platform that enables multiple project teams to collaboratively create, run and manage

Re: [Dev] [Jaggery][AF] - Appfactory appmgt module layer exception handling - throw e or throw msg

2015-03-16 Thread Danushka Fernando
We dont need to give that detailed error message to the user. But having an error message saying what has been failed like jenkins job creation failed or git repo creation failed would be good IMO. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile :

Re: [Dev] @BeforeTest and @AfterTest runs for each test instantiated with @Factory in TAF 4.3.1

2015-03-16 Thread Malithi Edirisinghe
Yes, 'BeforeTest' and 'AfterTest' resides in the same class. As I have mentioned above I think the problem is with TestNG 6.1.1 version. On Mon, Mar 16, 2015 at 7:57 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: [Adding: Krishantha] Hi Malithi, Have you written the 'BeforeTest' and

Re: [Dev] Please resend PR product-esb/129

2015-03-16 Thread Maheeka Jayasuriya
Hi Irham, It's merged now. Thanks, Maheeka On Monday, March 16, 2015, Irham Iqbal iq...@wso2.com wrote: Hi Maheeka, Any update on this? Thanks, Iqbal On Fri, Mar 6, 2015 at 5:19 PM, Irham Iqbal iq...@wso2.com javascript:_e(%7B%7D,'cvml','iq...@wso2.com'); wrote: Hi Maheeka, I have

Re: [Dev] @BeforeTest and @AfterTest runs for each test instantiated with @Factory in TAF 4.3.1

2015-03-16 Thread Malithi Edirisinghe
Hi Irham, On Mon, Mar 16, 2015 at 10:18 PM, Irham Iqbal iq...@wso2.com wrote: Hi Malithi, Since you have only one class with all the test cases you can use *@BeforeClass,@AfterClass* this will run before and after all the test methods inside the class. It's just not a one class. It's a

Re: [Dev] @BeforeTest and @AfterTest runs for each test instantiated with @Factory in TAF 4.3.1

2015-03-16 Thread Irham Iqbal
Hi Malithi, Since you have only one class with all the test cases you can use *@BeforeClass,@AfterClass* this will run before and after all the test methods inside the class. TestNG version 6.8.x we have noticed some issues(i.e dependsOnMethods doesn't work) Thanks, Iqbal On Mon, Mar 16, 2015

Re: [Dev] Please resend PR product-esb/129

2015-03-16 Thread Irham Iqbal
Hi Maheeka, Any update on this? Thanks, Iqbal On Fri, Mar 6, 2015 at 5:19 PM, Irham Iqbal iq...@wso2.com wrote: Hi Maheeka, I have merged the wso2/product-esb repository develop branch with my repo and committed the changes. I can see those changes in the pull request[1] i gave it to

Re: [Dev] @BeforeTest and @AfterTest runs for each test instantiated with @Factory in TAF 4.3.1

2015-03-16 Thread Krishantha Samaraweera
Hi Malithi, On Mon, Mar 16, 2015 at 6:44 PM, Malithi Edirisinghe malit...@wso2.com wrote: Hi All, I'm using Factories in TestNG to instantiate tests dynamically for different parameter sets. And I have configured the test class inside a test block in the testng.xml as below. test

[Dev] [MB] Message order issue in queue path when subscriber unstable

2015-03-16 Thread Pumudu Ruhunage
Hi, I found a issue in queue path, Steps to reproduce is as follows, 1. Start MB node in standalone mode. 2. Set queue subscriber to 'queue1' and maximum message count to 2,500. 3. Send 10,000 queue messages to 'queue1'. 4. Subscriber will receive 2,500 messages in proper order and will

Re: [Dev] [ESB] Updating wso2esb-4.9.0-M8-SNAPSHOT with Synapse Core from develop branch

2015-03-16 Thread Maheeka Jayasuriya
Hi Jagath, I have followed the same steps and it works for me. I updated, synapse.version2.1.3-wso2v3-SNAPSHOT/synapse.version in both product-esb and carbon-mediation pom files. Additionally I have updated carbon-mediation version as well, since I did changes to that too, but this should work.

Re: [Dev] Interested in Deep Learning Integration for Machine Learner - GSOC 2015

2015-03-16 Thread Nirmal Fernando
Thanks for your interest on this project, Thushan. We already had a discussion with another student (unfortunately, it appeared he's not eligible to participate in GSoC) at http://wso2 .markmail.org/search/list:org.wso2.dev#query:list%3Aorg.wso2

[Dev] how to pass an environment variable from a json object

2015-03-16 Thread Awanthika Senarath
Hi, Im trying to achieve $subject to pass the $CATALINA_HOME environment variable into a java class via a json object to a java class when i try to pass the parameter as this location: ${CATALINA_BASE}/temp/che-templates/web-spring-java-simple.zip the catalina_base/catalina_homa parameter

Re: [Dev] [MB] MB cluster throws 'hazelcast operation timeout' exception with long running tests

2015-03-16 Thread Pumudu Ruhunage
Hi, As per offline chat with Azeez , i will try to reproduce the issue with jconsole enabled and get system status (load/memory usage etc.) when this exception throws in each machine in cluster. Regards, On Mon, Mar 16, 2015 at 11:23 AM, Ramith Jayasinghe ram...@wso2.com wrote: Looping in

Re: [Dev] how to pass an environment variable from a json object

2015-03-16 Thread Awanthika Senarath
Hi Lasithan, my requirement is to get an existing env varibale from a json file. regards Awanthika On Tue, Mar 17, 2015 at 10:25 AM, Lasitha Wattaladeniya lasit...@wso2.com wrote: Hi awanthika, check this out

[Dev] Observed ERROR {com.hazelcast.spi.impl.PartitionIteratingOperation} on Manager Node while restating AS worker Nodes

2015-03-16 Thread Asanka Vithanage
Hi All, Observed following error on AS 520 manager Node when restarting the AS worker Nodes. Issue seams Intermittent. Have we observed this issue before ? Any solutions/explanations? *Cluster Details:* niginx fronted 1 Manager/ 2 worker node AS 520 (with Service

[Dev] Is 202 the expected behavior when invoke a proxy with missing template

2015-03-16 Thread Naasheer Ali
Hi ESB Team, I'm trying to fix ESBJAVA-3311. Invoking a proxy with missing template returns 202 Accepted. Is 202 the expected behavior with the response or It should be changed to some other values like 404. Because in the ESBJAVA-3515 (202 returned by API calls when a particular method is not

Re: [Dev] [ESB] Updating wso2esb-4.9.0-M8-SNAPSHOT with Synapse Core from develop branch

2015-03-16 Thread Jagath Sisirakumara Ariyarathne
Hi Maheeka, As you mentioned, I updated carbon-mediation version 4.3.3-SNAPSHOT (develop branch version) in product-esb pom file and it is working fine now. Thanks for the support. On Tue, Mar 17, 2015 at 9:30 AM, Maheeka Jayasuriya mahe...@wso2.com wrote: Hi Jagath, I have followed the

Re: [Dev] how to pass an environment variable from a json object

2015-03-16 Thread Lasitha Wattaladeniya
Hi Awanthika, IMO you can achieve this using a util method, where you resolve system parameters pragmatically. Don't know about any existing libraries to get this done :) On Tue, Mar 17, 2015 at 10:27 AM, Awanthika Senarath awanth...@wso2.com wrote: Hi Lasithan, my requirement is to get an

Re: [Dev] how to pass an environment variable from a json object

2015-03-16 Thread Lasitha Wattaladeniya
Hi awanthika, check this out http://stackoverflow.com/questions/1462069/passing-environment-variables-to-a-jvm-in-a-platform-independent-manner On Tue, Mar 17, 2015 at 9:38 AM, Awanthika Senarath awanth...@wso2.com wrote: Hi, Im trying to achieve $subject to pass the $CATALINA_HOME

Re: [Dev] [APIM][Integration-test]Integration test for Application Subscription Sharing

2015-03-16 Thread Shani Ranasinghe
Hi, Thanks for the info. Will follow this. On Tue, Mar 17, 2015 at 10:23 AM, Waruna Perera waru...@wso2.com wrote: Hi Shani, Remember that due to cache storage, you need to restart the server in the test case after the user claims are updated. Thanks, On Tue, Mar 17, 2015 at 9:43 AM,

Re: [Dev] [APIM][Integration-test]Integration test for Application Subscription Sharing

2015-03-16 Thread Saneth Dharmakeerthi
Hi Shani, RemoteUserStoreManagerServiceClient [1] has setUserClaimValue() method. You can find the usage in [2] [1]

[Dev] [Greg] What is the difference between overloaded findGenericArtifacts method in GenericArtifactManager

2015-03-16 Thread Punnadi Gunarathna
Hi All, I am working with GenericArtifactManager and just wanted to know the difference between these two implementations: 1. Passing an attribute map to findGenericArtifacts method 2. Passing GenericArtifactFilter instance to findGenericArtifacts method Because in my case, when one of the

Re: [Dev] [APIM][Integration-test]Integration test for Application Subscription Sharing

2015-03-16 Thread Waruna Perera
Hi Shani, Remember that due to cache storage, you need to restart the server in the test case after the user claims are updated. Thanks, On Tue, Mar 17, 2015 at 9:43 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Shani, RemoteUserStoreManagerServiceClient [1] has setUserClaimValue()

[Dev] Interested in Deep Learning Integration for Machine Learner - GSOC 2015

2015-03-16 Thread Thushan Ganegedara
Dear Developers, I am Thushan Ganegedara, a PhD student at University of Sydney. I graduated from University of Moratuwa, Sri Lanka in 2014. I became quite interested in the idea of Deep Learning for WSO2 Machine Learner for GSOC 2015. Neural networks is one my major strengths as I have been

Re: [Dev] how to pass an environment variable from a json object

2015-03-16 Thread Awanthika Senarath
Hi Lasitha, In my scenario I am unable to change the java method which reads the json file. It is reading the location parameter from the Json file and gets the file from that location in url = Thread.currentThread().getContextClassLoader().getResource(location); hence I need to pass the

Re: [Dev] IS sever start up issue in TAF 4.3.1

2015-03-16 Thread Krishantha Samaraweera
Hi Thanuja, The similar issue is fixed in 4.3.2 SNAPSHOT - https://wso2.org/jira/browse/TA-924 We might need to figure out a workaround for this. Thanks, Krishantha. On Tue, Mar 17, 2015 at 9:18 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Thanuja, As Akalanka mentioned, you get

[Dev] Integration test for blocking calls in call mediator

2015-03-16 Thread Kathees Rajendram
Hi Isuru, Please find the PR[1] for $subject. I tried to add the integration test for the MTOM and out only request/response. That is not handled. I will fix the functionality and add the integration test for that. https://github.com/wso2/product-esb/pull/101 Thanks Kathees -- Kathees

[Dev] WSO2 Carbon Kernel 4.4.0 Beta 1 is Released!!!

2015-03-16 Thread Jayanga Dissanayake
*WSO2 Carbon Kernel 4.4.0 Beta 1 is Released!!!* WSO2 Carbon team is pleased to announce the first beta release of the WSO2 Carbon Kernel 4.4.0. WSO2 Carbon redefines middleware by providing an integrated and componentized middleware platform that adapts to the specific needs of any enterprise

[Dev] perform a git clone from pom.xml

2015-03-16 Thread Awanthika Senarath
Hi all, Is it possible to achieve $subject? I came through [1] which will perform git clone but there i need t execute mvn scm:checkout Is it possible to perform a git clonevia pom file with mvn clean install command? [1]

Re: [Dev] WSO2 large JSON Parsing error

2015-03-16 Thread Kesavan Yogarajah
Hi Aliosha, The issue is ESB cannot recognize the endpoint from your proxy. Please have a look in the following blog post. http://charithaka.blogspot.com/2014/02/common-mistakes-to-avoid-in-wso2-esb-1.html Thank you, Kesavan Yogarajah Associate Software Engineer WSO2 Inc. Mob: +94 779758021

[Dev] [APIM] Edit API context is not working with latest APIM pack (1.9.0 SNAPSHOT).

2015-03-16 Thread Saneth Dharmakeerthi
Hi, After changing the api context, it shows the new context correctly in publisher and store but it gives HTTP 404 response if access with new context. Still the api can be accessed with old context. It was working correctly on locally build pack on 9-3-2015. I have created APIMANAGER-3377

Re: [Dev] [Urgent] API store not showing published APIs in 1.3.3 version

2015-03-16 Thread Supun Malinga
Hi Dulitha, Can you have a look at, [API-everywhere] Unable to view published APIs in API store thread. thanks, On Mon, Mar 16, 2015 at 11:56 AM, Nuwan Dias nuw...@wso2.com wrote: Hi Dulitha, These features were created some time back. And the APIM team doesn't actively commit to these.

[Dev] Carbon Context API Documentation

2015-03-16 Thread Pubudu Dodangoda
Where can I find the complete documentations for carbon context API? link https://docs.wso2.com/display/Carbon420/CarbonContext+API I mean something similar to this collections http://docs.oracle.com/javase/7/docs/api/java/util/Collections.html My truest intention is to get an idea about the

[Dev] [Urgent] API store not showing published APIs in 1.3.3 version

2015-03-16 Thread Dulitha Wijewantha
Hi Nuwan, We are using the carbon API manager component 1.3.3 version [1]. When you published an API from the API Publisher, the API is not visible in the API Store. I checked with a latest snapshot of 1.9.0 [2] and found out that it doesn't seem to have the above problem. However, the carbon apim

[Dev] Switch case is not working in the proxy

2015-03-16 Thread Keerthika Mahendralingam
Hi All, I am using switch mediator in the following proxy. When I invoking the proxy I am getting the warning: *SwitchCase Provided character sequence for switch case condition is 'null'. Switch case will not be executed*. *Proxy:* ?xml version=1.0 encoding=UTF-8? proxy

Re: [Dev] [G-Reg] [New Feature] Implementing password field for registry RXTs

2015-03-16 Thread Maninda Edirisooriya
IMO the password field should be encrypted when it is stored in the database. That means the password should be encrypted from the backend and decrypted each time from the backend once requested. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware.

[Dev] [Application Server] Exception when generating client for a deployed JAX-RS service

2015-03-16 Thread Thilini Cooray
Hi, I am getting following IOException [1] when trying to generate a client from the available Generate Client option in the Application Server Management Console. I have deployed a JAX-RS web service in the Application Server already. The generated maven project also gives an error No

Re: [Dev] perform a git clone from pom.xml

2015-03-16 Thread Rajith Vitharana
Hi Awanthika, Try using exec-maven-plugin. you can find more details on [1] and [2] [1] - http://mojo.codehaus.org/exec-maven-plugin/ [2] - http://stackoverflow.com/questions/3491937/i-want-to-execute-shell-commands-from-mavens-pom-xml Thanks, On Mon, Mar 16, 2015 at 11:41 AM, Awanthika

[Dev] Governance registry starting error

2015-03-16 Thread Dimithri Abeygunawardane
Hi, I get the following error when I tried to start the Governance registry in the clustering mode. Any ideas how to fix this? Failed to retrieve the API Context java.sql.SQLException: Driver:org.h2.Driver@1f19d6a4 returned null for

Re: [Dev] [Urgent] API store not showing published APIs in 1.3.3 version

2015-03-16 Thread Nuwan Dias
Hi Dulitha, These features were created some time back. And the APIM team doesn't actively commit to these. These were created to be used by the GREG and AS teams for API Everywhere. About a month back the GREG and AS teams tested these features and we fixed some issues and they verified these

[Dev] [API] OSGIServerBundleStatusTestCase Failure - Unsatisfied components detected at 1.9.0-SNAPSHOT server starup

2015-03-16 Thread Dimuthu De Lanerolle
Hi APIM Team, Due to the following unsatisfied osgi component in the latest APIM 1.9.0-SNAPSHOT pack we will 'disable' OSGIServerBundleStatusTestCase (test written for detecting Unsatisfied OSGI components at server startup) from tests-integration module. Can you pls look into this? We can

Re: [Dev] Switch case is not working in the proxy

2015-03-16 Thread Shakila Sivagnanarajah
Did you set the scope of the property 'Action' as transport? On Mon, Mar 16, 2015 at 11:36 AM, Keerthika Mahendralingam keerth...@wso2.com wrote: Hi All, I am using switch mediator in the following proxy. When I invoking the proxy I am getting the warning: *SwitchCase Provided character

Re: [Dev] Governance registry starting error

2015-03-16 Thread Udara Liyanage
Hi, From the URL you have pointed out to a MySQL server in your local machine. However you have used H2 driver yet. Please change it to MySQL jar and copy the MySQL jar to lib. For more info, refer to [1] Driver:*org.h2.Drive*r@1f19d6a4 returned null for

[Dev] wso2 ESB Illegal incoming connection- Possibly two send backs are happening for the same request

2015-03-16 Thread Akila Nimantha [IT/EKO/LOITS]
Hi all, I am using wso2 esb 4.8.1 and I just noted below error in my ESB log file. Also I checked in the internet for a solution and I found it in jira, https://wso2.org/jira/browse/ESBJAVA-2234 But there is no clear answer to overcome this error. Are there any changes to overcome this error in

Re: [Dev] perform a git clone from pom.xml

2015-03-16 Thread Awanthika Senarath
thanks Rajith! it worked regards Awanthika On Mon, Mar 16, 2015 at 11:47 AM, Rajith Vitharana raji...@wso2.com wrote: Hi Awanthika, Try using exec-maven-plugin. you can find more details on [1] and [2] [1] - http://mojo.codehaus.org/exec-maven-plugin/ [2] -

Re: [Dev] Carbon Context API Documentation

2015-03-16 Thread Pubudu Dodangoda
If I say it specifically,I want to know how to get all the resources in a directory in registry I know how to do this when the resource names are known, by using this registry.getResource(resourceName) I want to get all the resources Thank You and kind regards On Mon, Mar 16, 2015 at 1:19 PM,

[Dev] [Architecture] WSO2 Message Broker 3.0.0 Milestone 5 Released !

2015-03-16 Thread Pumudu Ruhunage
Hi All, The WSO2 Message Broker team is pleased to announce the 5th milestone release of WSO2 Message Broker (MB) 3.0.0. WSO2 Message Broker (WSO2 MB) 3.0.0 is designed to be a fast, lightweight and user friendly open source distributed message brokering system under the Apache Software

[Dev] [APIM]Edit API endpoint url is not working with latest APIM pack (1.9.0 SNAPSHOT).

2015-03-16 Thread Saneth Dharmakeerthi
Hi, After changing the api endpoint url, publisher it show the new endpoint url correctly. If we access the api, it gives the response of old endpoint. It was working correctly on locally build pack on 9-3-2015. I have created APIMANAGER-3378 [1] for track this issue. [1]

Re: [Dev] Googleplus ESB connector review

2015-03-16 Thread Elilmatha Sivanesan
Hi madushanka, You have given the pull request to wso2-dev. Please give the pull request to https://github.com/wso2/esb-connectors. Thank you. On Wed, Mar 4, 2015 at 4:43 PM, Madusanka Premaratne madusan...@wso2.com wrote: Hi Elilmatha, Done as requested. Please find the Jira[1] and the

Re: [Dev] Code Review on ToodleDo Connector

2015-03-16 Thread Elilmatha Sivanesan
Hi Dinithi and Rajeenthini, Can you please check on this an give the pull request to https://github.com/wso2/esb-connectors . Thank you. On Wed, Feb 25, 2015 at 10:56 PM, Dinithi De Silva dinit...@wso2.com wrote: Hi Elil, AFAIK some of the dependencies are moved to a new location from the

Re: [Dev] Persisting user sessions in database

2015-03-16 Thread Darshana Gunawardana
On Monday, March 16, 2015, Lasitha Wattaladeniya lasit...@wso2.com wrote: Hi Lakshani, Even if the SessionDataPersist/RememberMe is not enabled the logged in user details will be available in the cache (session data will be removed after a time out period). In general session data will be

Re: [Dev] Persisting user sessions in database

2015-03-16 Thread Hasintha Indrajee
Hi Lakshani, If *session data persistence* is not enabled, logged in user information should be retrieved from Cache (Information only resides in cache). Therefore you can get logged in user information directly from the cache. If the *session data persistence *is enabled, then you can refer to

Re: [Dev] [G-Reg] [New Feature] Implementing password field for registry RXTs

2015-03-16 Thread Sithumini Senevirathne
Thanks Maninda. Regards, Sithumini On Mon, Mar 16, 2015 at 11:43 AM, Maninda Edirisooriya mani...@wso2.com wrote: IMO the password field should be encrypted when it is stored in the database. That means the password should be encrypted from the backend and decrypted each time from the

[Dev] [APP-M] Workflows in App Manager

2015-03-16 Thread Yasassri Ratnayake
Hi AM team, In the current implementation of App-Manager, the Creator is able to edit any web-App in 'IN-REVIEW' or 'PUBLISHED' states. IMHO this implementation is seemingly wrong, since one objective of going through the workflow process is to validate the content of the created app. So if the

Re: [Dev] Carbon Context API Documentation

2015-03-16 Thread Danushka Fernando
AFAIU what you want is to get all resources in a collection. You can retrieve collection from registry and iterate though all resources in that collection. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Mar 16, 2015 at 1:28 PM, Pubudu

[Dev] [Jaggery][AF] - Appfactory appmgt module layer exception handling - throw e or throw msg

2015-03-16 Thread Mahesh Chinthaka
Hi all, In AF appmgt module layer, when we catch a exception what is the correct way to handle it. var msg = Some error msg; log.error(msg); log.error(e); *throw e; * or *throw msg;* In appfactory we get the error message thrown in the module layer to front and display it in UI in the top

Re: [Dev] [Jaggery][AF] - Appfactory appmgt module layer exception handling - throw e or throw msg

2015-03-16 Thread Danushka Fernando
Since this is about sending an error message for front end IMO both ways are ok for me. And since we are showing the error message we are throwing I guess we need to throw the message. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon,

Re: [Dev] Switch case is not working in the proxy

2015-03-16 Thread Keerthika Mahendralingam
Hi Elil, I have added the Action header. Thanks, On Mon, Mar 16, 2015 at 12:06 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: make sure you have added Action header and value urn:createAndUpdateLeads when testing via postman/rest.. On Mon, Mar 16, 2015 at 11:59 AM, Keerthika

Re: [Dev] Switch case is not working in the proxy

2015-03-16 Thread Keerthika Mahendralingam
Please find the wire log: [2015-03-16 11:56:26,191] DEBUG - wire POST /services/marketo HTTP/1.1[\r][\n] [2015-03-16 11:56:26,192] DEBUG - wire Host: keerthikas-macbook-pro.local:8280[\r][\n] [2015-03-16 11:56:26,192] DEBUG - wire Connection: keep-alive[\r][\n] [2015-03-16 11:56:26,192]

Re: [Dev] We are getting some class not found issues intermittently

2015-03-16 Thread Kishanthan Thangarajah
Can you guys check this with IS 5.0.0 also (apply patch0009)? If spring upgrade is causing the issue, then it should occur when patch0009 is applied on IS 5.0.0. On Mon, Mar 16, 2015 at 9:36 AM, Prasad Tissera pras...@wso2.com wrote: It can be observed in a fresh pack which can be downloaded

Re: [Dev] We are getting some class not found issues intermittently

2015-03-16 Thread Prasad Tissera
I'll check and let you know ASAP. Thanks. Regards, Prasad. On Mon, Mar 16, 2015 at 2:48 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: Can you guys check this with IS 5.0.0 also (apply patch0009)? If spring upgrade is causing the issue, then it should occur when patch0009 is applied

Re: [Dev] [Jaggery][AF] - Appfactory appmgt module layer exception handling - throw e or throw msg

2015-03-16 Thread Mahesh Chinthaka
Hi, +1 for throwing the message. But another question, At the moment we have put all details possible for the message. eg: tenant domain, username ,application type etc. But when it comes to user (front end) i think message should be simple. For an example. Lets say an error occurred while