Re: [Dev] Application Management OSGI Service

2014-09-08 Thread Dhanuka Ranasinghe
Hi Johann, Please find the relevant diff from following Jirra ticket. I have attached the diff with it. https://wso2.org/jira/browse/IDENTITY-2705 Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 O

Re: [Dev] Fwd: Generating Basic Authentication header using the code

2014-09-08 Thread Dinithi De Silva
Yes. I got it. Thanks for the response. Thank you Dinithi De Silva Associate Software Engineer Mob: +94 716 667 655 On Tue, Sep 9, 2014 at 11:24 AM, Ramindu Deshapriya wrote: > Hi Dinithi, > > As Milinda suggested, you can achieve this through a single XPath > expression as well: > > scope="t

Re: [Dev] Exception occurs when trying to update an existing tenant

2014-09-08 Thread Sohani Weerasinghe
Hi Danushka, Please find the attached log. Also, I have checked add_tenant.jsp and submit_tenant_ajaxprocessor.jsp at [1]. As far as I observed both save and update buttons' actions have handled properly , but I was unable to find a cause. [1] http://svn.wso2.org/repos/wso2/carbon/platform/branch

Re: [Dev] Fwd: Generating Basic Authentication header using the code

2014-09-08 Thread Ramindu Deshapriya
Hi Dinithi, As Milinda suggested, you can achieve this through a single XPath expression as well: Thanks. On Tue, Sep 9, 2014 at 11:21 AM, Dinithi De Silva [via WSO2 Oxygen Tank] < ml-node+s10903n10253...@n7.nabble.com> wrote: > I resolved the problem by using the following codes. > > /> > >

Re: [Dev] Fwd: Generating Basic Authentication header using the code

2014-09-08 Thread Dinithi De Silva
I resolved the problem by using the following codes. Thank you very much for helping. Dinithi De Silva Associate Software Engineer Mob: +94 716 667 655 On Mon, Sep 8, 2014 at 7:15 PM, Milinda Perera wrote: > Hi, > > Hope you need to add this to http header. > > Try > > scope="transport"

[Dev] Fwd: Application Management OSGI Service

2014-09-08 Thread Dhanuka Ranasinghe
copying Dev.. *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 -- Forwarded message -- From: Johann Nallathamby Date: Mon, Sep 8, 2014 at 10:07 PM Subject: Re: Application Management OSGI Service To

Re: [Dev] Connector Activation Problem in Integration test for Connectors

2014-09-08 Thread Dimuthu De Lanerolle
We have written similar tests for esb connectors. Hope this might be useful. http://wso2.com/library/articles/2014/06/how-to-write-connector-integration-tests-using-wso2-test-automation-framework/ On Tue, Sep 9, 2014 at 9:26 AM, Tharindua Dharmarathna wrote: > Hi All, > > Actually it was happen

[Dev] Invitation: Code Review - API Manager self signup for tenant's API s... @ Tue Sep 9, 2014 12pm - 1pm (chami...@wso2.com)

2014-09-08 Thread Chamila Adhikarinayake
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20140909T063000Z DTEND:20140909T073000Z DTSTAMP:20140909T042209Z ORGANIZER;CN=Chamila Adhikarinayake:mailto:chami...@wso2.com UID:pt44aqhc4c3bnrr9f1mp5nn...@google.co

Re: [Dev] BAM 4.2.2 build failed [Failure to find org.wso2.carbon:WSO2-CARBON-PATCH-4.2.0:zip:0009]

2014-09-08 Thread Thushara Ranawaka
Thank you Maninda and Manoj.,. On Fri, Sep 5, 2014 at 6:57 PM, Manoj Kumara wrote: > Hi Thushara, > > Since patch0009 is not yet released it is not deployed to nexus repo. Due > to that reason you may need to build it locally. > > Thanks, > Manoj > > > *Manoj Kumara* > Software Engineer > WSO2 I

Re: [Dev] Connector Activation Problem in Integration test for Connectors

2014-09-08 Thread Tharindua Dharmarathna
Hi All, Actually it was happen due to my connector and the zip fie not getting same name, therefore when enabling the connector form the automation framework it getting problem of activating connector. Now I solved that problem. Thanks. On Tue, Sep 9, 2014 at 9:20 AM, Malaka Silva wrote: > Hi

Re: [Dev] Connector Activation Problem in Integration test for Connectors

2014-09-08 Thread Malaka Silva
Hi Tharindua There are quite a lot of connectors you can find in [1]. Please check those and find what is missing in your test case. [1] https://github.com/wso2-dev/esb-connectors Best Regards, Malaka On Mon, Sep 8, 2014 at 11:27 PM, Krishantha Samaraweera wrote: > Hi Tharindu, > > Can you sh

Re: [Dev] Getting a WSO2 GSoC project for University Assignment

2014-09-08 Thread Kasun Dananjaya Delgolla
Hi Chethiya, We did some research on this and our conclusion was to go with an open source PDF viewer library and get it improved to our needs. Android's webview is not capable of rendering PDF's. What we did there was, embedding the Google doc viewer and loading the document online via GDOc viewe

Re: [Dev] [APIM] Access-Control-Allow-Methods header not getting set for CORS requests.

2014-09-08 Thread Joseph Fonseka
Hi Lakmali Thanks for the clarification, And it would be ideal to send only the methods defined in API's resources but how mutch overhead will it add ? Regards Jo On Sat, Sep 6, 2014 at 10:36 AM, Lakmali Baminiwatta wrote: > Hi Jo, > > > On 5 September 2014 15:19, Joseph Fonseka wrote: > >>

Re: [Dev] How to write tests for dynamically changing contents?

