HDFGroup / vol-rest

HDF5 REST VOL Connector
Other
5 stars 8 forks source link

Support long links with HSDS >0.8.5 #115

Closed mattjala closed 3 months ago

mattjala commented 5 months ago

HDFGroup/hsds#296 (not yet complete) adds API endpoints which allow link names to be provided in the body of a POST request, rather than through the URL. This branch changes some operations (RV_link_create, RV_link_specific, RV_find_object_by_path) to use the newer API if it is available.

Callbacks for RV_find_object_by_path were changed to handle a potential top-level h5paths key if the initial request was a plural attributes/links request.

RV_get_object_info_callback needs the hrefs in the response to get the object's domain/file, and these hrefs aren't returned for links/attributes requests. Another change to the HSDS API (returning the domain for each link/attr?) is still needed to resolve this.