Re: [Dev] How to write test cases for microservices registered via uuf app

2017-03-30 Thread Chanaka Cooray
Hi Denuwanthi, If you continue to use kernel 5.1.0, then you have to manually copy the uuf app and relevant artifact to the correct path inside the carbon.home as mention in the example[1]. [1] https://github.com/wso2/carbon-kernel/blob/v5.1.0/tests/osgi-tests/src/test/java/org/wso2/carbon/osgi/j

Re: [Dev] How to write test cases for microservices registered via uuf app

2017-03-30 Thread Niranjan Karunanandham
Hi Denuwanthi, In C 5.2.0-m3, we have introduced pax exam container level testing [1]. Did you check if we can test it via it? [1] - https://github.com/wso2/carbon-kernel/blob/master/docs/DeveloperTools/UsingIn-ContainerOSGiTesting.md Regards, Nira On Tue, Mar 28, 2017 at 11:05 PM, Denuwanthi D

[Dev] How to write test cases for microservices registered via uuf app

2017-03-28 Thread Denuwanthi De Silva
Hi, 1. I have a micro service registered in a uuf app via component.yaml apis: - className: "org.wso2.is.portal.user.client.api.micro.PasswordUtilityMicroService" uri: "/passwordUtil-micro-service/" Now, the url for the micorservice is in the form of /admin-portal/root/apis/passwordUtil-