public class OpenSearchDataSourceDiscoverer extends org.gcube.rest.resourcemanager.discoverer.Discoverer<OpenSearchDataSourceResource> implements OpenSearchDiscovererAPI<OpenSearchDataSourceResource>
| Constructor and Description |
|---|
OpenSearchDataSourceDiscoverer(org.gcube.rest.resourcemanager.discoverer.ri.RunningInstancesDiscoverer riDiscoverer,
org.gcube.rest.resourcemanager.harvester.IResourceHarvester<OpenSearchDataSourceResource> harvester) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
discoverOpenSearchInstances(String scope) |
Map<String,Set<String>> |
discoverOpenSearchNodes(String collectionID,
String scope) |
Set<OpenSearchDataSourceResource> |
discoverOpenSearchResources(String collectionID,
String scope) |
Set<OpenSearchDataSourceResource> |
discoverOpenSearchResourcesLocal(String scope,
String hostname) |
@Inject
public OpenSearchDataSourceDiscoverer(org.gcube.rest.resourcemanager.discoverer.ri.RunningInstancesDiscoverer riDiscoverer,
org.gcube.rest.resourcemanager.harvester.IResourceHarvester<OpenSearchDataSourceResource> harvester)
public Set<String> discoverOpenSearchInstances(String scope)
discoverOpenSearchInstances in interface OpenSearchDiscovererAPI<OpenSearchDataSourceResource>public Set<OpenSearchDataSourceResource> discoverOpenSearchResourcesLocal(String scope, String hostname) throws OpenSearchDiscovererException
discoverOpenSearchResourcesLocal in interface OpenSearchDiscovererAPI<OpenSearchDataSourceResource>OpenSearchDiscovererExceptionpublic Set<OpenSearchDataSourceResource> discoverOpenSearchResources(String collectionID, String scope) throws OpenSearchDiscovererException
discoverOpenSearchResources in interface OpenSearchDiscovererAPI<OpenSearchDataSourceResource>OpenSearchDiscovererExceptionpublic Map<String,Set<String>> discoverOpenSearchNodes(String collectionID, String scope) throws OpenSearchDiscovererException
discoverOpenSearchNodes in interface OpenSearchDiscovererAPI<OpenSearchDataSourceResource>OpenSearchDiscovererExceptionCopyright © 2015. All Rights Reserved.