[Dev] Invalid content in APIM documentation

2014-10-24 Thread Shamika Ariyawansa
Hi all, Writing custom authenticate handlers as described in [1] seems to be no longer valid. With APIM 1.7.0 on-wards we have to introduce custom authentication handlers by editing the template file located in /repository/resources/api_templates/velocity_template.xml. However when doing that we

[Dev] [ES] merge pull request

2014-10-24 Thread Manoj Gunawardena
Hi Pull request : https://github.com/wso2-dev/product-es/pull/33 JIRA : https://wso2.org/jira/browse/STORE-377 Thanks Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643 ___ Dev mailing list Dev@w

Re: [Dev] [DEV] Jenkins build error - the trustAnchors parameter must be non-empty

2014-10-24 Thread Krishantha Samaraweera
Fixed the failures, you have to build following repos in case if updated jars are not available in nexus repo yet. https://github.com/wso2/carbon-platform-integration-utils https://github.com/wso2/carbon-platform-integration Thanks, Krishantha. On Fri, Oct 24, 2014 at 5:24 PM, Krishantha Samaraw

Re: [Dev] Deploy Web App to Tomcat issue

2014-10-24 Thread Dimuthu De Lanerolle
We have embedded TomcatServerManager extension class in TAF. [1] Hope this helps. [1] https://github.com/wso2-dev/carbon-platform-integration/tree/master/test-automation-framework/org.wso2.carbon.automation.extensions/src/main/java/org/wso2/carbon/automation/extensions/servers/tomcatserver Regar

[Dev] [DEV][APPFAC] Please commit the patch

2014-10-24 Thread Roshan Deniyage
Hi App-Fac Team, Please commit the attached patch for JIRA [1] [1] ​ *​ https://wso2.org/jira/browse/APPFAC-2585 * Thanks, Roshan Deniyage Associate Technical Lead WS

Re: [Dev] Fault String Returned Instead of the Filtered Content

2014-10-24 Thread Sameera Jayasoma
Looping in Jayanga. On Tue, Oct 7, 2014 at 6:03 AM, Rajith Vitharana wrote: > Hi Shameera, > > Since I'm in dev service, didn't have much time to work on this. I have > created unit test cases for this scenario and attached the new diff. > > Thanks, > > On Mon, Sep 29, 2014 at 7:16 AM, Shameera

Re: [Dev] [DEV] Error when trying to retrieve Service Providers in IS

2014-10-24 Thread Johann Nallathamby
Looks like the CarbonContext doesn't have a username. It shouldn't be the case if you have logged in to the server. Thanks, Johann. On Fri, Oct 24, 2014 at 5:38 PM, Shiva Balachandran wrote: > Hi All, > > I am doing some development work on IS, I used the following code to > retrieve all the se

[Dev] Deploy Web App to Tomcat issue

2014-10-24 Thread Godwin Amila Shrimal
Hi, I am working on writing integration testing for Identity Server. Here I need to start a tomcat instance and deploy web app to tomcat dynamically. When I start and deploy the web app it gives following warning and application failed to deploy. Same war file getting deployed successfully in exte

[Dev] Integration tests for Hazelcast Session Replication feature

2014-10-24 Thread Pubudu Dissanayake
Hi Folks, I've implemented Hazelcast based Tomcat Session Replication feature for Appserver [1 ].I have few concerns over integration tests for this feature. Following is the basic cluster scenario that I have to be written as integration tests. Environment :

Re: [Dev] BAM 2.5.0 Release testing

2014-10-24 Thread Shavantha Weerasinghe
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 E

[Dev] Wait Before Start Executing Automated Tests Suits

2014-10-24 Thread Ayesha Dissanayaka
Hi, Due to the registry indexing, it takes about 15 seconds to populate assets and start the jaggery-apps(publisher/store) properly in ES( if indexing is completed at first attempt) .This affects the tests cases since the framework start to execute the test cases as soon as the server starts. In o

[Dev] [DEV] Error when trying to retrieve Service Providers in IS

