TypeBinder has been renamed to TypeMapper
This commit is contained in:
parent
6099342f0c
commit
ae8f97d6b2
|
@ -26,7 +26,7 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.schema.Schema
|
||||||
import org.gcube.informationsystem.resourceregistry.api.rest.AccessPath;
|
import org.gcube.informationsystem.resourceregistry.api.rest.AccessPath;
|
||||||
import org.gcube.informationsystem.resourceregistry.api.rest.httputils.HTTPUtility;
|
import org.gcube.informationsystem.resourceregistry.api.rest.httputils.HTTPUtility;
|
||||||
import org.gcube.informationsystem.resourceregistry.api.utils.Utility;
|
import org.gcube.informationsystem.resourceregistry.api.utils.Utility;
|
||||||
import org.gcube.informationsystem.types.TypeBinder;
|
import org.gcube.informationsystem.types.TypeMapper;
|
||||||
import org.gcube.informationsystem.types.reference.Type;
|
import org.gcube.informationsystem.types.reference.Type;
|
||||||
import org.gcube.informationsystem.utils.ElementMapper;
|
import org.gcube.informationsystem.utils.ElementMapper;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
|
@ -154,7 +154,7 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient {
|
||||||
String json = HTTPUtility.getResponse(String.class, httpURLConnection);
|
String json = HTTPUtility.getResponse(String.class, httpURLConnection);
|
||||||
|
|
||||||
logger.debug("Got schema for {} is {}", typeName, json);
|
logger.debug("Got schema for {} is {}", typeName, json);
|
||||||
return TypeBinder.deserializeTypeDefinitions(json);
|
return TypeMapper.deserializeTypeDefinitions(json);
|
||||||
} catch(ResourceRegistryException e) {
|
} catch(ResourceRegistryException e) {
|
||||||
// logger.trace("Error while getting {} schema for {}", polymorphic ? AccessPath.POLYMORPHIC_PARAM + " " : "",
|
// logger.trace("Error while getting {} schema for {}", polymorphic ? AccessPath.POLYMORPHIC_PARAM + " " : "",
|
||||||
// type, e);
|
// type, e);
|
||||||
|
|
Loading…
Reference in New Issue