Package io.apicurio.registry.rest.v2
Class SearchResourceImpl
- java.lang.Object
-
- io.apicurio.registry.rest.v2.SearchResourceImpl
-
- All Implemented Interfaces:
SearchResource
@ApplicationScoped @Counted(name="rest_request_count", description="Total number of REST requests.", tags={"group=REST","metric=rest_request_count"}) @ConcurrentGauge(name="concurrent_request_count", description="Number of concurrent REST requests.", tags={"group=REST","metric=concurrent_request_count"}) @Timed(name="rest_response_time", description="Time of a request-response interval.", tags={"group=REST","metric=rest_response_time"}, unit="milliseconds") public class SearchResourceImpl extends Object implements SearchResource
- Author:
- eric.wittmann@gmail.com
-
-
Constructor Summary
Constructors Constructor Description SearchResourceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ContentHandle
canonicalizeContent(ArtifactType artifactType, ContentHandle content)
ArtifactSearchResults
searchArtifacts(String name, Integer offset, Integer limit, SortOrder order, SortBy orderby, List<String> labels, List<String> properties, String description, String group)
ArtifactSearchResults
searchArtifactsByContent(Boolean canonical, ArtifactType artifactType, Integer offset, Integer limit, SortOrder order, SortBy orderby, InputStream data)
-
-
-
Method Detail
-
searchArtifacts
public ArtifactSearchResults searchArtifacts(String name, Integer offset, Integer limit, SortOrder order, SortBy orderby, List<String> labels, List<String> properties, String description, String group)
- Specified by:
searchArtifacts
in interfaceSearchResource
- See Also:
SearchResource.searchArtifacts(java.lang.String, java.lang.Integer, java.lang.Integer, io.apicurio.registry.rest.v2.beans.SortOrder, io.apicurio.registry.rest.v2.beans.SortBy, java.util.List, java.util.List, java.lang.String, java.lang.String)
-
searchArtifactsByContent
public ArtifactSearchResults searchArtifactsByContent(Boolean canonical, ArtifactType artifactType, Integer offset, Integer limit, SortOrder order, SortBy orderby, InputStream data)
- Specified by:
searchArtifactsByContent
in interfaceSearchResource
- See Also:
SearchResource.searchArtifactsByContent(java.lang.Boolean, io.apicurio.registry.types.ArtifactType, java.lang.Integer, java.lang.Integer, io.apicurio.registry.rest.v2.beans.SortOrder, io.apicurio.registry.rest.v2.beans.SortBy, java.io.InputStream)
-
canonicalizeContent
protected ContentHandle canonicalizeContent(ArtifactType artifactType, ContentHandle content)
-
-