180: TDM - Portlets must support Storage Id in communications with service
Task-Url: https://support.d4science.org/issues/180 Updated dependency git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-resources-widget@115151 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a38cb9833a
commit
56a3a69eab
|
@ -709,7 +709,7 @@ public class ResourcesPanel extends FramedPanel {
|
||||||
if (resource instanceof InternalURITD) {
|
if (resource instanceof InternalURITD) {
|
||||||
InternalURITD internalURITD = (InternalURITD) resource;
|
InternalURITD internalURITD = (InternalURITD) resource;
|
||||||
UriResolverSession uriResolverSession = new UriResolverSession(
|
UriResolverSession uriResolverSession = new UriResolverSession(
|
||||||
internalURITD.getUrl(), ApplicationType.GIS);
|
internalURITD.getId(), ApplicationType.GIS);
|
||||||
|
|
||||||
TDGWTServiceAsync.INSTANCE.getUriFromResolver(
|
TDGWTServiceAsync.INSTANCE.getUriFromResolver(
|
||||||
uriResolverSession, new AsyncCallback<String>() {
|
uriResolverSession, new AsyncCallback<String>() {
|
||||||
|
@ -755,7 +755,7 @@ public class ResourcesPanel extends FramedPanel {
|
||||||
if (resource instanceof InternalURITD) {
|
if (resource instanceof InternalURITD) {
|
||||||
InternalURITD genericFileResourceTD = (InternalURITD) resource;
|
InternalURITD genericFileResourceTD = (InternalURITD) resource;
|
||||||
UriResolverSession uriResolverSession = new UriResolverSession(
|
UriResolverSession uriResolverSession = new UriResolverSession(
|
||||||
genericFileResourceTD.getUrl(), ApplicationType.SMP_ID,
|
genericFileResourceTD.getId(), ApplicationType.SMP_ID,
|
||||||
resourceTDDescriptor.getName(),
|
resourceTDDescriptor.getName(),
|
||||||
genericFileResourceTD.getMimeType());
|
genericFileResourceTD.getMimeType());
|
||||||
|
|
||||||
|
|
|
@ -196,7 +196,7 @@ public class ChartViewerPanel extends FramedPanel {
|
||||||
|
|
||||||
protected void retrieveUrlFromResolver() {
|
protected void retrieveUrlFromResolver() {
|
||||||
UriResolverSession uriResolverSession = new UriResolverSession(
|
UriResolverSession uriResolverSession = new UriResolverSession(
|
||||||
internalURITD.getUrl(), ApplicationType.SMP_ID,
|
internalURITD.getId(), ApplicationType.SMP_ID,
|
||||||
resourceTDDescriptor.getName(), internalURITD.getMimeType());
|
resourceTDDescriptor.getName(), internalURITD.getMimeType());
|
||||||
|
|
||||||
TDGWTServiceAsync.INSTANCE.getUriFromResolver(uriResolverSession,
|
TDGWTServiceAsync.INSTANCE.getUriFromResolver(uriResolverSession,
|
||||||
|
|
Loading…
Reference in New Issue