Hi, The requirement is valid but, I don't think calling HTTP REST API from the backend is good. (auth issues, SSL issues, timeout issues, hostname issues, port issues).
We have following options. 1) We leave first view blank for now. 2) Call the Java class instead of the REST, you will get the same info you can get via the REST that way. How about calling the same MSS Service class that you deploy to get the service, but as a Java call. On Tue, Nov 1, 2016 at 11:21 AM, Chanaka Jayasena <[email protected]> wrote: > Hi Guys, > > Is there a stranded approach to do the $subject. > > We are in the process of migrating APIM to UUF. Plan is to use the > existing Publisher and Store REST APIs. So we are not calling OSGI Services > from the BE javascripts. I tried using XMLHttpRequest object but it > doesn't seem to work with Nashorn. > > We can load the basic layout from UUF and call the REST API from the > client side. But initially pushing data to view ( hbs file) from the > controller ( Nashorn js file from a http call is a requirement IMO. > > Thanks, > Chanaka > -- > Chanaka Jayasena > Associate Tech Lead, > email: [email protected]; cell: +94 77 4464006 > blog: http://chanaka3d.blogspot.com > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- With regards, *Manu*ranga Perera. phone : 071 7 70 20 50 mail : [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
