Re: [Dev] Calling web service within REST api
Hi Susinda, Difference between these two soap versions are described in the below[1] w3c specification. [1] http://www.w3.org/2003/06/soap11-soap12.html Check whether that answers you question. I found this[2] answer is also informative - [2] http://stackoverflow.com/questions/8588309/what-is-the-difference-between-soap-1-1-soap-1-2-http-get-http-post-methods BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 On Fri, Oct 31, 2014 at 3:21 PM, Susinda Perera susi...@wso2.com wrote: I can achieve this by using Action header and soap11 address [1], or using soap12 [2], What would be the differences/advantages/disadvantages of one over other (i.e [1] and [2]). What is the prefered way? [1] header name=Action value=urn:getQuote/header send endpoint address format=soap11 uri= http://localhost:9000/services/SimpleStockQuoteService; / /endpoint /send [2] send endpoint address format=soap12 uri= http://localhost:9000/services/SimpleStockQuoteService; / /endpoint /send -- *Susinda Perera* Software Engineer Mobile:(+94)716049075 WSO2 Inc. http://wso2.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ELB] What is host and remote host w.r.t. a cluster fronted by ELB?
Hi all, I'm seeing the following log in ELB when a worker joins the cluster. What is the difference of Host and Remote Host entry here? [2014-11-03 10:40:39,077] INFO {org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils} - Added member: *Host:10.100.5.80*, *Remote Host:null*, Port: 4200, HTTP:9963, HTTPS:9643, Domain: wso2.carbon.domain, Sub-domain:worker, Active:true Thanks. /Gayashan -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Siddhi] Counting Patterns
Hi Suho, Leaving this particular example aside, I still have an issue with counting patterns. In the following example from e1 = data - e2 = data[(e1.cardNum == e2.cardNum) and (e1.location != e2.location)] 4: select e1.cardNum, e1.location as loc1, e2[0].location as loc2, e2[1].location as loc3, e2[2].location as loc4, e2[3].location as loc5 insert into alert Assuming the below is the stream of transactions CardNum, Location 1234, Kandy 1234, Colombo 1234, Trinco 1234, Galle 1234, Nairobi 1234, Jaffna Then the first alert should be triggered as *[1234, Kandy, Colombo, Trinco, Galle, Nairobi] *since there are 4 transactions from the same card at locations different to the first transaction. However, currently we get alerts for every 2 events as follows.. data=[1234, Kandy, Colombo, null, null, null] data=[1234, Kandy, Colombo, Trinco, null, null] data=[1234, Colombo, Trinco, null, null, null] data=[1234, Kandy, Colombo, Trinco, Galle, null] data=[1234, Colombo, Trinco, Galle, null, null] data=[1234, Trinco, Galle, null, null, null] data=[1234, Kandy, Colombo, Trinco, Galle, Nairobi] data=[1234, Colombo, Trinco, Galle, Nairobi, null] data=[1234, Trinco, Galle, Nairobi, null, null] data=[1234, Galle, Nairobi, null, null, null] data=[1234, Colombo, Trinco, Galle, Nairobi, Jaffna] data=[1234, Trinco, Galle, Nairobi, Jaffna, null] data=[1234, Galle, Nairobi, Jaffna, null, null] data=[1234, Nairobi, Jaffna, null, null, null] So I don't think this is how counting patterns are supposed to work, since there is no real use of putting 4: if the alerts are going to come as above. WDYT? I feel we need to revisit counting patterns and their usability. seshi On Mon, Nov 3, 2014 at 9:06 AM, Supun Muthutantrige sup...@wso2.com wrote: Hi Suho, Yes, the 3rd example worked for the above given scenario. And when more than 3 addresses are allowed, what Seshika has mentioned can also be used. Thank you, Regards *Supun Rasitha Muthutantrige* Software Engineer | Intern WSO2 Inc: http://wso2.com lean.enterprise.middleware Mobile: 0758374608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Integration tests for Hazelcast Session Replication feature
On Mon, Nov 3, 2014 at 11:05 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: If that's the case, we can go ahead with graceful server shutdown restart approach. +1 for the approach Also write some integration test cases using HZ Map EntryListener as-well. With this, you can test what was the exact values updated for the session replication scenario from different nodes. Indeed, It will be very useful. BTW I've implemented Hazelcast EntryListener for hazelcast-map-Persistence feature [1] take a look at it as well. [1] https://github.com/pubudu08/hazelcat-map-persistence ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Locating UI elements with Selenium
Hi Krishantha, Yes i was using that plugin to locate the web drive element. I will update you on th eprogress thanks and regards On Mon, Nov 3, 2014 at 10:35 AM, Krishantha Samaraweera krishan...@wso2.com wrote: For the debug purpose you can put appropriate waits and see whether the UI elements are really visible or not. Following firefox plugin [1] will help you to select alternative wedDriver elements. [1] https://addons.mozilla.org/en-US/firefox/addon/element-locator-for-webdriv/ Thanks, Krishantha. On Mon, Nov 3, 2014 at 10:12 AM, Dhanuka Ranasinghe dhan...@wso2.com wrote: Hi, Pleasse use below library which help to get rid of element finding issue. http://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/support/ui/FluentWait.html maven: dependency groupIdorg.seleniumhq.selenium/groupId artifactIdselenium-java/artifactId version2.31.0/version /dependency cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Sun, Nov 2, 2014 at 11:13 PM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi Awanthika, One possible reason is that Selenium WebDriver executes so fast that UI elements may have not been loaded properly at the time driver looks for the element. You can execute UI tests in debug mode and see whether the reason is above or elements that driver is looking for are available in the UI Thanks! - Ayesha On Mon, Nov 3, 2014 at 8:17 AM, Awanthika Senarath awanth...@wso2.com wrote: Hi, In doing subject I have faced the following issue, In writing tests for WSO2 developer Studio based on Codenvy 1. Some of the UI elements we need to test are not having debugIDs, and we are unable to integrate debug IDs in the source 2. Hence I am trying to retrieve them using the xpath parameter such as //div[contains(.,'JAX RS Project')] 3. This works succesfully for some UI elements and fails in some. I examined the UI, whether it contained more than one web driver elements with the same xpath, but could not find any. Is there any other reason why this could happen? thanks and regards -- Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com ayshsa...@gmail.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Recommended approach to adapt 3rd party dependencies
Hi Azeez,Paul,All Don't think we have come to a conclusion on this. Are we able to finalize our approach on this as we have come to a juncture where this is required to proceed further with next release. Regards, Jaminda On Tue, Oct 21, 2014 at 10:02 PM, Prabath Abeysekera praba...@wso2.com wrote: Hi All, Please do let us know your feedback as to how we should approach this. Cheers, Prabath On Wed, Oct 15, 2014 at 5:28 PM, Deependra Ariyadewa d...@wso2.com wrote: On Wed, Oct 15, 2014 at 4:54 PM, Prabath Abeysekera praba...@wso2.com wrote: Hi Paul, We indeed tried using namenode federation as an alternative and IMO, it doesn't really fit in. One of the issues with that approach is, one namenode is only capable of handling just one namespace in it. Therefore, if we are to map tenants with those namespaces, then the deployment would really grow big particularly, when the number of tenants increase, as we might need to deploy at least a namenode each for all the tenants (excluding supportive nodes deployed to achieve HA for each namenode). MT with multiple name nodes more suitable for system that can automatically instantiate name nodes. This model needs to get help form an infrastructure like Stratos to instantiate name nodes. Therefore MT with mutiple name nodes do not scale well in a public cloud environment. However, the federation approach would be ideal if we are to deal with a small number of tenants though. Deep and Shani (CC'ed) should be able to share more detailed notes on this as they've been working on this over the last couple of months. In the second approach we use one HDFS cluster with single name space but update the INode file path information based on the tenant. In this approach we do not have to update HDFS client tools. Also we can keep single cluster and share HDFS resources across tenants. Cheers, Prabath On Wed, Oct 15, 2014 at 4:20 PM, Paul Fremantle p...@wso2.com wrote: Prabath Does HDFS support MT via multiple namenodes? Paul On 15 October 2014 09:49, Prabath Abeysekera praba...@wso2.com wrote: Hi Folks, I've got a 3rd party dependency (i.e Hadoop/HDFS) to be adapted into GIT and wondering where exactly I should do the initial developments, etc with the newly introduced GIT model? I do realize that I could have simply used a private repository or something and do the initial forking and stuff, but just checking if there's any recommended space available within any WSO2-managed repository where I could simply get the stuff checked in and make them available for collaborative developments within the team. What's the recommended approach? Let me explain why we need to get this in created as a separate repository as well. We'd already done a lot of RD around getting MT implemented for HDFS using the extension points exposed within Hadoop without any success. Tried getting ourselves into discussions with the Hadoop community also just to see if there's an alternative approach available to what we'd suggested for implementing the same but haven't received any positive response yet. Therefore, I'm afraid the only approach we're left with right now is to get the sources forked into our own code base and moving forward with the developments. I certainly do realize that this would incur maintenance issues and all while trying to upgrade the versions, etc. However, I do not see any other feasible alternative option that we can make use of, in order to continue developments on this front. Please do share your feedback as to how we could resolve the aforementioned as well. Cheers, Prabath P.S. Pardon if this is something that's already been discussed within the list, I'm just trying to get my head around this. :) -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Paul Fremantle CTO and Co-Founder, WSO2 OASIS WS-RX TC Co-chair, Apache Member UK: +44 207 096 0336 blog: http://pzf.fremantle.org twitter.com/pzfreo p...@wso2.com wso2.com Lean Enterprise Middleware Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, retransmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile:
[Dev] [APIM] Integration tests for API Manager 1.8.0
Hi All, In following svn directory we can see test, tests-new directories. And i can see some of artifacts(synapse configs etc) got deleted from tests directory. What was the reason to have different directories? Which one we should run for integration tests(according to pom file we build tests if tests enabled)? Are we building RC packs with integration tests? I think we need to fix these issues before release. https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.8.0/modules/integration Thanks, sanjeewa. -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Issue with BAM Message Tracer Handler
Hi, As an integration scenario I Installed BAM Message Tracer Handler Aggregate feature into ESB (version 4.8.1) and configured message tracing by giving correct thrift port and IP as the Receiver URL. When invoking echo service I got following error in esb log. [2014-11-03 14:56:25,376] ERROR - AsyncDataPublisher Stream definition already exist org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException: Same stream id with different definition already defined before sending this event definitions to TCP,127.0.0.1:7611,TCP,127.0.0.1:7711 Following Jira is also addresses this issue https://wso2.org/jira/browse/BAM-1579 What should be done to overcome this issue? Thank you Best Regards, Sewmi Sewmini Jayaweera Software Engineer - QA Team Mobile: +94 (0) 773 381 250 sewm...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Issue with BAM Message Tracer Handler
Hi Sewmini, We changed the stream definition of the Message tracer. BAM 2.5.0 only compatible with Message Tracer version 4.2.3 or later. This 4.2.3 version going to release with chunk-13. You can find the 4.2.3 version in this p2- repo [1]. [1] - https://svn.wso2.org/repos/wso2/scratch/chunk13-release/20-10-2014/ On Mon, Nov 3, 2014 at 3:21 PM, Sewmini Jayaweera sewm...@wso2.com wrote: Hi, As an integration scenario I Installed BAM Message Tracer Handler Aggregate feature into ESB (version 4.8.1) and configured message tracing by giving correct thrift port and IP as the Receiver URL. When invoking echo service I got following error in esb log. [2014-11-03 14:56:25,376] ERROR - AsyncDataPublisher Stream definition already exist org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException: Same stream id with different definition already defined before sending this event definitions to TCP,127.0.0.1:7611,TCP,127.0.0.1:7711 Following Jira is also addresses this issue https://wso2.org/jira/browse/BAM-1579 What should be done to overcome this issue? Thank you Best Regards, Sewmi Sewmini Jayaweera Software Engineer - QA Team Mobile: +94 (0) 773 381 250 sewm...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- W.G. Gihan Anuruddha Senior Software Engineer | WSO2, Inc. M: +94772272595 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Issue with BAM Message Tracer Handler
Thanks Sewmini Jayaweera *Software Engineer - QA Team* Mobile: +94 (0) 773 381 250 sewm...@wso2.com On Mon, Nov 3, 2014 at 3:28 PM, Gihan Anuruddha gi...@wso2.com wrote: Hi Sewmini, We changed the stream definition of the Message tracer. BAM 2.5.0 only compatible with Message Tracer version 4.2.3 or later. This 4.2.3 version going to release with chunk-13. You can find the 4.2.3 version in this p2- repo [1]. [1] - https://svn.wso2.org/repos/wso2/scratch/chunk13-release/20-10-2014/ On Mon, Nov 3, 2014 at 3:21 PM, Sewmini Jayaweera sewm...@wso2.com wrote: Hi, As an integration scenario I Installed BAM Message Tracer Handler Aggregate feature into ESB (version 4.8.1) and configured message tracing by giving correct thrift port and IP as the Receiver URL. When invoking echo service I got following error in esb log. [2014-11-03 14:56:25,376] ERROR - AsyncDataPublisher Stream definition already exist org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException: Same stream id with different definition already defined before sending this event definitions to TCP,127.0.0.1:7611,TCP,127.0.0.1:7711 Following Jira is also addresses this issue https://wso2.org/jira/browse/BAM-1579 What should be done to overcome this issue? Thank you Best Regards, Sewmi Sewmini Jayaweera Software Engineer - QA Team Mobile: +94 (0) 773 381 250 sewm...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- W.G. Gihan Anuruddha Senior Software Engineer | WSO2, Inc. M: +94772272595 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] Integration tests for API Manager 1.8.0
commit r205512 disable tests module from integration pom. Any idea why this module was disabled ? only a few integration tests are enabled now. AFAIK, integration tests are broken due to API changes introduced in latest releases. We must fix all failures before the release. Thanks, Krishantha. On Mon, Nov 3, 2014 at 3:06 PM, Sanjeewa Malalgoda sanje...@wso2.com wrote: Hi All, In following svn directory we can see test, tests-new directories. And i can see some of artifacts(synapse configs etc) got deleted from tests directory. What was the reason to have different directories? Which one we should run for integration tests(according to pom file we build tests if tests enabled)? Are we building RC packs with integration tests? I think we need to fix these issues before release. https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.8.0/modules/integration Thanks, sanjeewa. -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] UI test - screen capture on Test failure
Hi, I've been able to implement screen-capture on exception using the above mentioned approach. I added this wrapper to the same custom webdriver class mentioned in the thread [01]. Now web-driver captures and saves screen-shots to */target/surefire-reports/screen-shot *location when an exception is thrown by the webdriver. [01] [ES- Integration Test] Custom WebDriver Class for UI test Automation Thanks! - Ayesha On Fri, Oct 31, 2014 at 1:21 PM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi Krishantha, Thank you for the quick response. I'll tryout the approach you have suggested. Thanks! - Ayesha On Fri, Oct 31, 2014 at 1:03 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Ayesha, I think you try out with EventFiringWebDriver and WebDriverEventListener to wrap your webdriver instance. This will capture screenshot for exceptions thrown by webdriver. EventFiringWebDriver driver = new EventFiringWebDriver(new InternetExplorerDriver()); WebDriverEventListener errorListener = new AbstractWebDriverEventListener() { @Override public void onException(Throwable throwable, WebDriver driver) { takeScreenCapture(screen-name); //you need to implement this method. } }; driver.register(errorListener); Thanks, Krishantha. On Fri, Oct 31, 2014 at 12:25 PM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi, In-order to identify UI test failures in automation test execution what would be the best approach? Some Suggestions are as below which I have come across. - Use a TestNG listener [01] to capture the current screen on a test failure. - try-catch in asserts and bind screen-capturing to error handling - Any other proper way? [01] http://blog.alvarus.org/2014/05/selenium-capturing-screenshots-of-failed-tests-in-junit-and-testng/ Thanks! - Ayesha -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com ayshsa...@gmail.com -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com ayshsa...@gmail.com -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com ayshsa...@gmail.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Adding Functional/Regression tests for MQTT - MB 3.0.0
Hi all, According to hasitha's mail I have identified following test cases to include in the MQTT tests. *Functional Tests* - Test MQTT for QOS 0,1 and 2 - Test long topic hierarchies - Test MQTT wildcards - Test duplicate client Id - Test last will testament *Load Tests* - Number of clients - 50 subscribers, 50 publishers with 10 messages - QOS 0,1 and 2 with 10 messages - Disconnection between send/receive for 10 messages - Payload Size 1MB message send/receive Please provide if there are any other scenarios that needs to be tested for MQTT. Thanks, Akalanka On Thu, Oct 30, 2014 at 3:18 PM, Hasitha Amal De Silva hasit...@wso2.com wrote: 2nd link is not valid. The correct one is : https://github.com/hastef88/wso2.tryouts/tree/master/mqtt_client Thanks On Thu, Oct 30, 2014 at 3:13 PM, Hasitha Amal De Silva hasit...@wso2.com wrote: Hi all, Following up on MQTT integration for MB 3.0.0 we need to do $subject to our automated test suite. I have attached herewith the functional test suite used by Pamod to perform basic tests in early days [1] . We will modify and add this into our test cases collection in a generic way. In terms of performance tests, the following aspects need to be covered. (Add if I missed any) 1. Multiple subscribers / publishers 2. Multiple queues 3. Large messages (1 MB max for now) 4. Multi-threaded subscribers/ publishers We should ideally be able to inject above 4 tests into the functional test cases as parameters. That way, we'll get full coverage. I have made an MQTT client [1] which supports multi-threaded publishers/subscribers (improving on Pamod's initial version). Its still a work in progress. We can modify it as needed and once stabilized, place it as the standard client used within our tests. Akalanka and me will be initially working on these. Appreciate your feedback on any additional test scenarios / improvements . [1] : https://drive.google.com/file/d/0B1soNraLsHdmbzNsZ19ZTWFwTzA/view?usp=sharing [2] : https://github.com/hastef88/wso2.tryouts/tree/master/mqtt_client -- Cheers, Hasitha Amal De Silva Software Engineer Mobile : 0772037426 Blog: http://devnutshell.tumblr.com/ WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. ) -- Cheers, Hasitha Amal De Silva Software Engineer Mobile : 0772037426 Blog: http://devnutshell.tumblr.com/ WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. ) -- *Darshana Akalanka Pagoda Arachchi,* *Software Engineer* *078-4721791* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] Integration tests for API Manager 1.8.0
Sanjeewa; We fixed tests-new module only.. Tests module consists old testcases which are broken for some time. On 3 November 2014 16:11, Krishantha Samaraweera krishan...@wso2.com wrote: commit r205512 disable tests module from integration pom. Any idea why this module was disabled ? only a few integration tests are enabled now. AFAIK, integration tests are broken due to API changes introduced in latest releases. We must fix all failures before the release. Thanks, Krishantha. On Mon, Nov 3, 2014 at 3:06 PM, Sanjeewa Malalgoda sanje...@wso2.com wrote: Hi All, In following svn directory we can see test, tests-new directories. And i can see some of artifacts(synapse configs etc) got deleted from tests directory. What was the reason to have different directories? Which one we should run for integration tests(according to pom file we build tests if tests enabled)? Are we building RC packs with integration tests? I think we need to fix these issues before release. https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.8.0/modules/integration Thanks, sanjeewa. -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] How to access data sources defined in master-datasources.xml from jaggery app
Hi $subject -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to access data sources defined in master-datasources.xml from jaggery app
Hi Kalpa, It can be done as bellow, var db = new Database(WSO2_EMM_DB); where WSO2_EMM_DB is your datasource name. Regards, Inosh On Mon, Nov 3, 2014 at 5:20 PM, Kalpa Welivitigoda kal...@wso2.com wrote: Hi $subject -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to access data sources defined in master-datasources.xml from jaggery app
Thanks Inosh On Mon, Nov 3, 2014 at 5:27 PM, Inosh Perera ino...@wso2.com wrote: Hi Kalpa, It can be done as bellow, var db = new Database(WSO2_EMM_DB); where WSO2_EMM_DB is your datasource name. Regards, Inosh On Mon, Nov 3, 2014 at 5:20 PM, Kalpa Welivitigoda kal...@wso2.com wrote: Hi $subject -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BAM 2.5.0 Release testing
Hi , Please note that when setting this up in the research cloud, turn off the iptables by '*sudo service iptables stop*'. Otherwise it'll block internode communications. Regards, Dunith On Mon, Nov 3, 2014 at 11:53 AM, Dunith Dhanushka dun...@wso2.com wrote: Hi Aparna, I have completed the puppet script upgrade for puppet version 3.7 and tested them on a Centos cluster. Please find the attached guide for setup instructions. Regards, Dunith BAM 2.5.0 Distributed Setup with Puppet 3.7 https://docs.google.com/a/wso2.com/document/d/1-BfLkgk6xDD-sd11xBbW5I0ZQodwUE1WuUUEl1nwAK4/edit?usp=drive_web On Wed, Oct 29, 2014 at 11:58 AM, Dunith Dhanushka dun...@wso2.com wrote: Hi Aparna, I have completed the scripts for BAM and Cassandra nodes. But still need to work on Hadoop scripts. I have started testing them on the centos cluster created in the research cloud. Hopefully by today EOD I'll be able to finish testing with full BAM cluster. Regards, Dunith On Wed, Oct 29, 2014 at 11:40 AM, Aparna Karunarathna apa...@wso2.com wrote: Hi Dunith, Any update on puppet scripts? Regards, Aparna. On Mon, Oct 27, 2014 at 10:42 AM, Sewmini Jayaweera sewm...@wso2.com wrote: Hi Aparna, I tested following issues, [1] https://wso2.org/jira/browse/BAM-1611 [2] https://wso2.org/jira/browse/BAM-1515 [3] https://redmine.wso2.com/issues/3186 Issue [1] and [2] were fixed. in order to test issue [3] I created an email adaptor and when sending a email contains text as e-mail body got following error [2014-10-27 10:23:36,317] INFO {org.apache.axis2.builder.BuilderUtil} - OMException in getSOAPBuilder org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'm' (code 109) in prolog; expected '' at [row,col {unknown-source}]: [1,1] at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296) at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204) at java.lang.Thread.run(Thread.java:745) Similar issue is being reported by Shavantha - https://wso2.org/jira/browse/BAM-1830 Thank You. Sewmini Jayaweera *Software Engineer - QA Team* Mobile: +94 (0) 773 381 250 sewm...@wso2.com On Fri, Oct 24, 2014 at 5:52 PM, Shavantha Weerasinghe shavan...@wso2.com wrote: Hi Inosh When we create a stream the payload is generated in xml format as below[1] however, when the email is sent with this in the body the BAM throws an exception INFO {org.apache.axis2.builder.BuilderUtil} - OMException in getSOAPBuilder org.apache.axiom.soap.SOAPProcessingException: First Element must contain the local name, Envelope , but found events. If we send the payload on email as [2] the exception is not thrown. Is this the expected behaviour [1] system generated payload events event metaData tenant_id45/tenant_id http_methoddata1/http_method character_set_encodingdata4/character_set_encoding remote_addressdata4/remote_address transport_in_urldata2/transport_in_url message_typedata3/message_type remote_hostdata1/remote_host service_prefixdata3/service_prefix hostdata2/host /metaData correlationData activity_iddata5/activity_id /correlationData payloadData message_directiondata5/message_direction service_namedata3/service_name operation_namedata4/operation_name message_iddata1/message_id timestamp645565/timestamp /payloadData /event /events [2] with soap envelope soap:Envelope xmlns:soap=http://www.w3.org/2003/05/soap-envelope; xmlns:ser=http://services.samples; xmlns:xsd=http://services.samples/xsd; soap:Header/ soap:Body events event metaData tenant_id100/tenant_id http_methoddata3/http_ method character_set_encodingdata5 /character_set_encoding remote_addressdata5/remote_ address transport_in_urldata3/transport_in_url message_typedata1/message_type remote_hostdata2/remote_host service_prefixdata4/service_prefix hostdata1/host /metaData correlationData activity_iddata2/activity_id /correlationData payloadData message_directiondata3/message_direction service_namedata1/service_name operation_namedata1/operation_name message_iddata4/message_id timestamp323232/timestamp /payloadData /event /events /soap:Body /soap:Envelope Shavantha Weerasinghe Senior Software Engineer QA WSO2, Inc. lean.enterprise.middleware. http://wso2.com http://wso2.org Tel : 94 11 214 5345 Fax :94 11 2145300 On Thu, Oct 23, 2014 at 2:10 PM, Shavantha
Re: [Dev] org.h2.jdbc.JdbcSQLException: File corrupted while reading record excception is throwing APIM GIT build while adding a new API.
Hi, Is this resolved? We are getting the same error when trying to integrate a product specific H2 database to the ML product (WSO2ML_DB). However, inbuilt carbon H2 DB works fine. Error is thrown when the product (from UI) tries to access the WSO2ML_DB. Follow are the configurations did when adding the new database. *module/distribution/pom.xml :* execution idCreate-ML-Database/id phasepackage/phase goals goalrun/goal /goals configuration tasks path id=h2.classpath path refid=maven.compile.classpath/ /path echo message=### Creating Machine Learner Database ##/ sql driver=org.h2.Driver url=jdbc:h2:${basedir}/target/database/WSO2ML_DB userid=wso2carbon password=wso2carbon autocommit=true onerror=continue classpath path refid=h2.classpath/ /classpath fileset file=${basedir}/src/main/resources/dbscripts/h2.sql/ /sql echo message=# END / /tasks /configuration /execution and copy the created database by module/distribution/src/mainassembly/bin.xml using the following segment. file sourcetarget/database/WSO2ML_DB.h2.db/source outputDirectorywso2ml-${pom.version}/repository/database/outputDirectory filteredtrue/filtered fileMode666/fileMode /file The database was exposed as JNDI and is added to the master-datasources.xml. Thanks, Supun On Tue, Sep 2, 2014 at 11:34 AM, Ajith Vitharana aji...@wso2.com wrote: On Tue, Sep 2, 2014 at 6:54 AM, Amalka Subasinghe ama...@wso2.com wrote: Hi Friszan, Here I got this error, when I try to start the APIM, just unzipping the pack under module/distribution. Not while executing tests. Please go and talk to AM team :) . Anyway this error can be due to few reasons. 1. This AM database create and package to the AM product while building the product. So you can look at the build log to find any errors. 2. Enable the H2 configurations in carbon.xml and access through the browser. 3. Did we upgrade the H2 version in GIT ? 4. Check whether the AM source is properly updated in GIT. Thanks Ajith. Thanks Amalka On Mon, Sep 1, 2014 at 11:10 PM, Firzhan Naqash firz...@wso2.com wrote: Hi Amalka, Since you are trying to set up for automation test, have you turned on the filtering of maven-resources-plugin? If so that might be trying to modify the H2 database while APIM modifying it, thus leads to corruption. Can you check on it ? Regards, Firzhan On Mon, Sep 1, 2014 at 3:34 PM, Amalka Subasinghe ama...@wso2.com wrote: ERROR - ApiMgtDAO Error while adding the API: org.wso2.carbon.apimgt.api.model.APIIdentifier@60ba6803 to the database org.h2.jdbc.JdbcSQLException: File corrupted while reading record: /home/amalka/amalkas/apim-packs/Untitled Folder/wso2am-1.7.0-SNAPSHOT/repository/database/WSO2AM_DB.h2.db. Possible solution: use the recovery tool [90030-140] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:167) at org.h2.message.DbException.get(DbException.java:144) at org.h2.store.PageStore.readVariableHeader(PageStore.java:699) at org.h2.store.PageStore.openExisting(PageStore.java:314) at org.h2.store.PageStore.open(PageStore.java:271) at org.h2.engine.Database.getPageStore(Database.java:2059) at org.h2.engine.Database.open(Database.java:534) at org.h2.engine.Database.openDatabase(Database.java:207) at org.h2.engine.Database.init(Database.java:202) at org.h2.engine.Engine.openSession(Engine.java:56) at org.h2.engine.Engine.openSession(Engine.java:146) at org.h2.engine.Engine.getSession(Engine.java:125) at org.h2.engine.Session.createSession(Session.java:122) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:241) at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219) at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:111) at org.h2.jdbc.JdbcConnection.init(JdbcConnection.java:95) at org.h2.Driver.connect(Driver.java:73) at
Re: [Dev] Getting error when having two ESB instance with offset 0 1
Hi, Thanks for the replies. I noticed that port 1 is already occupied. After restart, it works fine. On Fri, Oct 31, 2014 at 6:47 PM, Waruna Perera waru...@wso2.com wrote: Hi, use lsof -n -i command and see On Fri, Oct 31, 2014 at 6:38 PM, Harsha Kumara hars...@wso2.com wrote: Hi Priyadarssini, Seems like your port 1 is already occupied. Can you check and see which process has occupied that. This is regarding the jmx port which is by default. With port offset, seems like some other process has already occupied the port. [1] - *http://www.cyberciti.biz/faq/what-process-has-open-linux-port/ http://www.cyberciti.biz/faq/what-process-has-open-linux-port/* Thanks, Harsha On Fri, Oct 31, 2014 at 6:29 PM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi all, I'm getting the following error [1] while running 2 ESB instance. Both ESBs are 4.8.1 offsets are 0 1. The error is not throwing when I set offset 2 in the secong ESB. Any idea why this is happening? [1] ERROR - JMXServerManager Could not create the RMI local registry java.rmi.server.ExportException: Port already in use: 1; nested exception is: java.net.BindException: Address already in use at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310) at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218) at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393) at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129) at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:188) at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:100) at sun.rmi.registry.RegistryImpl.init(RegistryImpl.java:86) at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:186) at org.wso2.carbon.core.init.JMXServerManager.startJMXService(JMXServerManager.java:89) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:197) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123) at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponent.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at
Re: [Dev] org.h2.jdbc.JdbcSQLException: File corrupted while reading record excception is throwing APIM GIT build while adding a new API.
Hi Supun, Remove the filteredtrue/filtered and try again which sometime cause to corrupt files. Thanks, Harsha On Mon, Nov 3, 2014 at 6:13 PM, Supun Sethunga sup...@wso2.com wrote: Hi, Is this resolved? We are getting the same error when trying to integrate a product specific H2 database to the ML product (WSO2ML_DB). However, inbuilt carbon H2 DB works fine. Error is thrown when the product (from UI) tries to access the WSO2ML_DB. Follow are the configurations did when adding the new database. *module/distribution/pom.xml :* execution idCreate-ML-Database/id phasepackage/phase goals goalrun/goal /goals configuration tasks path id=h2.classpath path refid=maven.compile.classpath/ /path echo message=### Creating Machine Learner Database ##/ sql driver=org.h2.Driver url=jdbc:h2:${basedir}/target/database/WSO2ML_DB userid=wso2carbon password=wso2carbon autocommit=true onerror=continue classpath path refid=h2.classpath/ /classpath fileset file=${basedir}/src/main/resources/dbscripts/h2.sql/ /sql echo message=# END / /tasks /configuration /execution and copy the created database by module/distribution/src/mainassembly/bin.xml using the following segment. file sourcetarget/database/WSO2ML_DB.h2.db/source outputDirectorywso2ml-${pom.version}/repository/database/outputDirectory filteredtrue/filtered fileMode666/fileMode /file The database was exposed as JNDI and is added to the master-datasources.xml. Thanks, Supun On Tue, Sep 2, 2014 at 11:34 AM, Ajith Vitharana aji...@wso2.com wrote: On Tue, Sep 2, 2014 at 6:54 AM, Amalka Subasinghe ama...@wso2.com wrote: Hi Friszan, Here I got this error, when I try to start the APIM, just unzipping the pack under module/distribution. Not while executing tests. Please go and talk to AM team :) . Anyway this error can be due to few reasons. 1. This AM database create and package to the AM product while building the product. So you can look at the build log to find any errors. 2. Enable the H2 configurations in carbon.xml and access through the browser. 3. Did we upgrade the H2 version in GIT ? 4. Check whether the AM source is properly updated in GIT. Thanks Ajith. Thanks Amalka On Mon, Sep 1, 2014 at 11:10 PM, Firzhan Naqash firz...@wso2.com wrote: Hi Amalka, Since you are trying to set up for automation test, have you turned on the filtering of maven-resources-plugin? If so that might be trying to modify the H2 database while APIM modifying it, thus leads to corruption. Can you check on it ? Regards, Firzhan On Mon, Sep 1, 2014 at 3:34 PM, Amalka Subasinghe ama...@wso2.com wrote: ERROR - ApiMgtDAO Error while adding the API: org.wso2.carbon.apimgt.api.model.APIIdentifier@60ba6803 to the database org.h2.jdbc.JdbcSQLException: File corrupted while reading record: /home/amalka/amalkas/apim-packs/Untitled Folder/wso2am-1.7.0-SNAPSHOT/repository/database/WSO2AM_DB.h2.db. Possible solution: use the recovery tool [90030-140] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:167) at org.h2.message.DbException.get(DbException.java:144) at org.h2.store.PageStore.readVariableHeader(PageStore.java:699) at org.h2.store.PageStore.openExisting(PageStore.java:314) at org.h2.store.PageStore.open(PageStore.java:271) at org.h2.engine.Database.getPageStore(Database.java:2059) at org.h2.engine.Database.open(Database.java:534) at org.h2.engine.Database.openDatabase(Database.java:207) at org.h2.engine.Database.init(Database.java:202) at org.h2.engine.Engine.openSession(Engine.java:56) at org.h2.engine.Engine.openSession(Engine.java:146) at org.h2.engine.Engine.getSession(Engine.java:125) at org.h2.engine.Session.createSession(Session.java:122) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:241) at
Re: [Dev] [APIM] Integration tests for API Manager 1.8.0
Disabling tests due to test failures are not good. You got to fix the failure cases before the release. Think about the patches we are going to release on top on this branch, how someone ensure their patches don't break any existing functionality. QAA team have fixed some of these broken cases in GIT [1]. However product team should be more responsible for these broken cases and fix them as they go ahead with new releases. [1] https://github.com/amalkasubasinghe/product-apim/tree/master/modules/integration Thanks, Krishantha. On Mon, Nov 3, 2014 at 5:01 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Sanjeewa; We fixed tests-new module only.. Tests module consists old testcases which are broken for some time. On 3 November 2014 16:11, Krishantha Samaraweera krishan...@wso2.com wrote: commit r205512 disable tests module from integration pom. Any idea why this module was disabled ? only a few integration tests are enabled now. AFAIK, integration tests are broken due to API changes introduced in latest releases. We must fix all failures before the release. Thanks, Krishantha. On Mon, Nov 3, 2014 at 3:06 PM, Sanjeewa Malalgoda sanje...@wso2.com wrote: Hi All, In following svn directory we can see test, tests-new directories. And i can see some of artifacts(synapse configs etc) got deleted from tests directory. What was the reason to have different directories? Which one we should run for integration tests(according to pom file we build tests if tests enabled)? Are we building RC packs with integration tests? I think we need to fix these issues before release. https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.8.0/modules/integration Thanks, sanjeewa. -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- -Ratha -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] Integration tests for API Manager 1.8.0
Hi All, Are these tests build on top of 1.7.0 or 1.8.0? And why do we maintain in private git repo? I think need to merge fixed tests to current code and fix test cases as much as possible(tests-new is having only 2 test cases from what we had previously). Thanks, sanjeewa. On Mon, Nov 3, 2014 at 8:00 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Disabling tests due to test failures are not good. You got to fix the failure cases before the release. Think about the patches we are going to release on top on this branch, how someone ensure their patches don't break any existing functionality. QAA team have fixed some of these broken cases in GIT [1]. However product team should be more responsible for these broken cases and fix them as they go ahead with new releases. [1] https://github.com/amalkasubasinghe/product-apim/tree/master/modules/integration Thanks, Krishantha. On Mon, Nov 3, 2014 at 5:01 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Sanjeewa; We fixed tests-new module only.. Tests module consists old testcases which are broken for some time. On 3 November 2014 16:11, Krishantha Samaraweera krishan...@wso2.com wrote: commit r205512 disable tests module from integration pom. Any idea why this module was disabled ? only a few integration tests are enabled now. AFAIK, integration tests are broken due to API changes introduced in latest releases. We must fix all failures before the release. Thanks, Krishantha. On Mon, Nov 3, 2014 at 3:06 PM, Sanjeewa Malalgoda sanje...@wso2.com wrote: Hi All, In following svn directory we can see test, tests-new directories. And i can see some of artifacts(synapse configs etc) got deleted from tests directory. What was the reason to have different directories? Which one we should run for integration tests(according to pom file we build tests if tests enabled)? Are we building RC packs with integration tests? I think we need to fix these issues before release. https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.8.0/modules/integration Thanks, sanjeewa. -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- -Ratha -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Does Token API port need to be changed when there's a port-offset in APIM?
Hi guys, I have a related question. In APIM store, when I generate an access token, isn't it using the Token API internally to retrieve the token? I can see that it works even when I have a wrong port in _TokenAPI_.xml. How does that happen? Thanks, Bhathiya On Mon, Nov 3, 2014 at 12:57 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Vanji. On Mon, Nov 3, 2014 at 8:45 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi, Synapse configurations has to be updated manually in the GW. Best regards, vanji On Mon, Nov 3, 2014 at 9:04 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Udara. On Mon, Nov 3, 2014 at 3:34 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Bhathiya, Yes, you have to update the _TokenAPI_.xml. [1] https://docs.wso2.com/display/AM170/Token+API On Sun, Nov 2, 2014 at 1:44 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, When we have a port offset in APIM, do we have to change the port accordingly in _TokenAPI_.xml manually? I believe we have to. Please correct me if I'm wrong. Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : 1 4087864651 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Does Token API port need to be changed when there's a port-offset in APIM?
May be it's coming from the db if not expired. Im not 100% sure. But you can confirm this by trying after expiry. sent from my nexus4, ignore any typos On Nov 3, 2014 8:05 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi guys, I have a related question. In APIM store, when I generate an access token, isn't it using the Token API internally to retrieve the token? I can see that it works even when I have a wrong port in _TokenAPI_.xml. How does that happen? Thanks, Bhathiya On Mon, Nov 3, 2014 at 12:57 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Vanji. On Mon, Nov 3, 2014 at 8:45 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi, Synapse configurations has to be updated manually in the GW. Best regards, vanji On Mon, Nov 3, 2014 at 9:04 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Udara. On Mon, Nov 3, 2014 at 3:34 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Bhathiya, Yes, you have to update the _TokenAPI_.xml. [1] https://docs.wso2.com/display/AM170/Token+API On Sun, Nov 2, 2014 at 1:44 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, When we have a port offset in APIM, do we have to change the port accordingly in _TokenAPI_.xml manually? I believe we have to. Please correct me if I'm wrong. Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : 1 4087864651 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Does Token API port need to be changed when there's a port-offset in APIM?
On Mon, Nov 3, 2014 at 9:48 PM, Udara Rathnayake uda...@wso2.com wrote: May be it's coming from the db if not expired. No, I'm generating a token for a new application. Im not 100% sure. But you can confirm this by trying after expiry. sent from my nexus4, ignore any typos On Nov 3, 2014 8:05 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi guys, I have a related question. In APIM store, when I generate an access token, isn't it using the Token API internally to retrieve the token? I can see that it works even when I have a wrong port in _TokenAPI_.xml. How does that happen? Thanks, Bhathiya On Mon, Nov 3, 2014 at 12:57 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Vanji. On Mon, Nov 3, 2014 at 8:45 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi, Synapse configurations has to be updated manually in the GW. Best regards, vanji On Mon, Nov 3, 2014 at 9:04 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Udara. On Mon, Nov 3, 2014 at 3:34 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Bhathiya, Yes, you have to update the _TokenAPI_.xml. [1] https://docs.wso2.com/display/AM170/Token+API On Sun, Nov 2, 2014 at 1:44 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, When we have a port offset in APIM, do we have to change the port accordingly in _TokenAPI_.xml manually? I believe we have to. Please correct me if I'm wrong. Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : 1 4087864651 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Does Token API port need to be changed when there's a port-offset in APIM?
Regenerate token does not use deployed rest APIs at gateway. On 3 November 2014 21:49, Bhathiya Jayasekara bhath...@wso2.com wrote: On Mon, Nov 3, 2014 at 9:48 PM, Udara Rathnayake uda...@wso2.com wrote: May be it's coming from the db if not expired. No, I'm generating a token for a new application. Im not 100% sure. But you can confirm this by trying after expiry. sent from my nexus4, ignore any typos On Nov 3, 2014 8:05 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi guys, I have a related question. In APIM store, when I generate an access token, isn't it using the Token API internally to retrieve the token? I can see that it works even when I have a wrong port in _TokenAPI_.xml. How does that happen? Thanks, Bhathiya On Mon, Nov 3, 2014 at 12:57 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Vanji. On Mon, Nov 3, 2014 at 8:45 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi, Synapse configurations has to be updated manually in the GW. Best regards, vanji On Mon, Nov 3, 2014 at 9:04 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Udara. On Mon, Nov 3, 2014 at 3:34 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Bhathiya, Yes, you have to update the _TokenAPI_.xml. [1] https://docs.wso2.com/display/AM170/Token+API On Sun, Nov 2, 2014 at 1:44 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, When we have a port offset in APIM, do we have to change the port accordingly in _TokenAPI_.xml manually? I believe we have to. Please correct me if I'm wrong. Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : 1 4087864651 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/*
Re: [Dev] Does Token API port need to be changed when there's a port-offset in APIM?
Hi Ratha, How does that happen then? Thanks, On Mon, Nov 3, 2014 at 9:59 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Regenerate token does not use deployed rest APIs at gateway. On 3 November 2014 21:49, Bhathiya Jayasekara bhath...@wso2.com wrote: On Mon, Nov 3, 2014 at 9:48 PM, Udara Rathnayake uda...@wso2.com wrote: May be it's coming from the db if not expired. No, I'm generating a token for a new application. Im not 100% sure. But you can confirm this by trying after expiry. sent from my nexus4, ignore any typos On Nov 3, 2014 8:05 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi guys, I have a related question. In APIM store, when I generate an access token, isn't it using the Token API internally to retrieve the token? I can see that it works even when I have a wrong port in _TokenAPI_.xml. How does that happen? Thanks, Bhathiya On Mon, Nov 3, 2014 at 12:57 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Vanji. On Mon, Nov 3, 2014 at 8:45 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi, Synapse configurations has to be updated manually in the GW. Best regards, vanji On Mon, Nov 3, 2014 at 9:04 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Udara. On Mon, Nov 3, 2014 at 3:34 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Bhathiya, Yes, you have to update the _TokenAPI_.xml. [1] https://docs.wso2.com/display/AM170/Token+API On Sun, Nov 2, 2014 at 1:44 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, When we have a port offset in APIM, do we have to change the port accordingly in _TokenAPI_.xml manually? I believe we have to. Please correct me if I'm wrong. Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : 1 4087864651 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter:
Re: [Dev] Does Token API port need to be changed when there's a port-offset in APIM?
they read KM endpoint info from api-manger.xml On 3 November 2014 22:00, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Ratha, How does that happen then? Thanks, On Mon, Nov 3, 2014 at 9:59 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Regenerate token does not use deployed rest APIs at gateway. On 3 November 2014 21:49, Bhathiya Jayasekara bhath...@wso2.com wrote: On Mon, Nov 3, 2014 at 9:48 PM, Udara Rathnayake uda...@wso2.com wrote: May be it's coming from the db if not expired. No, I'm generating a token for a new application. Im not 100% sure. But you can confirm this by trying after expiry. sent from my nexus4, ignore any typos On Nov 3, 2014 8:05 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi guys, I have a related question. In APIM store, when I generate an access token, isn't it using the Token API internally to retrieve the token? I can see that it works even when I have a wrong port in _TokenAPI_.xml. How does that happen? Thanks, Bhathiya On Mon, Nov 3, 2014 at 12:57 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Vanji. On Mon, Nov 3, 2014 at 8:45 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi, Synapse configurations has to be updated manually in the GW. Best regards, vanji On Mon, Nov 3, 2014 at 9:04 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Udara. On Mon, Nov 3, 2014 at 3:34 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Bhathiya, Yes, you have to update the _TokenAPI_.xml. [1] https://docs.wso2.com/display/AM170/Token+API On Sun, Nov 2, 2014 at 1:44 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, When we have a port offset in APIM, do we have to change the port accordingly in _TokenAPI_.xml manually? I believe we have to. Please correct me if I'm wrong. Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : 1 4087864651 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone:
Re: [Dev] Does Token API port need to be changed when there's a port-offset in APIM?
Does the regenerate token in the store also revoke the current token, calling the _revokeAPI_.xml in the gateway? I thought it did that to remove a locally cached value. Thanks, Colin Roy-Ehri Software Engineer *WSO2, Inc. : wso2.com http://wso2.com/* *Mobile* : 812-219-6517 On Mon, Nov 3, 2014 at 11:31 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: they read KM endpoint info from api-manger.xml On 3 November 2014 22:00, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Ratha, How does that happen then? Thanks, On Mon, Nov 3, 2014 at 9:59 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Regenerate token does not use deployed rest APIs at gateway. On 3 November 2014 21:49, Bhathiya Jayasekara bhath...@wso2.com wrote: On Mon, Nov 3, 2014 at 9:48 PM, Udara Rathnayake uda...@wso2.com wrote: May be it's coming from the db if not expired. No, I'm generating a token for a new application. Im not 100% sure. But you can confirm this by trying after expiry. sent from my nexus4, ignore any typos On Nov 3, 2014 8:05 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi guys, I have a related question. In APIM store, when I generate an access token, isn't it using the Token API internally to retrieve the token? I can see that it works even when I have a wrong port in _TokenAPI_.xml. How does that happen? Thanks, Bhathiya On Mon, Nov 3, 2014 at 12:57 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Vanji. On Mon, Nov 3, 2014 at 8:45 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi, Synapse configurations has to be updated manually in the GW. Best regards, vanji On Mon, Nov 3, 2014 at 9:04 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Udara. On Mon, Nov 3, 2014 at 3:34 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Bhathiya, Yes, you have to update the _TokenAPI_.xml. [1] https://docs.wso2.com/display/AM170/Token+API On Sun, Nov 2, 2014 at 1:44 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, When we have a port offset in APIM, do we have to change the port accordingly in _TokenAPI_.xml manually? I believe we have to. Please correct me if I'm wrong. Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : 1 4087864651 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185
Re: [Dev] Does Token API port need to be changed when there's a port-offset in APIM?
Call goes like this; Store-- KM --reads token endpoint from apimanager.xml ( TokenEndPointName/oauth2/token/TokenEndPointName) and for revoke we point gateway rest api(revoke api) which will be read from api-manger.xml (RevokeAPIURLhttps:// ${carbon.local.ip}:${https.nio.port}/revoke/RevokeAPIURL) Here revoke points the rest api deployed at gateway. thanks. On 3 November 2014 22:07, Colin Roy-Ehri col...@wso2.com wrote: Does the regenerate token in the store also revoke the current token, calling the _revokeAPI_.xml in the gateway? I thought it did that to remove a locally cached value. Thanks, Colin Roy-Ehri Software Engineer *WSO2, Inc. : wso2.com http://wso2.com/* *Mobile* : 812-219-6517 On Mon, Nov 3, 2014 at 11:31 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: they read KM endpoint info from api-manger.xml On 3 November 2014 22:00, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Ratha, How does that happen then? Thanks, On Mon, Nov 3, 2014 at 9:59 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Regenerate token does not use deployed rest APIs at gateway. On 3 November 2014 21:49, Bhathiya Jayasekara bhath...@wso2.com wrote: On Mon, Nov 3, 2014 at 9:48 PM, Udara Rathnayake uda...@wso2.com wrote: May be it's coming from the db if not expired. No, I'm generating a token for a new application. Im not 100% sure. But you can confirm this by trying after expiry. sent from my nexus4, ignore any typos On Nov 3, 2014 8:05 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi guys, I have a related question. In APIM store, when I generate an access token, isn't it using the Token API internally to retrieve the token? I can see that it works even when I have a wrong port in _TokenAPI_.xml. How does that happen? Thanks, Bhathiya On Mon, Nov 3, 2014 at 12:57 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Vanji. On Mon, Nov 3, 2014 at 8:45 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi, Synapse configurations has to be updated manually in the GW. Best regards, vanji On Mon, Nov 3, 2014 at 9:04 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Thanks Udara. On Mon, Nov 3, 2014 at 3:34 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Bhathiya, Yes, you have to update the _TokenAPI_.xml. [1] https://docs.wso2.com/display/AM170/Token+API On Sun, Nov 2, 2014 at 1:44 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, When we have a port offset in APIM, do we have to change the port accordingly in _TokenAPI_.xml manually? I believe we have to. Please correct me if I'm wrong. Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : 1 4087864651 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2
Re: [Dev] [APIM] Integration tests for API Manager 1.8.0
On Mon, Nov 3, 2014 at 10:17 PM, Krishantha Samaraweera krishan...@wso2.com wrote: I think you haven't seen this pull request - https://github.com/wso2-dev/product-apim/pull/4 My concern is product teams should be more responsible for maintaining their own tests rather depending on another team to maintain them on behalf of them. I completely agree with you. And i didn't meant that this tests should maintain from AAF. Just wanted to get latest status of APIM tests before merge new test case. Thanks, sanjeewa. Thanks, Krishantha. On Mon, Nov 3, 2014 at 8:26 PM, Sanjeewa Malalgoda sanje...@wso2.com wrote: Hi All, Are these tests build on top of 1.7.0 or 1.8.0? And why do we maintain in private git repo? I think need to merge fixed tests to current code and fix test cases as much as possible(tests-new is having only 2 test cases from what we had previously). Thanks, sanjeewa. On Mon, Nov 3, 2014 at 8:00 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Disabling tests due to test failures are not good. You got to fix the failure cases before the release. Think about the patches we are going to release on top on this branch, how someone ensure their patches don't break any existing functionality. QAA team have fixed some of these broken cases in GIT [1]. However product team should be more responsible for these broken cases and fix them as they go ahead with new releases. [1] https://github.com/amalkasubasinghe/product-apim/tree/master/modules/integration Thanks, Krishantha. On Mon, Nov 3, 2014 at 5:01 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Sanjeewa; We fixed tests-new module only.. Tests module consists old testcases which are broken for some time. On 3 November 2014 16:11, Krishantha Samaraweera krishan...@wso2.com wrote: commit r205512 disable tests module from integration pom. Any idea why this module was disabled ? only a few integration tests are enabled now. AFAIK, integration tests are broken due to API changes introduced in latest releases. We must fix all failures before the release. Thanks, Krishantha. On Mon, Nov 3, 2014 at 3:06 PM, Sanjeewa Malalgoda sanje...@wso2.com wrote: Hi All, In following svn directory we can see test, tests-new directories. And i can see some of artifacts(synapse configs etc) got deleted from tests directory. What was the reason to have different directories? Which one we should run for integration tests(according to pom file we build tests if tests enabled)? Are we building RC packs with integration tests? I think we need to fix these issues before release. https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.8.0/modules/integration Thanks, sanjeewa. -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- -Ratha -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APPFAC] Move apptype specific jenkins job configurations to apptype processors
Hi Danushka, Are you suggesting to move all the jenkins job configurations currently we have in to apptype processors, what my impression was we are doing that for non maven and buildable apptypes like ASP.NET. Should we refactor that improvement for maven apptype and other apptypes as well ? Dimuthu WDYT ? Thanks, Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Sun, Nov 2, 2014 at 9:59 PM, Danushka Fernando danush...@wso2.com wrote: Since we are just replacing some values of this and we are passing it to jenkins I think we can do that. And with this I think we can get rid of the code we check for freestyle or maven type jobs and we can minimize the changes we do to the configuration from the code as well. So while work on this refactor the code as well. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sun, Nov 2, 2014 at 8:34 PM, Kasun De Silva kas...@wso2.com wrote: Hi All, I'm working on the $subject. I'm thinking that we can include the jenkins job configuration inside the apptype as buildconfiguration.xml, similar to apptype.xml for non maven and buildable apptypes, and while deploying the apptype we can add the job configuration to application type bean. So that we can access it when it needed from the jenkins job configurator. WDYT of this approach ? Thanks, Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] org.h2.jdbc.JdbcSQLException: File corrupted while reading record excception is throwing APIM GIT build while adding a new API.
Hi Harsha, Yeah it did the trick. Thanks! :) Regards, Supun On Mon, Nov 3, 2014 at 6:30 PM, Harsha Kumara hars...@wso2.com wrote: Hi Supun, Remove the filteredtrue/filtered and try again which sometime cause to corrupt files. Thanks, Harsha On Mon, Nov 3, 2014 at 6:13 PM, Supun Sethunga sup...@wso2.com wrote: Hi, Is this resolved? We are getting the same error when trying to integrate a product specific H2 database to the ML product (WSO2ML_DB). However, inbuilt carbon H2 DB works fine. Error is thrown when the product (from UI) tries to access the WSO2ML_DB. Follow are the configurations did when adding the new database. *module/distribution/pom.xml :* execution idCreate-ML-Database/id phasepackage/phase goals goalrun/goal /goals configuration tasks path id=h2.classpath path refid=maven.compile.classpath/ /path echo message=### Creating Machine Learner Database ##/ sql driver=org.h2.Driver url=jdbc:h2:${basedir}/target/database/WSO2ML_DB userid=wso2carbon password=wso2carbon autocommit=true onerror=continue classpath path refid=h2.classpath/ /classpath fileset file=${basedir}/src/main/resources/dbscripts/h2.sql/ /sql echo message=# END / /tasks /configuration /execution and copy the created database by module/distribution/src/mainassembly/bin.xml using the following segment. file sourcetarget/database/WSO2ML_DB.h2.db/source outputDirectorywso2ml-${pom.version}/repository/database/outputDirectory filteredtrue/filtered fileMode666/fileMode /file The database was exposed as JNDI and is added to the master-datasources.xml. Thanks, Supun On Tue, Sep 2, 2014 at 11:34 AM, Ajith Vitharana aji...@wso2.com wrote: On Tue, Sep 2, 2014 at 6:54 AM, Amalka Subasinghe ama...@wso2.com wrote: Hi Friszan, Here I got this error, when I try to start the APIM, just unzipping the pack under module/distribution. Not while executing tests. Please go and talk to AM team :) . Anyway this error can be due to few reasons. 1. This AM database create and package to the AM product while building the product. So you can look at the build log to find any errors. 2. Enable the H2 configurations in carbon.xml and access through the browser. 3. Did we upgrade the H2 version in GIT ? 4. Check whether the AM source is properly updated in GIT. Thanks Ajith. Thanks Amalka On Mon, Sep 1, 2014 at 11:10 PM, Firzhan Naqash firz...@wso2.com wrote: Hi Amalka, Since you are trying to set up for automation test, have you turned on the filtering of maven-resources-plugin? If so that might be trying to modify the H2 database while APIM modifying it, thus leads to corruption. Can you check on it ? Regards, Firzhan On Mon, Sep 1, 2014 at 3:34 PM, Amalka Subasinghe ama...@wso2.com wrote: ERROR - ApiMgtDAO Error while adding the API: org.wso2.carbon.apimgt.api.model.APIIdentifier@60ba6803 to the database org.h2.jdbc.JdbcSQLException: File corrupted while reading record: /home/amalka/amalkas/apim-packs/Untitled Folder/wso2am-1.7.0-SNAPSHOT/repository/database/WSO2AM_DB.h2.db. Possible solution: use the recovery tool [90030-140] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:167) at org.h2.message.DbException.get(DbException.java:144) at org.h2.store.PageStore.readVariableHeader(PageStore.java:699) at org.h2.store.PageStore.openExisting(PageStore.java:314) at org.h2.store.PageStore.open(PageStore.java:271) at org.h2.engine.Database.getPageStore(Database.java:2059) at org.h2.engine.Database.open(Database.java:534) at org.h2.engine.Database.openDatabase(Database.java:207) at org.h2.engine.Database.init(Database.java:202) at org.h2.engine.Engine.openSession(Engine.java:56) at org.h2.engine.Engine.openSession(Engine.java:146) at org.h2.engine.Engine.getSession(Engine.java:125) at org.h2.engine.Session.createSession(Session.java:122) at
Re: [Dev] [Siddhi] Counting Patterns
On Mon, Nov 3, 2014 at 3:57 AM, Seshika Fernando sesh...@wso2.com wrote: Hi Suho, Leaving this particular example aside, I still have an issue with counting patterns. In the following example from e1 = data - e2 = data[(e1.cardNum == e2.cardNum) and (e1.location != e2.location)] 4: select e1.cardNum, e1.location as loc1, e2[0].location as loc2, e2[1].location as loc3, e2[2].location as loc4, e2[3].location as loc5 insert into alert Assuming the below is the stream of transactions CardNum, Location 1234, Kandy 1234, Colombo 1234, Trinco 1234, Galle 1234, Nairobi 1234, Jaffna Then the first alert should be triggered as *[1234, Kandy, Colombo, Trinco, Galle, Nairobi] *since there are 4 transactions from the same card at locations different to the first transaction. However, currently we get alerts for every 2 events as follows.. data=[1234, Kandy, Colombo, null, null, null] data=[1234, Kandy, Colombo, Trinco, null, null] data=[1234, Colombo, Trinco, null, null, null] data=[1234, Kandy, Colombo, Trinco, Galle, null] data=[1234, Colombo, Trinco, Galle, null, null] data=[1234, Trinco, Galle, null, null, null] data=[1234, Kandy, Colombo, Trinco, Galle, Nairobi] data=[1234, Colombo, Trinco, Galle, Nairobi, null] data=[1234, Trinco, Galle, Nairobi, null, null] data=[1234, Galle, Nairobi, null, null, null] data=[1234, Colombo, Trinco, Galle, Nairobi, Jaffna] data=[1234, Trinco, Galle, Nairobi, Jaffna, null] data=[1234, Galle, Nairobi, Jaffna, null, null] data=[1234, Nairobi, Jaffna, null, null, null] So I don't think this is how counting patterns are supposed to work, since there is no real use of putting 4: if the alerts are going to come as above. WDYT? I feel we need to revisit counting patterns and their usability. It should not return null at-least it has to have 4 valid values. I think that is a bug will have a look For now as a work around, put a having condition to check is last one is not a null from e1 = data - e2 = data[(e1.cardNum == e2.cardNum) and (e1.location != e2.location)] 4: select e1.cardNum, e1.location as loc1, e2[0].location as loc2, e2[1].location as loc3, e2[2].location as loc4, e2[3].location as loc5 having e2[3].location instanceof string insert into alert Suho seshi On Mon, Nov 3, 2014 at 9:06 AM, Supun Muthutantrige sup...@wso2.com wrote: Hi Suho, Yes, the 3rd example worked for the above given scenario. And when more than 3 addresses are allowed, what Seshika has mentioned can also be used. Thank you, Regards *Supun Rasitha Muthutantrige* Software Engineer | Intern WSO2 Inc: http://wso2.com lean.enterprise.middleware Mobile: 0758374608 -- *S. Suhothayan* Technical Lead Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Is there a way to remove jsonObject element from xml to json converted message
Hi, I customized API manager main sequence to change the default error message according to below format.so now i am getting the error messages as below. *PayloadFactory:* property name=ERROR_DETAIL value=Unsupported Transport. The requested resource is not available./ property name=ERROR_URL_POSTFIX expression=$axis2:REST_URL_POSTFIX/ property name=ERROR_FORMAT_LINK value=http://errors.api.wso2.com/wso2/ / property name=ERROR_CODE value=403/ payloadFactory media-type=json format { message:$1, _links:{ about:{ href: $2 }, help:{ href: $3$4 } } } /format args arg xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope; xmlns:ns3=http://org.apache.synapse/xsd; evaluator=xml expression=$ctx:ERROR_DETAIL/ arg xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope; xmlns:ns3=http://org.apache.synapse/xsd; evaluator=xml expression=$ctx:ERROR_URL_POSTFIX/ arg xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope; xmlns:ns3=http://org.apache.synapse/xsd; evaluator=xml expression=$ctx:ERROR_FORMAT_LINK/ arg xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope; xmlns:ns3=http://org.apache.synapse/xsd; evaluator=xml expression=$ctx:ERROR_CODE/ /args /payloadFactory *Error Results:* XML: jsonObjecterrormessageThe requested resource is not available./message_linksabouthrefHelloService1/1.0.0/greet?name=Hi/href/abouthelphrefhttp://errors.api.wso2.com/wso2/404 http://errors.api.aligntech.com/wso2/404/href/help/_links/error/jsonObject Json: {jsonObject:{error:{message:The requested resource is not available.,_links:{about:{href:HelloService1\/1.0.0\/greet?name=Hi},help:{href:http:\/\/errors.api.wso2.com http://errors.api.aligntech.com\/wso2\/404} Here my requirement is to remove the jsonObject element from the response and display only the error message. Is there any way to do this? Appreciate if anyone can provide some help on this. -- Asanka Vithanage Senior Software Engineer -QA Mobile: +94 0716286708 Email: asan...@wso2.com WSO2 Inc. www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Siddhi] Counting Patterns
Thanks. Shall open a jira for this. On Tue, Nov 4, 2014 at 9:56 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: On Mon, Nov 3, 2014 at 3:57 AM, Seshika Fernando sesh...@wso2.com wrote: Hi Suho, Leaving this particular example aside, I still have an issue with counting patterns. In the following example from e1 = data - e2 = data[(e1.cardNum == e2.cardNum) and (e1.location != e2.location)] 4: select e1.cardNum, e1.location as loc1, e2[0].location as loc2, e2[1].location as loc3, e2[2].location as loc4, e2[3].location as loc5 insert into alert Assuming the below is the stream of transactions CardNum, Location 1234, Kandy 1234, Colombo 1234, Trinco 1234, Galle 1234, Nairobi 1234, Jaffna Then the first alert should be triggered as *[1234, Kandy, Colombo, Trinco, Galle, Nairobi] *since there are 4 transactions from the same card at locations different to the first transaction. However, currently we get alerts for every 2 events as follows.. data=[1234, Kandy, Colombo, null, null, null] data=[1234, Kandy, Colombo, Trinco, null, null] data=[1234, Colombo, Trinco, null, null, null] data=[1234, Kandy, Colombo, Trinco, Galle, null] data=[1234, Colombo, Trinco, Galle, null, null] data=[1234, Trinco, Galle, null, null, null] data=[1234, Kandy, Colombo, Trinco, Galle, Nairobi] data=[1234, Colombo, Trinco, Galle, Nairobi, null] data=[1234, Trinco, Galle, Nairobi, null, null] data=[1234, Galle, Nairobi, null, null, null] data=[1234, Colombo, Trinco, Galle, Nairobi, Jaffna] data=[1234, Trinco, Galle, Nairobi, Jaffna, null] data=[1234, Galle, Nairobi, Jaffna, null, null] data=[1234, Nairobi, Jaffna, null, null, null] So I don't think this is how counting patterns are supposed to work, since there is no real use of putting 4: if the alerts are going to come as above. WDYT? I feel we need to revisit counting patterns and their usability. It should not return null at-least it has to have 4 valid values. I think that is a bug will have a look For now as a work around, put a having condition to check is last one is not a null from e1 = data - e2 = data[(e1.cardNum == e2.cardNum) and (e1.location != e2.location)] 4: select e1.cardNum, e1.location as loc1, e2[0].location as loc2, e2[1].location as loc3, e2[2].location as loc4, e2[3].location as loc5 having e2[3].location instanceof string insert into alert Suho seshi On Mon, Nov 3, 2014 at 9:06 AM, Supun Muthutantrige sup...@wso2.com wrote: Hi Suho, Yes, the 3rd example worked for the above given scenario. And when more than 3 addresses are allowed, what Seshika has mentioned can also be used. Thank you, Regards *Supun Rasitha Muthutantrige* Software Engineer | Intern WSO2 Inc: http://wso2.com lean.enterprise.middleware Mobile: 0758374608 -- *S. Suhothayan* Technical Lead Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Axis2 Email Issue with jaggery jar
Hi Prasad, Are you sure it is when org.jaggeryjs.hostobjects.stream_0.9.0.SNAPSHOT-10252013.jar is in classpath not org.jaggeryjs.hostobjects.email_0.9.0.SNAPSHOT-*10252013.jar *? Because we have came across the same exception [1] with email host object in class path and fixed in jaggery master, but not in the version ( 0.9.0.SNAPSHOT-10252013) that you use. I have also written blog post [2] on how the issue is solved explaining it's causes. [1] https://wso2.org/jira/browse/UES-466 [2] http://tanyamadurapperuma.blogspot.com/2014/01/struggling-with-nosuchproviderexception.html Thanks, Tanya On Mon, Nov 3, 2014 at 9:21 AM, Prasad Tissera pras...@wso2.com wrote: When org.jaggeryjs.hostobjects.stream_0.9.0.SNAPSHOT-10252013.jar is in the classpath email transport give the following exception. org.apache.axis2.AxisFault: Error generating mail message Caused by: javax.mail.NoSuchProviderException: smtp at javax.mail.Session.getService(Session.java:782) at javax.mail.Session.getTransport(Session.java:708) at javax.mail.Session.getTransport(Session.java:651) at javax.mail.Session.getTransport(Session.java:631) at javax.mail.Session.getTransport(Session.java:686) at javax.mail.Transport.send0(Transport.java:166) at javax.mail.Transport.send(Transport.java:98) at org.apache.axis2.transport.mail.MailTransportSender.sendMail(MailTransportSender.java:489) ... 16 more This version is the default packed in is 5.0.0. What is the recommended way of fixing this ? We will also need to change this dependency in 5.1.0. Regards, Prasad. -- Prasad Tissera Software Engineer. Mobile : +94777223444 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Tanya Madurapperuma Software Engineer, WSO2 Inc. : wso2.com Mobile : +94718184439 Blog : http://tanyamadurapperuma.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Axis2 Email Issue with jaggery jar
Hi Tanaya, Yes, that could be the issue, actually I have removed several jars. Thanks for the info. Regards, Prasad. On Tue, Nov 4, 2014 at 10:17 AM, Tanya Madurapperuma ta...@wso2.com wrote: Hi Prasad, Are you sure it is when org.jaggeryjs.hostobjects.stream_0.9.0.SNAPSHOT-10252013.jar is in classpath not org.jaggeryjs.hostobjects.email_0.9.0.SNAPSHOT-*10252013.jar *? Because we have came across the same exception [1] with email host object in class path and fixed in jaggery master, but not in the version ( 0.9.0.SNAPSHOT-10252013) that you use. I have also written blog post [2] on how the issue is solved explaining it's causes. [1] https://wso2.org/jira/browse/UES-466 [2] http://tanyamadurapperuma.blogspot.com/2014/01/struggling-with-nosuchproviderexception.html Thanks, Tanya On Mon, Nov 3, 2014 at 9:21 AM, Prasad Tissera pras...@wso2.com wrote: When org.jaggeryjs.hostobjects.stream_0.9.0.SNAPSHOT-10252013.jar is in the classpath email transport give the following exception. org.apache.axis2.AxisFault: Error generating mail message Caused by: javax.mail.NoSuchProviderException: smtp at javax.mail.Session.getService(Session.java:782) at javax.mail.Session.getTransport(Session.java:708) at javax.mail.Session.getTransport(Session.java:651) at javax.mail.Session.getTransport(Session.java:631) at javax.mail.Session.getTransport(Session.java:686) at javax.mail.Transport.send0(Transport.java:166) at javax.mail.Transport.send(Transport.java:98) at org.apache.axis2.transport.mail.MailTransportSender.sendMail(MailTransportSender.java:489) ... 16 more This version is the default packed in is 5.0.0. What is the recommended way of fixing this ? We will also need to change this dependency in 5.1.0. Regards, Prasad. -- Prasad Tissera Software Engineer. Mobile : +94777223444 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Tanya Madurapperuma Software Engineer, WSO2 Inc. : wso2.com Mobile : +94718184439 Blog : http://tanyamadurapperuma.blogspot.com -- Prasad Tissera Software Engineer. Mobile : +94777223444 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Milinda Perera
Congrats Milinda! On Thu, Oct 30, 2014 at 6:56 AM, Akila Ravihansa Perera raviha...@wso2.com wrote: Congratulations Milinda!!! On Wed, Oct 29, 2014 at 5:09 AM, Shashika Karunatilaka shashi...@wso2.com wrote: Congrats Milinda On Wed, Oct 29, 2014 at 4:22 PM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: Congratulations !!! On Wed, Oct 29, 2014 at 4:18 PM, Thilini Shanika thili...@wso2.com wrote: Congratulations Milinda!!! On Wed, Oct 29, 2014 at 4:14 PM, Inshaf Mahath ins...@wso2.com wrote: Congrats Milinda!! :) On Wed, Oct 29, 2014 at 3:39 PM, Amal Gunatilake am...@wso2.com wrote: Congratulations Milinda!! Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Wed, Oct 29, 2014 at 3:31 PM, Malintha Adikari malin...@wso2.com wrote: Congratulations, Milinda! On Wed, Oct 29, 2014 at 9:59 AM, Denuwanthi De Silva denuwan...@wso2.com wrote: Congratulations!! On Tue, Oct 28, 2014 at 7:05 PM, Shiva Balachandran sh...@wso2.com wrote: Congrats :) On Tue, Oct 28, 2014 at 5:07 PM, Roshan Deniyage rosh...@wso2.com wrote: Congratulations Milinda ! Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter: *https://twitter.com/roshku https://twitter.com/roshku* LinkedIn : https://www.linkedin.com/in/roshandeniyage On Tue, Oct 28, 2014 at 4:26 PM, Tharindu Edirisinghe tharin...@wso2.com wrote: Congratulations Milinda On Tue, Oct 28, 2014 at 4:23 PM, Hasintha Indrajee hasin...@wso2.com wrote: Congratulations Milinda !! On Tue, Oct 28, 2014 at 4:13 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Congratulations Milinda !!! On Tue, Oct 28, 2014 at 3:39 PM, Yasassri Ratnayake yasas...@wso2.com wrote: Congrats Milinda :) On Tue, Oct 28, 2014 at 3:34 PM, Mahesh Chinthaka mahe...@wso2.com wrote: Congratz milinda...!!! On Tue, Oct 28, 2014 at 3:32 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Congratz Milinda...!! On Tue, Oct 28, 2014 at 3:29 PM, Kasun De Silva kas...@wso2.com wrote: Congratz Milinda..!!! *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Tue, Oct 28, 2014 at 3:28 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Congratulations Milinda.!! *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Oct 28, 2014 at 3:27 PM, Supun Sethunga sup...@wso2.com wrote: Congratz!! On Tue, Oct 28, 2014 at 3:26 PM, Waruna Jayaweera waru...@wso2.com wrote: Congratzz Milinda.. On Tue, Oct 28, 2014 at 3:14 PM, Godwin Amila Shrimal god...@wso2.com wrote: Congratulations Milinda !!! On Tue, Oct 28, 2014 at 3:11 PM, Firzhan Naqash firz...@wso2.com wrote: Congars Milinda Regards, Firzhan On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com wrote: Congrats Milinda!!! On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Milinda ! On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Milinda!!! :) On Tue, Oct 28, 2014 at 2:53 PM, Nandika Jayawardana nand...@wso2.com wrote: Hi all, It's my pleasure to announce Milinda Perera as a WSO2 Committer. Milinda has been a valuable contributor to WSO2 BPS product and in recognition of his contribution he has been voted as a WSO2 Committer. Milinda, welcome aboard and keep up the good work!. Regards Nandika -- Nandika Jayawardana Senior Technical Lead WSO2 Inc ; http://wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com
Re: [Dev] [Siddhi] Counting Patterns
Jira opened for counting patterns issue - CEP-977 - Counting Patterns do not work properly https://wso2.org/browse/CEP-977 Separately, you had mentioned that we can use e2[*prev*], e2[*last*] etc; These are not documented anywhere AFAIK. Need to open a docsJIRA for this. Are there any other similar keywords that can be used? On Tue, Nov 4, 2014 at 10:13 AM, Seshika Fernando sesh...@wso2.com wrote: Thanks. Shall open a jira for this. On Tue, Nov 4, 2014 at 9:56 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: On Mon, Nov 3, 2014 at 3:57 AM, Seshika Fernando sesh...@wso2.com wrote: Hi Suho, Leaving this particular example aside, I still have an issue with counting patterns. In the following example from e1 = data - e2 = data[(e1.cardNum == e2.cardNum) and (e1.location != e2.location)] 4: select e1.cardNum, e1.location as loc1, e2[0].location as loc2, e2[1].location as loc3, e2[2].location as loc4, e2[3].location as loc5 insert into alert Assuming the below is the stream of transactions CardNum, Location 1234, Kandy 1234, Colombo 1234, Trinco 1234, Galle 1234, Nairobi 1234, Jaffna Then the first alert should be triggered as *[1234, Kandy, Colombo, Trinco, Galle, Nairobi] *since there are 4 transactions from the same card at locations different to the first transaction. However, currently we get alerts for every 2 events as follows.. data=[1234, Kandy, Colombo, null, null, null] data=[1234, Kandy, Colombo, Trinco, null, null] data=[1234, Colombo, Trinco, null, null, null] data=[1234, Kandy, Colombo, Trinco, Galle, null] data=[1234, Colombo, Trinco, Galle, null, null] data=[1234, Trinco, Galle, null, null, null] data=[1234, Kandy, Colombo, Trinco, Galle, Nairobi] data=[1234, Colombo, Trinco, Galle, Nairobi, null] data=[1234, Trinco, Galle, Nairobi, null, null] data=[1234, Galle, Nairobi, null, null, null] data=[1234, Colombo, Trinco, Galle, Nairobi, Jaffna] data=[1234, Trinco, Galle, Nairobi, Jaffna, null] data=[1234, Galle, Nairobi, Jaffna, null, null] data=[1234, Nairobi, Jaffna, null, null, null] So I don't think this is how counting patterns are supposed to work, since there is no real use of putting 4: if the alerts are going to come as above. WDYT? I feel we need to revisit counting patterns and their usability. It should not return null at-least it has to have 4 valid values. I think that is a bug will have a look For now as a work around, put a having condition to check is last one is not a null from e1 = data - e2 = data[(e1.cardNum == e2.cardNum) and (e1.location != e2.location)] 4: select e1.cardNum, e1.location as loc1, e2[0].location as loc2, e2[1].location as loc3, e2[2].location as loc4, e2[3].location as loc5 having e2[3].location instanceof string insert into alert Suho seshi On Mon, Nov 3, 2014 at 9:06 AM, Supun Muthutantrige sup...@wso2.com wrote: Hi Suho, Yes, the 3rd example worked for the above given scenario. And when more than 3 addresses are allowed, what Seshika has mentioned can also be used. Thank you, Regards *Supun Rasitha Muthutantrige* Software Engineer | Intern WSO2 Inc: http://wso2.com lean.enterprise.middleware Mobile: 0758374608 -- *S. Suhothayan* Technical Lead Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APPFAC] Move apptype specific jenkins job configurations to apptype processors
IIRC what Dimuthu asked for is to move all build configuration. No point of moving it just for one apptype. On Nov 4, 2014 9:38 AM, Kasun De Silva kas...@wso2.com wrote: Hi Danushka, Are you suggesting to move all the jenkins job configurations currently we have in to apptype processors, what my impression was we are doing that for non maven and buildable apptypes like ASP.NET. Should we refactor that improvement for maven apptype and other apptypes as well ? Dimuthu WDYT ? Thanks, Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Sun, Nov 2, 2014 at 9:59 PM, Danushka Fernando danush...@wso2.com wrote: Since we are just replacing some values of this and we are passing it to jenkins I think we can do that. And with this I think we can get rid of the code we check for freestyle or maven type jobs and we can minimize the changes we do to the configuration from the code as well. So while work on this refactor the code as well. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sun, Nov 2, 2014 at 8:34 PM, Kasun De Silva kas...@wso2.com wrote: Hi All, I'm working on the $subject. I'm thinking that we can include the jenkins job configuration inside the apptype as buildconfiguration.xml, similar to apptype.xml for non maven and buildable apptypes, and while deploying the apptype we can add the job configuration to application type bean. So that we can access it when it needed from the jenkins job configurator. WDYT of this approach ? Thanks, Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Resource.properties file doesn't link with carbon component.
My carbon component works properly. but it doesn't show the name that i want to display. i believe the problem occurs when the component links with the Resource.properties file. *this is the folder structure* ** *this is the content of component.xml file * component xmlns=http://products.wso2.org/carbon; menus menu idfraud_detection_menu/id i18n-keyevent.fd/i18n-key i18n-bundleorg.wso2.carbon.test.pro.ui.i18n.Resources/i18n-bundle parent-menutools_menu/parent-menu link../mymtdt/index.jsp/link regionregion5/region order40/order style-classhome/style-class icon../mymtdt/images/students.gif/icon require-permission/permission/protected/manage/require-permission /menu /menus /component *this is the content of Resource.properties file * event.fd=Fraud Detection please help me to figure it out what is the problem and i'm using eclipse, luna version thanks. -- *Buddhi Chathuranga Senarathna* *InternWSO2, Inc. * *Mob: +94 755 446 685* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Milinda Perera
Congrats Milinda! On Tue, Nov 4, 2014 at 10:45 AM, Abimaran Kugathasan abima...@wso2.com wrote: Congrats Milinda! On Thu, Oct 30, 2014 at 6:56 AM, Akila Ravihansa Perera raviha...@wso2.com wrote: Congratulations Milinda!!! On Wed, Oct 29, 2014 at 5:09 AM, Shashika Karunatilaka shashi...@wso2.com wrote: Congrats Milinda On Wed, Oct 29, 2014 at 4:22 PM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: Congratulations !!! On Wed, Oct 29, 2014 at 4:18 PM, Thilini Shanika thili...@wso2.com wrote: Congratulations Milinda!!! On Wed, Oct 29, 2014 at 4:14 PM, Inshaf Mahath ins...@wso2.com wrote: Congrats Milinda!! :) On Wed, Oct 29, 2014 at 3:39 PM, Amal Gunatilake am...@wso2.com wrote: Congratulations Milinda!! Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Wed, Oct 29, 2014 at 3:31 PM, Malintha Adikari malin...@wso2.com wrote: Congratulations, Milinda! On Wed, Oct 29, 2014 at 9:59 AM, Denuwanthi De Silva denuwan...@wso2.com wrote: Congratulations!! On Tue, Oct 28, 2014 at 7:05 PM, Shiva Balachandran sh...@wso2.com wrote: Congrats :) On Tue, Oct 28, 2014 at 5:07 PM, Roshan Deniyage rosh...@wso2.com wrote: Congratulations Milinda ! Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter: *https://twitter.com/roshku https://twitter.com/roshku* LinkedIn : https://www.linkedin.com/in/roshandeniyage On Tue, Oct 28, 2014 at 4:26 PM, Tharindu Edirisinghe tharin...@wso2.com wrote: Congratulations Milinda On Tue, Oct 28, 2014 at 4:23 PM, Hasintha Indrajee hasin...@wso2.com wrote: Congratulations Milinda !! On Tue, Oct 28, 2014 at 4:13 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Congratulations Milinda !!! On Tue, Oct 28, 2014 at 3:39 PM, Yasassri Ratnayake yasas...@wso2.com wrote: Congrats Milinda :) On Tue, Oct 28, 2014 at 3:34 PM, Mahesh Chinthaka mahe...@wso2.com wrote: Congratz milinda...!!! On Tue, Oct 28, 2014 at 3:32 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Congratz Milinda...!! On Tue, Oct 28, 2014 at 3:29 PM, Kasun De Silva kas...@wso2.com wrote: Congratz Milinda..!!! *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Tue, Oct 28, 2014 at 3:28 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Congratulations Milinda.!! *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Oct 28, 2014 at 3:27 PM, Supun Sethunga sup...@wso2.com wrote: Congratz!! On Tue, Oct 28, 2014 at 3:26 PM, Waruna Jayaweera waru...@wso2.com wrote: Congratzz Milinda.. On Tue, Oct 28, 2014 at 3:14 PM, Godwin Amila Shrimal god...@wso2.com wrote: Congratulations Milinda !!! On Tue, Oct 28, 2014 at 3:11 PM, Firzhan Naqash firz...@wso2.com wrote: Congars Milinda Regards, Firzhan On Tue, Oct 28, 2014 at 3:17 PM, Suhan Dharmasuriya suh...@wso2.com wrote: Congrats Milinda!!! On Tue, Oct 28, 2014 at 3:00 PM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Milinda ! On Tue, Oct 28, 2014 at 2:58 PM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Milinda!!! :) On Tue, Oct 28, 2014 at 2:53 PM, Nandika Jayawardana nand...@wso2.com wrote: Hi all, It's my pleasure to announce Milinda Perera as a WSO2 Committer. Milinda has been a valuable contributor to WSO2 BPS product and in recognition of his contribution he has been voted as a WSO2 Committer. Milinda, welcome aboard and keep up the good work!. Regards Nandika -- Nandika Jayawardana Senior Technical Lead WSO2 Inc ; http://wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org
[Dev] What is ESB mediator serializer for?
Hi All, I am writing a new ESB mediator and I cannot figure out the need of a mediator serializer (extension of AbstractMediatorSerializer) for a mediator. Also, in the new mediator I created, if I add a breakpoint in serializeSpecificMediator() method in my mediator serializer and debugged, the breakpoint never gets hit (during ESB startup or when the mediator receives an event to mediate). Does anybody know what is the need of a mediator serializer and when does the serializeSpecificMediator() method get called? Thanks -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WSO2 Committers += Niranjan Karunanandham
Hi all, It's my pleasure to announce Niranjan as a WSO2 Committer. He has been an active contributor for WSO2 Enterprise Mobility Manager. Niranjan, welcome aboard and keep up the good work!. -- -- *Sameera Perera* Director of Engineering gtalk: samee...@wso2.com Tel : 94 11 214 5345 Fax :94 11 2145300 *WSO2, Inc.* http://wso2.com/ lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Niranjan Karunanandham
Congratulations Nira..!!! On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Niranjan ! On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera samee...@wso2.com wrote: Hi all, It's my pleasure to announce Niranjan as a WSO2 Committer. He has been an active contributor for WSO2 Enterprise Mobility Manager. Niranjan, welcome aboard and keep up the good work!. -- -- *Sameera Perera* Director of Engineering gtalk: samee...@wso2.com Tel : 94 11 214 5345 Fax :94 11 2145300 *WSO2, Inc.* http://wso2.com/ lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] What is ESB mediator serializer for?
Hi Lahiru, can you check whether your bundle got activated vi Osgi console? Thanks On Tue, Nov 4, 2014 at 11:34 AM, Lahiru Chandima lahi...@wso2.com wrote: Hi All, I am writing a new ESB mediator and I cannot figure out the need of a mediator serializer (extension of AbstractMediatorSerializer) for a mediator. Also, in the new mediator I created, if I add a breakpoint in serializeSpecificMediator() method in my mediator serializer and debugged, the breakpoint never gets hit (during ESB startup or when the mediator receives an event to mediate). Does anybody know what is the need of a mediator serializer and when does the serializeSpecificMediator() method get called? Thanks -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] What is ESB mediator serializer for?
Hi Lahiru, Mediator serializer is for write mediator configuration object to XML file which is used when saving configuration from UI to file system. Check by saving your configuration from UI. Thanks isuruR On Tue, Nov 4, 2014 at 11:47 AM, Waruna Perera waru...@wso2.com wrote: Hi Lahiru, can you check whether your bundle got activated vi Osgi console? Thanks On Tue, Nov 4, 2014 at 11:34 AM, Lahiru Chandima lahi...@wso2.com wrote: Hi All, I am writing a new ESB mediator and I cannot figure out the need of a mediator serializer (extension of AbstractMediatorSerializer) for a mediator. Also, in the new mediator I created, if I add a breakpoint in serializeSpecificMediator() method in my mediator serializer and debugged, the breakpoint never gets hit (during ESB startup or when the mediator receives an event to mediate). Does anybody know what is the need of a mediator serializer and when does the serializeSpecificMediator() method get called? Thanks -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Niranjan Karunanandham
Congratz Niranjan...!!! On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Niranjan!!! :) On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations !!! On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna ar...@wso2.com wrote: Congratulations Nira..!!! On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Niranjan ! On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera samee...@wso2.com wrote: Hi all, It's my pleasure to announce Niranjan as a WSO2 Committer. He has been an active contributor for WSO2 Enterprise Mobility Manager. Niranjan, welcome aboard and keep up the good work!. -- -- *Sameera Perera* Director of Engineering gtalk: samee...@wso2.com Tel : 94 11 214 5345 Fax :94 11 2145300 *WSO2, Inc.* http://wso2.com/ lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] What is ESB mediator serializer for?
Hi Waruna, My OSGi bundle is active. mediate() method of the mediator gets called without a problem. The problem is that serializeSpecificMediator() doesn't get called. Hi Isuru, Isn't it org.wso2.carbon.mediator.service.ui.AbstractMediator.serialize() method (which needs to be implemented in UI bundle mediator class) which UI bundle uses for serializing the mediator config to XML? I haven't deployed a mediator configuration UI bundle yet for this mediator. Thanks On Tue, Nov 4, 2014 at 11:56 AM, Isuru Ranawaka isu...@wso2.com wrote: Hi Lahiru, Mediator serializer is for write mediator configuration object to XML file which is used when saving configuration from UI to file system. Check by saving your configuration from UI. Thanks isuruR On Tue, Nov 4, 2014 at 11:47 AM, Waruna Perera waru...@wso2.com wrote: Hi Lahiru, can you check whether your bundle got activated vi Osgi console? Thanks On Tue, Nov 4, 2014 at 11:34 AM, Lahiru Chandima lahi...@wso2.com wrote: Hi All, I am writing a new ESB mediator and I cannot figure out the need of a mediator serializer (extension of AbstractMediatorSerializer) for a mediator. Also, in the new mediator I created, if I add a breakpoint in serializeSpecificMediator() method in my mediator serializer and debugged, the breakpoint never gets hit (during ESB startup or when the mediator receives an event to mediate). Does anybody know what is the need of a mediator serializer and when does the serializeSpecificMediator() method get called? Thanks -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/ -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APPFAC] Move apptype specific jenkins job configurations to apptype processors
Hi Danushka, Yes, that would be more generic, I will proceed with the above approach. Thanks, Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Tue, Nov 4, 2014 at 11:07 AM, Danushka Fernando danush...@wso2.com wrote: IIRC what Dimuthu asked for is to move all build configuration. No point of moving it just for one apptype. On Nov 4, 2014 9:38 AM, Kasun De Silva kas...@wso2.com wrote: Hi Danushka, Are you suggesting to move all the jenkins job configurations currently we have in to apptype processors, what my impression was we are doing that for non maven and buildable apptypes like ASP.NET. Should we refactor that improvement for maven apptype and other apptypes as well ? Dimuthu WDYT ? Thanks, Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Sun, Nov 2, 2014 at 9:59 PM, Danushka Fernando danush...@wso2.com wrote: Since we are just replacing some values of this and we are passing it to jenkins I think we can do that. And with this I think we can get rid of the code we check for freestyle or maven type jobs and we can minimize the changes we do to the configuration from the code as well. So while work on this refactor the code as well. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sun, Nov 2, 2014 at 8:34 PM, Kasun De Silva kas...@wso2.com wrote: Hi All, I'm working on the $subject. I'm thinking that we can include the jenkins job configuration inside the apptype as buildconfiguration.xml, similar to apptype.xml for non maven and buildable apptypes, and while deploying the apptype we can add the job configuration to application type bean. So that we can access it when it needed from the jenkins job configurator. WDYT of this approach ? Thanks, Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Niranjan Karunanandham
Congradzzz Nira !!! On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera ino...@wso2.com wrote: Congratulations Niranjan !! On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Congratz Niranjan...!!! On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Niranjan!!! :) On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations !!! On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna ar...@wso2.com wrote: Congratulations Nira..!!! On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Niranjan ! On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera samee...@wso2.com wrote: Hi all, It's my pleasure to announce Niranjan as a WSO2 Committer. He has been an active contributor for WSO2 Enterprise Mobility Manager. Niranjan, welcome aboard and keep up the good work!. -- -- *Sameera Perera* Director of Engineering gtalk: samee...@wso2.com Tel : 94 11 214 5345 Fax :94 11 2145300 *WSO2, Inc.* http://wso2.com/ lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Niranjan Karunanandham
Congrats Niranjan! On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake kas...@wso2.com wrote: Congradzzz Nira !!! On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera ino...@wso2.com wrote: Congratulations Niranjan !! On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Congratz Niranjan...!!! On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Niranjan!!! :) On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations !!! On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna ar...@wso2.com wrote: Congratulations Nira..!!! On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Niranjan ! On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera samee...@wso2.com wrote: Hi all, It's my pleasure to announce Niranjan as a WSO2 Committer. He has been an active contributor for WSO2 Enterprise Mobility Manager. Niranjan, welcome aboard and keep up the good work!. -- -- *Sameera Perera* Director of Engineering gtalk: samee...@wso2.com Tel : 94 11 214 5345 Fax :94 11 2145300 *WSO2, Inc.* http://wso2.com/ lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 773922820 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Is there a way to remove jsonObject element from xml to json converted message
Hi Asanka, Is your requirement to get the final output as json or xml ? If it is xml then you can change the payload factory media-type to xml Thanks Senduran On Tue, Nov 4, 2014 at 10:09 AM, Asanka Vithanage asan...@wso2.com wrote: Hi, I customized API manager main sequence to change the default error message according to below format.so now i am getting the error messages as below. *PayloadFactory:* property name=ERROR_DETAIL value=Unsupported Transport. The requested resource is not available./ property name=ERROR_URL_POSTFIX expression=$axis2:REST_URL_POSTFIX/ property name=ERROR_FORMAT_LINK value=http://errors.api.wso2.com/wso2/ / property name=ERROR_CODE value=403/ payloadFactory media-type=json format { message:$1, _links:{ about:{ href: $2 }, help:{ href: $3$4 } } } /format args arg xmlns:soapenv= http://www.w3.org/2003/05/soap-envelope; xmlns:ns3= http://org.apache.synapse/xsd; evaluator=xml expression=$ctx:ERROR_DETAIL/ arg xmlns:soapenv= http://www.w3.org/2003/05/soap-envelope; xmlns:ns3= http://org.apache.synapse/xsd; evaluator=xml expression=$ctx:ERROR_URL_POSTFIX/ arg xmlns:soapenv= http://www.w3.org/2003/05/soap-envelope; xmlns:ns3= http://org.apache.synapse/xsd; evaluator=xml expression=$ctx:ERROR_FORMAT_LINK/ arg xmlns:soapenv= http://www.w3.org/2003/05/soap-envelope; xmlns:ns3= http://org.apache.synapse/xsd; evaluator=xml expression=$ctx:ERROR_CODE/ /args /payloadFactory *Error Results:* XML: jsonObjecterrormessageThe requested resource is not available./message_linksabouthrefHelloService1/1.0.0/greet?name=Hi/href/abouthelphrefhttp://errors.api.wso2.com/wso2/404 http://errors.api.aligntech.com/wso2/404/href/help/_links/error/jsonObject Json: {jsonObject:{error:{message:The requested resource is not available.,_links:{about:{href:HelloService1\/1.0.0\/greet?name=Hi},help:{href:http:\/\/errors.api.wso2.com http://errors.api.aligntech.com\/wso2\/404} Here my requirement is to remove the jsonObject element from the response and display only the error message. Is there any way to do this? Appreciate if anyone can provide some help on this. -- Asanka Vithanage Senior Software Engineer -QA Mobile: +94 0716286708 Email: asan...@wso2.com WSO2 Inc. www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ http://wso2.com/ Mobile: +94 77 952 6548 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Niranjan Karunanandham
Congrats Niranjan On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan abima...@wso2.com wrote: Congrats Niranjan! On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake kas...@wso2.com wrote: Congradzzz Nira !!! On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera ino...@wso2.com wrote: Congratulations Niranjan !! On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Congratz Niranjan...!!! On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Niranjan!!! :) On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations !!! On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna ar...@wso2.com wrote: Congratulations Nira..!!! On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Niranjan ! On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera samee...@wso2.com wrote: Hi all, It's my pleasure to announce Niranjan as a WSO2 Committer. He has been an active contributor for WSO2 Enterprise Mobility Manager. Niranjan, welcome aboard and keep up the good work!. -- -- *Sameera Perera* Director of Engineering gtalk: samee...@wso2.com Tel : 94 11 214 5345 Fax :94 11 2145300 *WSO2, Inc.* http://wso2.com/ lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 773922820 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Nuwan Silva* *Senior Software Engineer - QA* Mobile: +94779804543 WSO2 Inc. lean . enterprise . middlewear. http://www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] What is ESB mediator serializer for?
Hi Isuru, Actually the blog post you provided is the one that I am already referring to :). It specifies to create a serializer but doesn't mention what is the need of a serializer. Thanks. On Tue, Nov 4, 2014 at 12:18 PM, Isuru Ranawaka isu...@wso2.com wrote: Hi , Hope following links help you http://maninda.blogspot.com/2013/01/writing-custom-mediator-for-wso2-esb.html http://wso2.com/library/2936/ On Tue, Nov 4, 2014 at 12:06 PM, Lahiru Chandima lahi...@wso2.com wrote: Hi Waruna, My OSGi bundle is active. mediate() method of the mediator gets called without a problem. The problem is that serializeSpecificMediator() doesn't get called. Hi Isuru, Isn't it org.wso2.carbon.mediator.service.ui.AbstractMediator.serialize() method (which needs to be implemented in UI bundle mediator class) which UI bundle uses for serializing the mediator config to XML? I haven't deployed a mediator configuration UI bundle yet for this mediator. Thanks On Tue, Nov 4, 2014 at 11:56 AM, Isuru Ranawaka isu...@wso2.com wrote: Hi Lahiru, Mediator serializer is for write mediator configuration object to XML file which is used when saving configuration from UI to file system. Check by saving your configuration from UI. Thanks isuruR On Tue, Nov 4, 2014 at 11:47 AM, Waruna Perera waru...@wso2.com wrote: Hi Lahiru, can you check whether your bundle got activated vi Osgi console? Thanks On Tue, Nov 4, 2014 at 11:34 AM, Lahiru Chandima lahi...@wso2.com wrote: Hi All, I am writing a new ESB mediator and I cannot figure out the need of a mediator serializer (extension of AbstractMediatorSerializer) for a mediator. Also, in the new mediator I created, if I add a breakpoint in serializeSpecificMediator() method in my mediator serializer and debugged, the breakpoint never gets hit (during ESB startup or when the mediator receives an event to mediate). Does anybody know what is the need of a mediator serializer and when does the serializeSpecificMediator() method get called? Thanks -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/ -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/ -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Niranjan Karunanandham
Congratulations Niranjan !! On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan abima...@wso2.com wrote: Congrats Niranjan! On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake kas...@wso2.com wrote: Congradzzz Nira !!! On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera ino...@wso2.com wrote: Congratulations Niranjan !! On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Congratz Niranjan...!!! On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Niranjan!!! :) On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations !!! On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna ar...@wso2.com wrote: Congratulations Nira..!!! On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Niranjan ! On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera samee...@wso2.com wrote: Hi all, It's my pleasure to announce Niranjan as a WSO2 Committer. He has been an active contributor for WSO2 Enterprise Mobility Manager. Niranjan, welcome aboard and keep up the good work!. -- -- *Sameera Perera* Director of Engineering gtalk: samee...@wso2.com Tel : 94 11 214 5345 Fax :94 11 2145300 *WSO2, Inc.* http://wso2.com/ lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 773922820 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ http://wso2.com/ Mobile: +94 77 952 6548 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Niranjan Karunanandham
Congratulations Niranjan! On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal god...@wso2.com wrote: Congratulations Niranjan...! On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam sendu...@wso2.com wrote: Congratulations Niranjan !! On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan abima...@wso2.com wrote: Congrats Niranjan! On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake kas...@wso2.com wrote: Congradzzz Nira !!! On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera ino...@wso2.com wrote: Congratulations Niranjan !! On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Congratz Niranjan...!!! On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Niranjan!!! :) On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations !!! On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna ar...@wso2.com wrote: Congratulations Nira..!!! On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Niranjan ! On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera samee...@wso2.com wrote: Hi all, It's my pleasure to announce Niranjan as a WSO2 Committer. He has been an active contributor for WSO2 Enterprise Mobility Manager. Niranjan, welcome aboard and keep up the good work!. -- -- *Sameera Perera* Director of Engineering gtalk: samee...@wso2.com Tel : 94 11 214 5345 Fax :94 11 2145300 *WSO2, Inc.* http://wso2.com/ lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 773922820 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ http://wso2.com/ Mobile: +94 77 952 6548 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list
Re: [Dev] What is ESB mediator serializer for?
Hi Lahiru, As earlier said by Isuru, it is used to convert the mediator UI entered configuration to generate the mediator XML as I remember. And you may find another class to generate the UI from this XML back which does the reverse of the serializer. These two classes will be called when you switch between UI view and source view of the mediator UI as I remember. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Tue, Nov 4, 2014 at 12:24 PM, Lahiru Chandima lahi...@wso2.com wrote: Hi Isuru, Actually the blog post you provided is the one that I am already referring to :). It specifies to create a serializer but doesn't mention what is the need of a serializer. Thanks. On Tue, Nov 4, 2014 at 12:18 PM, Isuru Ranawaka isu...@wso2.com wrote: Hi , Hope following links help you http://maninda.blogspot.com/2013/01/writing-custom-mediator-for-wso2-esb.html http://wso2.com/library/2936/ On Tue, Nov 4, 2014 at 12:06 PM, Lahiru Chandima lahi...@wso2.com wrote: Hi Waruna, My OSGi bundle is active. mediate() method of the mediator gets called without a problem. The problem is that serializeSpecificMediator() doesn't get called. Hi Isuru, Isn't it org.wso2.carbon.mediator.service.ui.AbstractMediator.serialize() method (which needs to be implemented in UI bundle mediator class) which UI bundle uses for serializing the mediator config to XML? I haven't deployed a mediator configuration UI bundle yet for this mediator. Thanks On Tue, Nov 4, 2014 at 11:56 AM, Isuru Ranawaka isu...@wso2.com wrote: Hi Lahiru, Mediator serializer is for write mediator configuration object to XML file which is used when saving configuration from UI to file system. Check by saving your configuration from UI. Thanks isuruR On Tue, Nov 4, 2014 at 11:47 AM, Waruna Perera waru...@wso2.com wrote: Hi Lahiru, can you check whether your bundle got activated vi Osgi console? Thanks On Tue, Nov 4, 2014 at 11:34 AM, Lahiru Chandima lahi...@wso2.com wrote: Hi All, I am writing a new ESB mediator and I cannot figure out the need of a mediator serializer (extension of AbstractMediatorSerializer) for a mediator. Also, in the new mediator I created, if I add a breakpoint in serializeSpecificMediator() method in my mediator serializer and debugged, the breakpoint never gets hit (during ESB startup or when the mediator receives an event to mediate). Does anybody know what is the need of a mediator serializer and when does the serializeSpecificMediator() method get called? Thanks -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/ -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/ -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Niranjan Karunanandham
Congratulations !!! On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe kas...@wso2.com wrote: Congratulations Niranjan! On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal god...@wso2.com wrote: Congratulations Niranjan...! On Tue, Nov 4, 2014 at 12:27 PM, Senduran Balasubramaniyam sendu...@wso2.com wrote: Congratulations Niranjan !! On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan abima...@wso2.com wrote: Congrats Niranjan! On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake kas...@wso2.com wrote: Congradzzz Nira !!! On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera ino...@wso2.com wrote: Congratulations Niranjan !! On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Congratz Niranjan...!!! On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Niranjan!!! :) On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations !!! On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna ar...@wso2.com wrote: Congratulations Nira..!!! On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Niranjan ! On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera samee...@wso2.com wrote: Hi all, It's my pleasure to announce Niranjan as a WSO2 Committer. He has been an active contributor for WSO2 Enterprise Mobility Manager. Niranjan, welcome aboard and keep up the good work!. -- -- *Sameera Perera* Director of Engineering gtalk: samee...@wso2.com Tel : 94 11 214 5345 Fax :94 11 2145300 *WSO2, Inc.* http://wso2.com/ lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 773922820 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ http://wso2.com/ Mobile: +94 77 952 6548 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in:
Re: [Dev] Adding Functional/Regression tests for MQTT - MB 3.0.0
Hi Akalanka, Srinath an i had a discussion. One of the aspects Srinath pointed out was to assure the use case when there're let's say 3 subscribers bound to the same topic and two subscribers acked instantly but the third took more time to ack which will result in the message being assigned to the retry cycle. At a time like that we need a test to verify the following, 1) Ensure that the subscribers who acked will not receive duplicate messages. 2) The subscriber with acked later received the message, Thanks, Pamod On Mon, Nov 3, 2014 at 4:45 PM, Akalanka Pagoda Arachchi darsha...@wso2.com wrote: Hi all, According to hasitha's mail I have identified following test cases to include in the MQTT tests. *Functional Tests* - Test MQTT for QOS 0,1 and 2 - Test long topic hierarchies - Test MQTT wildcards - Test duplicate client Id - Test last will testament *Load Tests* - Number of clients - 50 subscribers, 50 publishers with 10 messages - QOS 0,1 and 2 with 10 messages - Disconnection between send/receive for 10 messages - Payload Size 1MB message send/receive Please provide if there are any other scenarios that needs to be tested for MQTT. Thanks, Akalanka On Thu, Oct 30, 2014 at 3:18 PM, Hasitha Amal De Silva hasit...@wso2.com wrote: 2nd link is not valid. The correct one is : https://github.com/hastef88/wso2.tryouts/tree/master/mqtt_client Thanks On Thu, Oct 30, 2014 at 3:13 PM, Hasitha Amal De Silva hasit...@wso2.com wrote: Hi all, Following up on MQTT integration for MB 3.0.0 we need to do $subject to our automated test suite. I have attached herewith the functional test suite used by Pamod to perform basic tests in early days [1] . We will modify and add this into our test cases collection in a generic way. In terms of performance tests, the following aspects need to be covered. (Add if I missed any) 1. Multiple subscribers / publishers 2. Multiple queues 3. Large messages (1 MB max for now) 4. Multi-threaded subscribers/ publishers We should ideally be able to inject above 4 tests into the functional test cases as parameters. That way, we'll get full coverage. I have made an MQTT client [1] which supports multi-threaded publishers/subscribers (improving on Pamod's initial version). Its still a work in progress. We can modify it as needed and once stabilized, place it as the standard client used within our tests. Akalanka and me will be initially working on these. Appreciate your feedback on any additional test scenarios / improvements . [1] : https://drive.google.com/file/d/0B1soNraLsHdmbzNsZ19ZTWFwTzA/view?usp=sharing [2] : https://github.com/hastef88/wso2.tryouts/tree/master/mqtt_client -- Cheers, Hasitha Amal De Silva Software Engineer Mobile : 0772037426 Blog: http://devnutshell.tumblr.com/ WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. ) -- Cheers, Hasitha Amal De Silva Software Engineer Mobile : 0772037426 Blog: http://devnutshell.tumblr.com/ WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. ) -- *Darshana Akalanka Pagoda Arachchi,* *Software Engineer* *078-4721791 078-4721791* -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] What is ESB mediator serializer for?
Hi Maninda, I thought the conversion of the mediator to xml and vice versa is done by the mediator class in the mediator configuration UI bundle. It has serialize() method to convert mediator to XML and build() method to build a mediator from XML. Anyway, I will check whether serializeSpecificMediator() gets called when configuring the mediator in UI when I implement the UI bundle. Thanks. On Tue, Nov 4, 2014 at 12:34 PM, Maninda Edirisooriya mani...@wso2.com wrote: Hi Lahiru, As earlier said by Isuru, it is used to convert the mediator UI entered configuration to generate the mediator XML as I remember. And you may find another class to generate the UI from this XML back which does the reverse of the serializer. These two classes will be called when you switch between UI view and source view of the mediator UI as I remember. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Tue, Nov 4, 2014 at 12:24 PM, Lahiru Chandima lahi...@wso2.com wrote: Hi Isuru, Actually the blog post you provided is the one that I am already referring to :). It specifies to create a serializer but doesn't mention what is the need of a serializer. Thanks. On Tue, Nov 4, 2014 at 12:18 PM, Isuru Ranawaka isu...@wso2.com wrote: Hi , Hope following links help you http://maninda.blogspot.com/2013/01/writing-custom-mediator-for-wso2-esb.html http://wso2.com/library/2936/ On Tue, Nov 4, 2014 at 12:06 PM, Lahiru Chandima lahi...@wso2.com wrote: Hi Waruna, My OSGi bundle is active. mediate() method of the mediator gets called without a problem. The problem is that serializeSpecificMediator() doesn't get called. Hi Isuru, Isn't it org.wso2.carbon.mediator.service.ui.AbstractMediator.serialize() method (which needs to be implemented in UI bundle mediator class) which UI bundle uses for serializing the mediator config to XML? I haven't deployed a mediator configuration UI bundle yet for this mediator. Thanks On Tue, Nov 4, 2014 at 11:56 AM, Isuru Ranawaka isu...@wso2.com wrote: Hi Lahiru, Mediator serializer is for write mediator configuration object to XML file which is used when saving configuration from UI to file system. Check by saving your configuration from UI. Thanks isuruR On Tue, Nov 4, 2014 at 11:47 AM, Waruna Perera waru...@wso2.com wrote: Hi Lahiru, can you check whether your bundle got activated vi Osgi console? Thanks On Tue, Nov 4, 2014 at 11:34 AM, Lahiru Chandima lahi...@wso2.com wrote: Hi All, I am writing a new ESB mediator and I cannot figure out the need of a mediator serializer (extension of AbstractMediatorSerializer) for a mediator. Also, in the new mediator I created, if I add a breakpoint in serializeSpecificMediator() method in my mediator serializer and debugged, the breakpoint never gets hit (during ESB startup or when the mediator receives an event to mediate). Does anybody know what is the need of a mediator serializer and when does the serializeSpecificMediator() method get called? Thanks -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/ -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/ -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 lahi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Appfactory] Use GJit plugin for repository management
Hi Samitha, As we discussed, it is better to move AppfactoryRepositoryClient interface from Repository component to core component and it should be an interface instead of abstract class. Then Repository component can register its implementation to the AppfactoryRepositoryClient when the Repository component activate. *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * http://www.apache.org/* *email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770 , +94 * *774617784twitter: **http://twitter.com/ http://twitter.com/afkham_azeez* *harshathirimannlinked-in: **http: http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122* *Lean . Enterprise . Middleware* On Wed, Oct 29, 2014 at 10:48 PM, Samith Dassanayake sam...@wso2.com wrote: Hi Mahesh, As you have suggested before, can't we remove undeploy functionalities from appfactory.core and move them to appfactory.deployers such that deployment and undeployment related operations will handle from the same bundle. Then we can remove the AppfactoryRepositoryClient from the appfactory.core. Thanks, Samith On Wed, Oct 29, 2014 at 10:35 PM, Mahesh Chinthaka mahe...@wso2.com wrote: Hi Dimuthu, I worked on above suggested method and got succeeded. So *org.wso2.carbon.appfactory.repository.mgt.client.* *AppfacotryRepositoryClient* is used inside appfactory.deployers as well. We got rid of one AppfactoryRepositoryClient out of two. :) *AppfactoryRepositoryClient* in *appfactory.core* is left. Waiting for a thought on this. thanks On Wed, Oct 22, 2014 at 11:35 AM, Mahesh Chinthaka mahe...@wso2.com wrote: Hi Dimuthu, I will try that way out and let you know. Thanks. On Wed, Oct 22, 2014 at 11:08 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi Mahesh, As per our offline discussion we can use org.wso2.carbon.appfactory. repository.mgt.client.AppfacotryRepositoryClient inside deployers as well. So we'll have one AppFactoryRepositoryClient everywhere. If we copy the RepositoryMgt into the AppServer it should function without an issue because the Carbon env is visible to the Jenkins webapp. thanks, dimuthu On Tue, Oct 21, 2014 at 6:57 PM, Mahesh Chinthaka mahe...@wso2.com wrote: Hi, ok then , i will proceed with refactoring. Thanks. On Tue, Oct 21, 2014 at 6:36 PM, Janaka Ranabahu jan...@wso2.com wrote: Hi, On Tue, Oct 21, 2014 at 6:19 PM, Mahesh Chinthaka mahe...@wso2.com wrote: Hi , No i meant a webservice, i understand it's not a good idea. Anyway there are some more findings so far, *Regarding appfactory.core.deploy.AppfactoryRepositoryClient* *appfactory.core.deploy.AppfactoryRepositoryClient* is used only twice for whole code. That is in *deleteFromDepSyncGitRepo* method and *undeployAllArtifactsOfAppFromDepSyncGitRepo *method in *ApplicationDeployer* class within the same package. And above two methods are private. Though all other repository deployment functions happen in *appfactory.deployers *(which jar goes to jenkins) , undeployment happens in *appfactory.core* section (correct me if im wrong). Therefore if we move undeploy functionality to *appfactory.deployers *section , we can get rid of *appfactory.core.deploy.AppfactoryRepositoryClient. * +1. Please proceed with the re-factoring. We need to handle deployment and undeployment related operations from the same place. *Regarding appfactory.deployers.clients.AppfactoryRepositoryClient* Unfortunately we will have to do the same implementation as in *appfactory.repository.mgt *here , since this goes to jenkins and we need to keep minimum dependancies. Because of the minimum dependencies scenario we cannot use *JGitAgent* available in *appfacotry.repository.mgt . *Therefore we have to re-implement it here in *appfactory.deployers.clients* though it's a replication. Let's check whether we could move them to a common component, maybe something like appfactory.common component. Thanks, Janaka Advise please On Tue, Oct 21, 2014 at 3:36 PM, Danushka Fernando danush...@wso2.com wrote: What do you meant by a service ? An OSGI service? +1 Go ahead with the solution #2. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Oct 21, 2014 at 3:29 PM, Mahesh Chinthaka mahe...@wso2.com wrote: Hi all, Im working on [1] In here we have to consider 3 classes 1. org.wso2.carbon.appfactory.repository.mgt.client .AppfacotryRepositoryClient 2. org.wso2.carbon.appfactory.core.deploy .AppfacotryRepositoryClient 3. org.wso2.carbon.appfactory.deployers.clients .AppfacotryRepositoryClient *org.wso2.carbon.appfactory.repository.mgt.client.AppfacotryRepositoryClient* has already integrated with JGit plugin via *JGitAgent* class. Still