Hypermedia example.

23 views
Skip to first unread message

Júlio Cesar de Melhado e Lima

unread,
Dec 7, 2012, 2:16:36 PM12/7/12
to ql...@googlegroups.com
Hi,
I was wondering if anybody have a example of how to use hypermedia (i.e, REST hypermedia concept) with ql.io.
What I am trying to achieve is, after a fetch of a URL, follow the links of this page.

Subbu, from eBay, reported that it is possible (see http://www.infoq.com/news/2011/11/ql-io-release) but I can't find any example.

Thanks

shimonchayim

unread,
Dec 7, 2012, 2:47:14 PM12/7/12
to ql...@googlegroups.com
don't have an example for that in open source but I can tell you what we did and what ql.io feature we leveraged.

1) Made a call to a server to can ips for machines in a cluster and the next objective was to call the same url on all these machines.
2) A table was pred-defined to help call one of these machines and we provided a fake url e.g create table cluster_machine on select get from http://fakeurl ....
     2.1) In this table we had provided a 'patch uri' monkey patch which was reading the params and return a list of uris (not just one uri)
3) called select on that table
Reply all
Reply to author
Forward
0 new messages