merged from trunk
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/branches/information-system/ic-client/1.0@67599 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
cf05554d13
commit
7262578661
|
@ -1,7 +1,6 @@
|
|||
package org.gcube.resources.discovery.icclient;
|
||||
|
||||
import static org.gcube.common.clients.stubs.jaxws.StubFactory.*;
|
||||
import static org.gcube.data.streams.dsl.Streams.*;
|
||||
import static org.gcube.resources.discovery.icclient.stubs.CollectorConstants.*;
|
||||
|
||||
import java.net.URI;
|
||||
|
@ -14,10 +13,8 @@ import javax.xml.ws.soap.SOAPFaultException;
|
|||
|
||||
import org.gcube.common.clients.stubs.jaxws.JAXWSUtils;
|
||||
import org.gcube.common.scope.api.ServiceMap;
|
||||
import org.gcube.data.streams.Stream;
|
||||
import org.gcube.resources.discovery.client.api.DiscoveryClient;
|
||||
import org.gcube.resources.discovery.client.api.DiscoveryException;
|
||||
import org.gcube.resources.discovery.client.api.InvalidResultException;
|
||||
import org.gcube.resources.discovery.client.queries.api.Query;
|
||||
import org.gcube.resources.discovery.icclient.stubs.CollectorStub;
|
||||
import org.gcube.resources.discovery.icclient.stubs.MalformedQueryException;
|
||||
|
@ -52,14 +49,6 @@ public class ICClient implements DiscoveryClient<String> {
|
|||
|
||||
}
|
||||
|
||||
public Stream<String> submitForStream(Query query) throws DiscoveryException, InvalidResultException {
|
||||
// TODO: use real streaming if and when IC will support it
|
||||
return convert(submit(query));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//helper
|
||||
private String callService(Query query, CollectorStub stub) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue