2019-03-07 18:01:44 +01:00
|
|
|
package org.gcube.data.publishing.gCatFeeder.collectors.dm;
|
2019-03-06 11:13:28 +01:00
|
|
|
|
|
|
|
import org.gcube.data.publishing.gCatFeeder.model.CatalogueInstanceDescriptor;
|
2019-03-07 17:29:38 +01:00
|
|
|
import org.gcube.data.publishing.gCatfeeder.collectors.CatalogueRetriever;
|
2019-03-06 11:13:28 +01:00
|
|
|
|
|
|
|
public class CKANRetriever implements CatalogueRetriever {
|
|
|
|
|
|
|
|
private static CKANRetriever instance=null;
|
|
|
|
|
|
|
|
static synchronized CKANRetriever get() {
|
|
|
|
if(instance==null) instance =new CKANRetriever();
|
|
|
|
return instance;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public CatalogueInstanceDescriptor getInstance() {
|
|
|
|
throw new RuntimeException("Implement this");
|
|
|
|
// GCoreEndpoint ep=ISUtils.queryForGCoreEndpoint("NO", "NO");
|
|
|
|
// return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|