We (Dr. Sanjiva, Deepal and I) discussed about adding a new method to the Registry API to get the resource metadata without retrieving the resource content.
The method we agreed is:

Resource getResourceMatadata(String path);

This method returns a Resource object with content set to null. There are many use cases for this method in the registry web UI and in the APP interface. In both these cases, we need to get the metadata. But we need the actual content only when a user wants to download the resource. Therefore, we can use getResourceMatadata(...) method in these scenarios to process requests efficiently.

Thanks,
Chathura

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to