Hi Deepal!
Deepal Jayasinghe wrote:
The important thing seems to me to decide exactly what you get if you
do a registry.get("/foo;comments"). I would think you'd get a
collection Resource which contains the comments as individual Atom
entries.
In this case the return type is Resource and that resource contains
links to the comments
On the wire, this is EXACTLY the same as when you do
registry.getComments("/foo").
In this case the return type is set of comment objects.
What I'm saying is that there should be absolutely no difference at the
protocol level. Both of these calls should generate
GET /foo;comments
on the wire, and both should result in exactly the same Atom feed. The
only difference should be on the client side in terms of what Java
objects are returned.
So in the sever side APP need to decide whether it required to send a
feed with set of entries which has only a link (in the case of get) or a
feed with a set of entries having not only the link but also all the
other comment properties like user and created time (getComments).
See above. I don't think any differentiation is necessary. The
comments feed should look the same whether accessed by either of the
above registry APIs or by a direct HTTP GET from a browser/feed-reader.
Make sense?
Thanks,
--Glen
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev