[Fwd: [Registry-dev] Bug in current API?]

Sanjiva Weerawarana sanjiva at wso2.com
Sun Dec 16 23:12:55 PST 2007


Glen Daniels wrote:
> 
> So the Java API might want to change in a couple of possible ways.
> First, we could just update the path of the Resource being passed to
> put() with the new path.  So you'd have to check resource.getPath() to
> see where it actually ended up.  Second, we could have put() return the
> actual result path String.  We could also do both.  In either case we'd
> want to change the name of the "path" argument to "suggestedPath", with
> appropriate JavaDoc.

+1 for changing it to return the actual path. Consistent with the 
Slug/Location approach too and more appropriate for the distributed 
version of the API.

Sanjiva.
-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
email: sanjiva at wso2.com; cell: +1 650 265 8311 | +94 77 787 6880

"Oxygenating the Web Service Platform."



More information about the Registry-dev mailing list