Hi Denuwanthi,

Based on the off-line discussion we had, Please import the package
javax.ws.rs.* in  UI specific microservice pom file. It will solve the
issue of redirecting to "page not found' inside your uuf app.

Thanks,
Nisala

On Wed, Jan 18, 2017 at 2:26 PM, Denuwanthi De Silva <[email protected]>
wrote:

> Hi,
>
> I added a UI specific Microservice REST API following [1]and[2].
> But, When I invoke the url, it redirects to "page not found' inside our
> uuf app.
>
> I have added the REST service as an import in the uuf app pom as well.
> Is this all we need to do to register a UI specific microservice in UUF?
> Have I missed any registration step?
>
> Any input on this will be helpful
>
>
> [1]https://github.com/wso2/carbon-uuf/blob/master/
> samples/osgi-services/org.wso2.carbon.uuf.sample.api/
> src/main/java/org/wso2/carbon/uuf/sample/api/HelloService.java
> [2]https://github.com/wso2/carbon-uuf/blob/master/
> samples/apps/org.wso2.carbon.uuf.sample.pets-store.app/src/
> main/component.yaml
>
> Thanks
>
> --
> Denuwanthi De Silva
> Senior Software Engineer;
> WSO2 Inc.; http://wso2.com,
> Email: [email protected]
> Blog: https://denuwanthi.wordpress.com/
>



-- 
*Nisala Niroshana Nanayakkara,*
Software Engineer
Mobile:(+94)717600022
WSO2 Inc., http://wso2.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to