Re: [Dev] [AppFactory] Cannot Access User Profile in public cloud

2015-05-01 Thread Fathima Dilhasha
Hi Samith, Okay. Thank you. Regards, Dilhasha Fathima Dilhasha Nazeer http://lk.linkedin.com/in/dilhasha/ (M.N.F.Dilhasha) Undergraduate | Department of Computer Science and Engineering University of Moratuwa Sri Lanka On Sat, May 2, 2015 at 12:39 AM, Samith Dassanayake sam...@wso2.com wrote:

Re: [Dev] [Discuss] [PPaaS] Preparing PPaaS Git Repository for 4.1.0 Release

2015-05-01 Thread Imesh Gunaratne
Hi Devs, I have now completed the above task. Any contributions to PPaaS 4.1.0 release can now be done against the master branch [1]. Please note that the latest state of the master branch was moved to a new branch with the name 4.1.0-bug-fixes for any future reference. Now the folder structure

Re: [Dev] ESB XML Validate and Remove

2015-05-01 Thread Malaka Silva
Hi, This is a use case for for-each mediator which is planned for 4.9.0 For current released version there is no solid solution. However you can try the following. I can't use enrich since the original scope is not visible. - Try with operation scope I can't use aggregate mediator since I

Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread Fathima Dilhasha
Hi, Thank you Mahesh and Samith. Regards, Dilhasha *M.N.F. Dilhasha* Software Engineering Intern | *WSO2 Inc.* email : *dilha...@wso2.com dilha...@wso2.com*mobile : +94 77 8449321 On Fri, May 1, 2015 at 8:17 PM, Samith Dassanayake sam...@wso2.com wrote: Hi Dilhasha, You can find the

Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread danushkaf
Hi Punnadi It returned false. Which means login is not successful. And further use the -c cookies in login command and use -b cookies in others and you don’t have to worry about session details in that way. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/

Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread Samith Dassanayake
Hi Dilhasha, You can find the REST API and sample curl commands in [1]. [1] https://docs.wso2.com/display/AF210/REST+APIs Regards, Samith On Fri, May 1, 2015 at 8:11 PM, Fathima Dilhasha dilhasha@gmail.com wrote: Hi, I am trying to do $subject. Can someone share curl commands that I

Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread danushkaf
Hi Can you login to the cloud with same username and password? Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 From: Fathima Dilhasha Sent: ‎Friday‎, ‎May‎ ‎1‎, ‎2015 ‎8‎:‎48‎ ‎PM To: Fathima Dilhasha Cc: WSO2 Developers' List

Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread Mahesh Chinthaka
Hi Fathima, Hope this helps. *1) Login * curl -v -X POST -c cookies -k https://apps.appfactory.private.wso2.com:9443/appmgt/site/blocks/user/login/ajax/login.jag -d 'action=loginuserName=ad...@black.compassword=12345' *2) Rest client execution command* eg :- DatabaseRestClient.getDatabases()

Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread Punnadi Gunarathna
Hi Fathima, I think your login is successful. Use the jsessionid to see invoke rest of the curl commands. On May 1, 2015 8:48 PM, Fathima Dilhasha dilhasha@gmail.com wrote: Hi, I cannot seem to access the public cloud using the curl command for login. The curl command I'm using is as

[Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread Fathima Dilhasha
Hi, I am trying to do $subject. Can someone share curl commands that I can use to access the REST API for App Factory? Thanks. Regards, Dilhasha Fathima Dilhasha Nazeer http://lk.linkedin.com/in/dilhasha/ (M.N.F.Dilhasha) Undergraduate | Department of Computer Science and Engineering

Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread Fathima Dilhasha
Hi, I cannot seem to access the public cloud using the curl command for login. The curl command I'm using is as follows. *curl -v -X POST -k https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag -d

Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread Fathima Dilhasha
Hi, Yes. I can login to public cloud using same credentials. But I need to clarify this. After I log in I choose between two organizations. Should my username include the organization as well? I will check by creating another account as well. Thanks. Fathima Dilhasha Nazeer

Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread Danushka Fernando
Good point. Say your organization is xyz then your username should be dilasha..wso2.com@xyz. Try that. Should work I guess. Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On May 1, 2015 10:03 PM, Fathima Dilhasha

Re: [Dev] [AppFac] Access AppFactory REST API

2015-05-01 Thread Fathima Dilhasha
Hi Danushka, That solved the problem. Thanks. Regards, Dilhasha Fathima Dilhasha Nazeer http://lk.linkedin.com/in/dilhasha/ (M.N.F.Dilhasha) Undergraduate | Department of Computer Science and Engineering University of Moratuwa Sri Lanka On Fri, May 1, 2015 at 10:09 PM, Danushka Fernando

[Dev] [Discuss] [PPaaS] Preparing PPaaS Git Repository for 4.1.0 Release

2015-05-01 Thread Imesh Gunaratne
Hi Devs, I'm now doing $subject. In PPaaS 4.0.0 release we forked Apache Stratos 4.0.0 code as we needed to customize some of the logic in Stratos to support WSO2 specific features; WKA member management, cartridge agent extensions for restarting servers for cluster re-configuration, cartridge

Re: [Dev] [AppFactory] Cannot Access User Profile in public cloud

2015-05-01 Thread Samith Dassanayake
Hi Dilhasha, The link to user profile is [1]. It seems like you have used user_profile.jag instead of user-profile.jag. [1] https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/user-profile.jag Regards, Samith On Fri, May 1, 2015 at 8:40 PM, Fathima Dilhasha dilhasha@gmail.com wrote: Hi,

Re: [Dev] Loopback mediator for ESB 4.7.0

2015-05-01 Thread Isuru Udana
Hi Hemika, Loopback was introduced in ESB 4.8.0. If you can explain the requirement, we'll able to help you. On Fri, May 1, 2015 at 1:27 PM, Hemika Kodikara hem...@wso2.com wrote: Hi All, Is there loopback mediator in ESB 4.7.0 ? I am trying to use the following synapse in 4.7.0 which I

Re: [Dev] Loopback mediator for ESB 4.7.0

2015-05-01 Thread Isuru Udana
I can't see a clear relationship between Loopback mediator and what you are trying out. But according to the proxy configuration you have given above, I guess you are trying to send a response back to the client from the proxy itself without sending the request to a backend service. For that you

Re: [Dev] Loopback mediator for ESB 4.7.0

2015-05-01 Thread Hemika Kodikara
Hi Isuru, That worked!, Just what I needed. Thanks, Hemika Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +9477762 On Fri, May 1, 2015 at 2:25 PM, Isuru Udana isu...@wso2.com wrote: I can't see a clear relationship between Loopback

Re: [Dev] Loopback mediator for ESB 4.7.0

2015-05-01 Thread Hemika Kodikara
Hi Isuru, Thanks for the reply. Ideally I want to experiment the following message builders(axis2.xml). !--JSON Message Builders-- messageBuilder contentType=application/json class=org.apache.synapse.commons.json.JsonBuilder/ !--messageBuilder contentType=application/json

[Dev] ESB XML Validate and Remove

2015-05-01 Thread Manuranga Perera
I have an XML validate and remove use-case. I'll use following sample to explain request pizza vegetablepineapplevegetable /pizza !--following one is an wrong and should be remove-- pizza vegetablechicken/vegetable /pizza