Class SearchServiceResource
java.lang.Object
org.openmetadata.service.resources.EntityResource<T,R>
org.openmetadata.service.resources.services.ServiceEntityResource<SearchService,SearchServiceRepository,SearchConnection>
org.openmetadata.service.resources.services.searchIndexes.SearchServiceResource
@Path("/v1/services/searchServices")
@Produces("application/json")
@Consumes("application/json")
public class SearchServiceResource
extends ServiceEntityResource<SearchService,SearchServiceRepository,SearchConnection>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.openmetadata.service.resources.EntityResource
allowedFields, authorizer, entityClass, entityType, fieldsToViewOperations, repository, VIEW_ALL_OPERATIONS, VIEW_BASIC_OPERATIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHref(javax.ws.rs.core.UriInfo uriInfo, SearchService service) addTestConnectionResult(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, UUID id, @Valid TestConnectionResult testConnectionResult) javax.ws.rs.core.Responsecreate(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, @Valid CreateSearchService create) javax.ws.rs.core.ResponsecreateOrUpdate(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, @Valid CreateSearchService update) javax.ws.rs.core.Responsedelete(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, boolean recursive, boolean hardDelete, String fqn) javax.ws.rs.core.Responsedelete(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, boolean recursive, boolean hardDelete, UUID id) protected StringextractServiceType(SearchService service) get(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, UUID id, String fieldsParam, Include include) getByName(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, String name, String fieldsParam, Include include) protected List<MetadataOperation>getVersion(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, UUID id, String version) list(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, String fieldsParam, String domain, @javax.validation.constraints.Min(0L),@javax.validation.constraints.Max(1000000L) int limitParam, String before, String after, Include include) listVersions(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, UUID id) protected SearchServicenullifyConnection(SearchService service) javax.ws.rs.core.Responsepatch(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, UUID id, javax.json.JsonPatch patch) javax.ws.rs.core.ResponserestoreSearchService(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, @Valid RestoreEntity restore) Methods inherited from class org.openmetadata.service.resources.services.ServiceEntityResource
decryptOrNullify, decryptOrNullify, listInternal, unmaskMethods inherited from class org.openmetadata.service.resources.EntityResource
addHref, addViewOperation, create, createOrUpdate, delete, deleteByName, exportCsvInternal, getByNameInternal, getByNameInternal, getEntityReference, getEntityReferences, getFields, getInternal, getInternal, getResourceContext, getResourceContextById, getResourceContextByName, getVersionInternal, getVersionInternal, importCsvInternal, initialize, listInternal, listInternal, listVersionsInternal, listVersionsInternal, patchInternal, restoreEntity, upgrade
-
Field Details
-
COLLECTION_PATH
- See Also:
-
-
Constructor Details
-
SearchServiceResource
-
-
Method Details
-
addHref
- Overrides:
addHrefin classEntityResource<SearchService,SearchServiceRepository>
-
getEntitySpecificOperations
- Overrides:
getEntitySpecificOperationsin classEntityResource<SearchService,SearchServiceRepository>
-
list
@GET public ResultList<SearchService> list(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @QueryParam("fields") String fieldsParam, @QueryParam("domain") String domain, @DefaultValue("10") @Min(0L) @Max(1000000L) @QueryParam("limit") @javax.validation.constraints.Min(0L),@javax.validation.constraints.Max(1000000L) int limitParam, @QueryParam("before") String before, @QueryParam("after") String after, @QueryParam("include") @DefaultValue("non-deleted") Include include) -
get
@GET @Path("/{id}") public SearchService get(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @PathParam("id") UUID id, @QueryParam("fields") String fieldsParam, @QueryParam("include") @DefaultValue("non-deleted") Include include) -
getByName
@GET @Path("/name/{name}") public SearchService getByName(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @PathParam("name") String name, @QueryParam("fields") String fieldsParam, @QueryParam("include") @DefaultValue("non-deleted") Include include) -
addTestConnectionResult
@PUT @Path("/{id}/testConnectionResult") public SearchService addTestConnectionResult(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @PathParam("id") UUID id, @Valid @Valid TestConnectionResult testConnectionResult) -
listVersions
@GET @Path("/{id}/versions") public EntityHistory listVersions(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @PathParam("id") UUID id) -
getVersion
@GET @Path("/{id}/versions/{version}") public SearchService getVersion(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @PathParam("id") UUID id, @PathParam("version") String version) -
create
@POST public javax.ws.rs.core.Response create(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @Valid @Valid CreateSearchService create) -
createOrUpdate
@PUT public javax.ws.rs.core.Response createOrUpdate(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @Valid @Valid CreateSearchService update) -
patch
@PATCH @Path("/{id}") @Consumes("application/json-patch+json") public javax.ws.rs.core.Response patch(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @PathParam("id") UUID id, javax.json.JsonPatch patch) -
delete
@DELETE @Path("/{id}") public javax.ws.rs.core.Response delete(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @DefaultValue("false") @QueryParam("recursive") boolean recursive, @QueryParam("hardDelete") @DefaultValue("false") boolean hardDelete, @PathParam("id") UUID id) -
delete
@DELETE @Path("/name/{fqn}") public javax.ws.rs.core.Response delete(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @DefaultValue("false") @QueryParam("recursive") boolean recursive, @QueryParam("hardDelete") @DefaultValue("false") boolean hardDelete, @PathParam("fqn") String fqn) -
restoreSearchService
@PUT @Path("/restore") public javax.ws.rs.core.Response restoreSearchService(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @Valid @Valid RestoreEntity restore) -
nullifyConnection
- Specified by:
nullifyConnectionin classServiceEntityResource<SearchService,SearchServiceRepository, SearchConnection>
-
extractServiceType
- Specified by:
extractServiceTypein classServiceEntityResource<SearchService,SearchServiceRepository, SearchConnection>
-