2014-10-24 Thread Shiva Balachandran
Hi All, I am doing some development work on IS, I used the following code to retrieve all the service providers ApplicationManagementService aptMgtService = ApplicationManagementService.getInstance(); try{ log.info(aptMgtService); ApplicationBasicInfo[] applicationBasicInfo = aptMgtService.getAll

Re: [Dev] Siddhi Transformer - currentState() and restoreState() methods

2014-10-24 Thread Tishan Dahanayakage
Hi Rajeevan, Please see inline comments. On Fri, Oct 24, 2014 at 4:27 PM, Manoj Gunawardena wrote: > Hi Rajeevan, > > Are you going to call currentState method from your custom window? The > current state method call from SnapshotService class inside snapshot > method. At that point it was call

Re: [Dev] [DEV] Jenkins build error - the trustAnchors parameter must be non-empty

2014-10-24 Thread Krishantha Samaraweera
This is caused by test framework issue. We are working on it. Thanks, Krishantha. On Fri, Oct 24, 2014 at 5:20 PM, Akalanka Pagoda Arachchi < darsha...@wso2.com> wrote: > Hi all, > > I am getting the following error when building and running tests on > Jenkins-pr for product-mb. > > org.apache.a

[Dev] [DEV] Jenkins build error - the trustAnchors parameter must be non-empty

2014-10-24 Thread Akalanka Pagoda Arachchi
Hi all, I am getting the following error when building and running tests on Jenkins-pr for product-mb. org.apache.axis2.AxisFault: Connection has been shutdown: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnc

[Dev] BUILD FAILURE When Installing Features on Crabon-4.2.0 using pom Files

2014-10-24 Thread Irham Iqbal
Hi, I am trying to install the following feature on wso2carbon-4.2.0 by following [1] org.wso2.carbon.tryit.feature.group 4.2.0 At the build time i am getting the following exception. INFO] [INFO] Building Creating custo

[Dev] Building artifacts for different property files via maven

2014-10-24 Thread Malithi Edirisinghe
Hi All, I'm writing test cases using the travelocity sample application to automate the OpenId flow. Here I want to have four artifacts of the travelocity app to be packaged at the build time for four different travelocity.properties files. Does anyone know how can I achieve this ...? -- *Mali

Re: [Dev] AM Store and Publisher too slow in cluster setup

2014-10-24 Thread Lakshman Udayakantha
Hi Akila, It is not recommended to use testOnBorrow in false mode, because when it false, it can returns invalid connections. performance degradation happen because it checks for valid connections in connection pool. so check increasing as the document says. Thanks On Wed, Oct 22, 2014 at 10:02

Re: [Dev] [API Manager] - Status of API Subscriptions

2014-10-24 Thread Dilini Muthumala
Hi, Please find my comment inline, as we'll be doing a small amendment to this. On Fri, Aug 8, 2014 at 3:23 PM, Abimaran Kugathasan wrote: > Hi Sumedha, > > In Current APIM, following are the status of a API Subscriptions > > BLOCKED, PROD_ONLY_BLOCKED, UNBLOCKED, ON_HOLD, REJECTED > > Consider

Re: [Dev] Siddhi Transformer - currentState() and restoreState() methods

2014-10-24 Thread Manoj Gunawardena
Hi Rajeevan, Are you going to call currentState method from your custom window? The current state method call from SnapshotService class inside snapshot method. At that point it was call SiddhiContext ThreadBarrier close. I think if you call current state method, you need to follow similar mechani

Re: [Dev] [ESB] How does content aware mediators behave with nhttp transport ?

2014-10-24 Thread Rushmin Fernando
Thanks guys! Got the answer. This explains the result of a test case I ran. On Oct 24, 2014 12:20 AM, "Isuru Udana" wrote: > Hi Ravindra, > > I guess Rushmin is asking about Nhttp transport (not passthrough). > > As IsuruR explained in his first response, messages always get built > partially irr

Re: [Dev] How to call a https API using Chrome's REST client

2014-10-24 Thread Susinda Perera
Thanks Udara/Nufail On Fri, Oct 24, 2014 at 2:54 PM, Udara Liyanage wrote: > Hi Susinda, > > Please refer to [1] which is exactly your issue. > > [1] > http://stackoverflow.com/questions/24056028/ssl-certificate-in-advanced-rest-client-for-chrome > > On Fri, Oct 24, 2014 at 1:47 PM, Susinda Per

Re: [Dev] How to call a https API using Chrome's REST client

