removed comment

task_22385
Francesco Mangiacrapa 2 years ago
parent 4b11aebf62
commit a79d9a3452

@ -5,11 +5,6 @@ import org.gcube.common.scope.api.ScopeProvider;
import org.gcube.portlets.user.uriresolvermanager.UriResolverManager;
import org.gcube.portlets.user.uriresolvermanager.exception.IllegalArgumentException;
import org.gcube.portlets.user.uriresolvermanager.exception.UriResolverMapException;
import org.junit.Test;
/**
*
*/
/**
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
@ -36,7 +31,7 @@ public class UriResolverManagerTest {
}
//@Test
// @Test
public void testCTLG() {
try {
@ -47,7 +42,7 @@ public class UriResolverManagerTest {
params.put("gcube_scope", "/gcube/devsec/devVRE");
params.put("entity_context", "dataset");
params.put("entity_name", "sarda-sarda");
String shortLink = resolver.getLink(params, true); // true, link is shorted otherwise none
String shortLink = resolver.getLink(params, true);
System.out.println(shortLink);
} catch (UriResolverMapException e) {
e.printStackTrace();
@ -58,7 +53,7 @@ public class UriResolverManagerTest {
}
}
//@Test
// @Test
public void testSHUB() {
try {
@ -68,7 +63,7 @@ public class UriResolverManagerTest {
Map<String, String> params = new HashMap<String, String>();
params.put("id", "1dac6703-8eb0-4838-83a8-5006f5074e9b");
params.put("content-disposition", "inline");
String shortLink = resolver.getLink(params, true); // true, link is shorted otherwise none
String shortLink = resolver.getLink(params, true);
System.out.println(shortLink);
} catch (UriResolverMapException e) {
e.printStackTrace();
@ -79,7 +74,7 @@ public class UriResolverManagerTest {
}
}
//@Test
// @Test
public void testGIS() {
try {
@ -89,7 +84,7 @@ public class UriResolverManagerTest {
params.put("gis-UUID", "1a657005-29c6-4528-a115-69640c4c2900");
params.put("scope", "/pred4s/preprod/preVRE");
String shortLink = resolver.getLink(params, false);
System.out.println(shortLink); // true, link is shorted otherwise none
System.out.println(shortLink);
} catch (UriResolverMapException e) {
e.printStackTrace();
} catch (IllegalArgumentException e) {

Loading…
Cancel
Save