2017-06-30 18:16:57 +02:00
|
|
|
package org.gcube.spatial.data.sdi;
|
|
|
|
|
2017-07-03 19:01:19 +02:00
|
|
|
import java.io.File;
|
|
|
|
import java.util.Set;
|
|
|
|
|
|
|
|
import javax.ws.rs.client.WebTarget;
|
|
|
|
|
2017-06-30 18:16:57 +02:00
|
|
|
import org.gcube.common.clients.delegates.AsyncProxyDelegate;
|
|
|
|
import org.gcube.common.clients.delegates.ProxyDelegate;
|
2017-07-03 19:01:19 +02:00
|
|
|
import org.gcube.spatial.data.sdi.interfaces.Metadata;
|
|
|
|
import org.gcube.spatial.data.sdi.model.metadata.MetadataPublishOptions;
|
|
|
|
import org.gcube.spatial.data.sdi.model.metadata.MetadataReport;
|
2019-09-18 17:00:05 +02:00
|
|
|
import org.gcube.spatial.data.sdi.model.metadata.TemplateCollection;
|
2017-07-03 19:01:19 +02:00
|
|
|
import org.gcube.spatial.data.sdi.model.metadata.TemplateDescriptor;
|
|
|
|
|
|
|
|
public class SDIClient implements Metadata{
|
|
|
|
|
2019-09-18 17:00:05 +02:00
|
|
|
// @Override
|
|
|
|
// public Set<TemplateDescriptor> getAvailableTemplates() {
|
|
|
|
// // TODO Auto-generated method stub
|
|
|
|
// return null;
|
|
|
|
// }
|
2017-07-03 19:01:19 +02:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public MetadataReport pushMetadata(File toPublish) {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public MetadataReport pushMetadata(File toPublish, MetadataPublishOptions options) {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return null;
|
|
|
|
}
|
2017-06-30 18:16:57 +02:00
|
|
|
|
2017-07-03 19:01:19 +02:00
|
|
|
private final AsyncProxyDelegate<WebTarget> delegate;
|
2017-06-30 18:16:57 +02:00
|
|
|
|
2017-07-03 19:01:19 +02:00
|
|
|
public SDIClient(ProxyDelegate<WebTarget> config) {
|
|
|
|
this.delegate = new AsyncProxyDelegate<WebTarget>(config);
|
|
|
|
}
|
2017-06-30 18:16:57 +02:00
|
|
|
|
2019-09-18 17:00:05 +02:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public TemplateCollection getAvailableTemplates() {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return null;
|
|
|
|
}
|
2017-06-30 18:16:57 +02:00
|
|
|
}
|