Minor updated
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@85014 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
11883b48d9
commit
69079f0f4c
|
@ -36,6 +36,9 @@ import org.gcube.data.analysis.tabulardata.service.tabular.metadata.CreationDate
|
|||
import org.gcube.data.analysis.tabulardata.service.tabular.metadata.DescriptionMetadata;
|
||||
import org.gcube.data.analysis.tabulardata.service.tabular.metadata.NameMetadata;
|
||||
import org.gcube.data.analysis.tabulardata.service.tabular.metadata.RightsMetadata;
|
||||
import org.gcube.datapublishing.sdmx.api.model.SDMXRegistryDescriptor;
|
||||
import org.gcube.datapublishing.sdmx.api.model.SDMXRegistryInterfaceType;
|
||||
import org.gcube.datapublishing.sdmx.impl.model.GCubeSDMXRegistryDescriptor;
|
||||
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTService;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.file.FileUploadSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.storage.FilesStorage;
|
||||
|
@ -443,6 +446,12 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
map.put("Id", codelist.getId());
|
||||
map.put("Version", codelist.getVersion());
|
||||
|
||||
//TODO-GP: Get registry url from client
|
||||
|
||||
SDMXRegistryDescriptor descriptor = new GCubeSDMXRegistryDescriptor();
|
||||
map.put("registryBaseUrl", descriptor.getUrl(SDMXRegistryInterfaceType.RESTV2_1));
|
||||
|
||||
|
||||
return map;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue