Thank you Nisala.
It solved the issue :)


On Wed, Jan 18, 2017 at 3:03 PM, Nisala Nanayakkara <nis...@wso2.com> wrote:

> 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 <denuwan...@wso2.com>
> 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: denuwan...@wso2.com
>> Blog: https://denuwanthi.wordpress.com/
>>
>
>
>
> --
> *Nisala Niroshana Nanayakkara,*
> Software Engineer
> Mobile:(+94)717600022
> WSO2 Inc., http://wso2.com/
>



-- 
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to