public class OpenSearchDataSourceFactory
extends org.gcube.common.core.porttypes.GCUBEPortType
| Constructor and Description |
|---|
OpenSearchDataSourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.opensearch.opensearchdatasource.stubs.CreateResourceResponse |
createResource(org.gcube.opensearch.opensearchdatasource.stubs.CreateResourceParams request)
Creates an instance of the OpenSearchDataSourceResource class and returns a reference to it
|
protected org.gcube.common.core.contexts.GCUBEServiceContext |
getServiceContext() |
public org.gcube.opensearch.opensearchdatasource.stubs.CreateResourceResponse createResource(org.gcube.opensearch.opensearchdatasource.stubs.CreateResourceParams request)
throws org.gcube.common.core.faults.GCUBEFault
request - CreateResource - Object containing the set of searchable and presentable fields to be published and the set of OpenSearch
and a set of OpenSearch providers that will be handled by the DataSource. Each provider is tied to a collection id, a generic resource id and
possibly some fixed parameters that will be used while querying the first-level broker OpenSearch providerCreateResourceResponse - object containing the epr of the created OpenSearchDataSourceResource instance. The created resource will expose
a number of query templates which can be used to query an OpenSearch Providerorg.gcube.common.core.faults.GCUBEFault - In case of errororg.gcube.opensearch.opensearchserice.stubs.OpenSearchDataSourceFactoryPortType}protected org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
getServiceContext in class org.gcube.common.core.porttypes.GCUBEPortTypeCopyright © 2014. All Rights Reserved.