1. RegistryService.java - Remove deprecated methods. getUserRegistry,
getSystemRegistry
2. Rename the getRegistry to getRootRegistry. (to avoid the confusion).
3. The argument chroot: the doc comment is not clear. Provide an
example in the doc.
4. tenantId argument should be described as a special case of the
tenantId = 0. (the special value)
5. EmbeddedRegistryService.java: If the tenantId not provided, put a
note that it returns the super tenant.
6. At the registryMount, if the mount point is not available for
governance, config registries, an exception should propagate up.
7. RegistryUtils:775 - The log warn should just print the message. Put
another debug log that print the entire exception.
8. Handle the governance, config registries specially when mounting,
so the failures of mounting them will propagate up.
9. "else" should be in the same line as the end bracket of previous
if. (ResourceUtils.java:769). - Good practise.
10. If the exception is consuming, name the exception as ignore and
put a comment why it is not thrown up.
11. getUserRealm(int tenantId): whether this method should be moved to
user core or not, + how resource should be shared among tenants have
to have different discussion.
12. How to store content across separated registries.  To be discussed more.
13. Currently RegistryAbstractAdmin only have the getRootRegistry(),
Check the posibility whether it should be moved up. To be discussed
more.


Thanks
Dimuthu

_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to