2021-04-01 17:15:03 +02:00
|
|
|
package org.gcube.datatransfer.test;
|
2020-04-06 16:11:55 +02:00
|
|
|
import org.gcube.datatransfer.resolver.catalogue.resource.CatalogueStaticConfigurations;
|
|
|
|
|
|
|
|
public class CatalogueNameExtractor {
|
|
|
|
|
|
|
|
String[] CKANs = new String[] {
|
|
|
|
"https://ckan-grsf-admin2.d4science.org",
|
|
|
|
"https://ckan.pre.d4science.org/",
|
|
|
|
"https://ckan-aginfra.d4science.org",
|
2020-04-07 16:31:24 +02:00
|
|
|
"https://catalogue.d4science.org/",
|
2020-04-06 16:11:55 +02:00
|
|
|
"https://catalogue-imarine.d4science.org/" };
|
|
|
|
|
2020-04-07 16:31:24 +02:00
|
|
|
//@Test
|
2020-04-06 16:11:55 +02:00
|
|
|
public void extraCatalogueName() {
|
|
|
|
CatalogueStaticConfigurations staticConf = new CatalogueStaticConfigurations();
|
|
|
|
|
|
|
|
for (int i = 0; i < CKANs.length; i++) {
|
|
|
|
System.out.println(CKANs[i]);
|
|
|
|
staticConf.buildRelativeURLToPublicCatalogueGateway(CKANs[i]);
|
|
|
|
System.out.println("\n\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|