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
|
|
|
|
2019-03-28 18:59:52 +01:00
|
|
|
public class GCATRetriever implements CatalogueRetriever {
|
2019-03-06 11:13:28 +01:00
|
|
|
|
2019-03-28 18:59:52 +01:00
|
|
|
private static GCATRetriever instance=null;
|
2019-03-06 11:13:28 +01:00
|
|
|
|
2019-03-28 18:59:52 +01:00
|
|
|
static synchronized GCATRetriever get() {
|
|
|
|
if(instance==null) instance =new GCATRetriever();
|
2019-03-06 11:13:28 +01:00
|
|
|
return instance;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public CatalogueInstanceDescriptor getInstance() {
|
2019-04-02 17:46:32 +02:00
|
|
|
// throw new RuntimeException("Implement this");
|
2019-03-06 11:13:28 +01:00
|
|
|
// GCoreEndpoint ep=ISUtils.queryForGCoreEndpoint("NO", "NO");
|
2019-04-02 17:46:32 +02:00
|
|
|
return new CatalogueInstanceDescriptor();
|
2019-03-06 11:13:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|