2014-09-08 Thread Chan
Hi Madusanka, It all comes down to what you test. IMO there a 3 things to test - - Whether Google+ API is working :) (This would probably be a test and debug so that we can isolate the problem head on) - Check if Google+ comment object is as expected. If JSON -perform a key check. -

Re: [Dev] Getting a WSO2 GSoC project for University Assignment

2014-09-08 Thread Chan
Hi Chethiya, We haven't yet decided on the libraries to use for Document viewing. We did some initial PoC on this - @Kasun should be able to shed some light on this matter. I remember that we used a web view to render a file - Android's web view is capable of rendering PDFs. Also it would be best i

[Dev] How to write tests for dynamically changing contents?

2014-09-08 Thread Madusanka Premaratne
Hi all, We are currently developing an ESB connector for Google+ and we need to write some tests for Google+ comments list. But the comment list changes dynamically when a user puts a comment. How can we do a unit test for this.? According to my knowledge, I know that we can use mock concept. Is th

Re: [Dev] Connector Activation Problem in Integration test for Connectors

2014-09-08 Thread Krishantha Samaraweera
Hi Tharindu, Can you share the test class code. Thanks, Krishantha. On Sat, Sep 6, 2014 at 10:20 AM, Tharindua Dharmarathna wrote: > Hi All, > I was working around Writing Integration test for our training project on > "GooglePlus Connector". > When I do on testing I get notify my Connector i

Re: [Dev] [APIM] Minor UI issue in store front end

2014-09-08 Thread Nuwan Dias
+1 from me :) On Mon, Sep 8, 2014 at 8:51 AM, Rushmin Fernando wrote: > > In 'Recently Added' UI partial the following code line gets executed as a > part of the success handler of 'getRecentlyAddedAPIs' AJAX call. > > $("p").text("Some new text."); > > When "tagWiseMode" is enabled the above co

Re: [Dev] Fwd: Generating Basic Authentication header using the code

2014-09-08 Thread Milinda Perera
Hi, Hope you need to add this to http header. Try Instead (you have to add scope="transport" attribute if need to add this http header) Thanks, Milinda On Mon, Sep 8, 2014 at 5:37 PM, Dinithi De Silva wrote: > -- Forwarded message -- > From: Dinithi De Silva > Date: M

Re: [Dev] Sending POST request to ESB with optional parameters

2014-09-08 Thread Amaaniy Muhammad
Hi Elimatha, you are doing filters on "eventbrite.parameters" but you are calling "uri.var.parameters" in your endpoint. so no changes will be happened. so change "uri.var.parameters" as "uri.var.eventbrite.parameters" in your endpoint. regards, Amaaniy On Mon, Sep 8, 2014 at 11:12 AM, El

[Dev] Fwd: Generating Basic Authentication header using the code

2014-09-08 Thread Dinithi De Silva
-- Forwarded message -- From: Dinithi De Silva Date: Mon, Sep 8, 2014 at 5:34 PM Subject: Generating Basic Authentication header using the code To: d...@wso2.com, WSO2 Training Group Hi all, I am developing an ESB connector for ToodleDo API v3. To get the access token, I need t

Re: [Dev] Obtaining a registry value for a PHP application through the Registry REST API

2014-09-08 Thread Udara Rathnayake
To generate access token you can use the token API[1] [1] https://docs.wso2.com/display/AM160/Token+API On Mon, Sep 8, 2014 at 2:45 AM, Madhawa Bandara wrote: > Adding to above: > > Need to get this done without generating the ouath token manually ( > without using the API store). > > > On Mon,

Re: [Dev] Obtaining a registry value for a PHP application through the Registry REST API

2014-09-08 Thread Madhawa Bandara
Adding to above: Need to get this done without generating the ouath token manually ( without using the API store). On Mon, Sep 8, 2014 at 3:06 PM, Madhawa Bandara wrote: > Hi all, > > In order to perform the $subject following the doc [1]. I am using $curl > based invocation from my php applic

[Dev] Obtaining a registry value for a PHP application through the Registry REST API

2014-09-08 Thread Madhawa Bandara
Hi all, In order to perform the $subject following the doc [1]. I am using $curl based invocation from my php application. How can I get my requests the authenticated / how can I obtain the oauth access token? Thanks in advance. [1] - https://docs.wso2.com/display/Governance460/Registry+REST+AP

Re: [Dev] Configuring BPS to Tenant user signup workflow - Missing Authorization header when calling WorkflowCallbackService

2014-09-08 Thread Chamila Adhikarinayake
Thanks Waruna. It solved the problem On Mon, Sep 8, 2014 at 1:18 PM, Waruna Jayaweera wrote: > Hi Chamila, > Yes. There is an issue in tenant based work flows with BPS 3.2.0 .We have > fixed in the Carbon kernel patch0009. Please refer [1] for more > information. You can add the patch 9 for BPS

Re: [Dev] Configuring BPS to Tenant user signup workflow - Missing Authorization header when calling WorkflowCallbackService

2014-09-08 Thread Waruna Jayaweera
Hi Chamila, Yes. There is an issue in tenant based work flows with BPS 3.2.0 .We have fixed in the Carbon kernel patch0009. Please refer [1] for more information. You can add the patch 9 for BPS 3.2.0 or download BPS 3.5.0 M4 from [2]. [1]https://wso2.org/jira/browse/CARBON-14841 [2]https://svn.w

[Dev] Configuring BPS to Tenant user signup workflow - Missing Authorization header when calling WorkflowCallbackService

2014-09-08 Thread Chamila Adhikarinayake
Hi all, I'm creating user self signup for tenant stores in API manager. I use BPS to manage the workflow and use the instructions in the document[1]. document has instructions for a different workflow. so I did the following changes 1. copy UserSignupProcess.epr and UserSignupService.epr to /repo