2014-10-24 Thread Udara Liyanage
Hi Susinda, Please refer to [1] which is exactly your issue. [1] http://stackoverflow.com/questions/24056028/ssl-certificate-in-advanced-rest-client-for-chrome On Fri, Oct 24, 2014 at 1:47 PM, Susinda Perera wrote: > Thanks Nufail > I'll gv a try > > > > On Fri, Oct 24, 2014 at 1:45 PM, Nufail

Re: [Dev] SAMLSSOServiceProvider

2014-10-24 Thread Shiva Balachandran
Sorry, what i meant by the current implementation was what i was trying out. :) On Fri, Oct 24, 2014 at 2:21 PM, Isura Karunaratne wrote: > Hi Shiva, > >If you want to get the Service Provider names, in current > implementation you have to > use org.wso2.carbon.identity.application.mgt.Appli

Re: [Dev] SAMLSSOServiceProvider

2014-10-24 Thread Isura Karunaratne
Hi Shiva, If you want to get the Service Provider names, in current implementation you have to use org.wso2.carbon.identity.application.mgt.ApplicationManagementService. Thanks Isura On Fri, Oct 24, 2014 at 1:02 PM, Shiva Balachandran wrote: > Hi Prasad, > > Yes the current implementation u

Re: [Dev] Unable to see API Statistics in API Manager with BAM configured.

2014-10-24 Thread Dunith Dhanushka
Hi, "WARN {org.apache.hadoop.mapred.JobClient} - Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same." Above warning is harmless and it can be ignored. This comes from the Hive client which has implemented the Tool interface to submit Hadoop jobs.

Re: [Dev] How to call a https API using Chrome's REST client

2014-10-24 Thread Susinda Perera
Thanks Nufail I'll gv a try On Fri, Oct 24, 2014 at 1:45 PM, Nufail Mohamed wrote: > Hi Susinda, > > As Dakshika mentioned you need to accept the certificate first. > If you are calling https://example.com/api from rest client then first > visit the https://example.com URL from your browser an

Re: [Dev] How to call a https API using Chrome's REST client

2014-10-24 Thread Nufail Mohamed
Hi Susinda, As Dakshika mentioned you need to accept the certificate first. If you are calling https://example.com/api from rest client then first visit the https://example.com URL from your browser and accept the certificate. Then you should be able to call it with the rest client. Regards, Nuf

Re: [Dev] Unable to see API Statistics in API Manager with BAM configured.

2014-10-24 Thread Lakshman Udayakantha
Hi Hemika, The reason for that null pointer error is relational database which used in APIM ,is not populated from cassandra database in BAM. That will take at least 2 minutes since the hive script that is used to summarised the data in cassandra database to APIM relational database, is running i

Re: [Dev] [Private PaaS] Do we have sample git repository for Appserver cartridge

2014-10-24 Thread Manula Chathurika Thantriwatte
Hi, Thanks Udara. On Fri, Oct 24, 2014 at 1:10 PM, Udara Liyanage wrote: > Hi Manula, > > Please find sajith repo in [1] https://github.com/sajhak/wso2appserver > > On Fri, Oct 24, 2014 at 1:07 PM, Manula Chathurika Thantriwatte < > manu...@wso2.com> wrote: > >> Hi All, >> >> $subject. >> >> --

Re: [Dev] [Private PaaS] Do we have sample git repository for Appserver cartridge

2014-10-24 Thread Udara Liyanage
Hi Manula, Please find sajith repo in [1] https://github.com/sajhak/wso2appserver On Fri, Oct 24, 2014 at 1:07 PM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Hi All, > > $subject. > > -- > Regards, > Manula Chathurika Thantriwatte > Software Engineer > WSO2 Inc. : http://wso2.co

[Dev] Unable to see API Statistics in API Manager with BAM configured.

2014-10-24 Thread Hemika Kodikara
Hi all, I am following the Quick Start Guide[1] of the WSO2 API Manager. In this I am working on the "configuring statistics" section. I have done all the configuration required. But the statistics are not getting shown in the API Publisher. Every time I request for statistics I get the following

Re: [Dev] SAMLSSOServiceProvider

2014-10-24 Thread Shiva Balachandran
Hi Prasad, Yes the current implementation uses the getServiceProviders() method in org.wso2.carbon.identity.sso.saml.SAMLSSOConfigService where all the SAML SSO Issuers are returned but these objects do not have their respective service provider names mapped. What i need is the service provider na