Uses of Interface
io.apicurio.registry.content.ContentHandle
-
-
Uses of ContentHandle in io.apicurio.registry.ccompat.store
Methods in io.apicurio.registry.ccompat.store with parameters of type ContentHandle Modifier and Type Method Description SchemaInfoFacadeConverter. convert(ContentHandle content, ArtifactType artifactType) -
Uses of ContentHandle in io.apicurio.registry.content
Methods in io.apicurio.registry.content that return ContentHandle Modifier and Type Method Description static ContentHandleContentHandle. create(byte[] bytes)static ContentHandleContentHandle. create(InputStream stream)static ContentHandleContentHandle. create(String content)Methods in io.apicurio.registry.content with parameters of type ContentHandle Modifier and Type Method Description voidContentHandleMessageBodyWriter. writeTo(ContentHandle content, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) -
Uses of ContentHandle in io.apicurio.registry.content.canon
Methods in io.apicurio.registry.content.canon that return ContentHandle Modifier and Type Method Description ContentHandleAvroContentCanonicalizer. canonicalize(ContentHandle content)ContentHandleContentCanonicalizer. canonicalize(ContentHandle content)Called to convert the given content to its canonical form.ContentHandleGraphQLContentCanonicalizer. canonicalize(ContentHandle content)ContentHandleJsonContentCanonicalizer. canonicalize(ContentHandle content)ContentHandleNoOpContentCanonicalizer. canonicalize(ContentHandle content)ContentHandleProtobufContentCanonicalizer. canonicalize(ContentHandle content)ContentHandleXmlContentCanonicalizer. canonicalize(ContentHandle content)Methods in io.apicurio.registry.content.canon with parameters of type ContentHandle Modifier and Type Method Description ContentHandleAvroContentCanonicalizer. canonicalize(ContentHandle content)ContentHandleContentCanonicalizer. canonicalize(ContentHandle content)Called to convert the given content to its canonical form.ContentHandleGraphQLContentCanonicalizer. canonicalize(ContentHandle content)ContentHandleJsonContentCanonicalizer. canonicalize(ContentHandle content)ContentHandleNoOpContentCanonicalizer. canonicalize(ContentHandle content)ContentHandleProtobufContentCanonicalizer. canonicalize(ContentHandle content)ContentHandleXmlContentCanonicalizer. canonicalize(ContentHandle content) -
Uses of ContentHandle in io.apicurio.registry.content.extract
Methods in io.apicurio.registry.content.extract with parameters of type ContentHandle Modifier and Type Method Description ExtractedMetaDataAvroContentExtractor. extract(ContentHandle content)ExtractedMetaDataContentExtractor. extract(ContentHandle content)Extract metadata from content.ExtractedMetaDataJsonContentExtractor. extract(ContentHandle content)ExtractedMetaDataNoopContentExtractor. extract(ContentHandle content)ExtractedMetaDataOpenApiOrAsyncApiContentExtractor. extract(ContentHandle content)ExtractedMetaDataWsdlOrXsdContentExtractor. extract(ContentHandle content) -
Uses of ContentHandle in io.apicurio.registry.events
Methods in io.apicurio.registry.events that return ContentHandle Modifier and Type Method Description ContentHandleEventSourcedRegistryStorage. getArtifactByContentHash(String contentHash)ContentHandleEventSourcedRegistryStorage. getArtifactByContentId(long contentId)Methods in io.apicurio.registry.events with parameters of type ContentHandle Modifier and Type Method Description ArtifactMetaDataDtoEventSourcedRegistryStorage. createArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)ArtifactMetaDataDtoEventSourcedRegistryStorage. createArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData)ArtifactMetaDataDtoEventSourcedRegistryStorage. updateArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)ArtifactMetaDataDtoEventSourcedRegistryStorage. updateArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData) -
Uses of ContentHandle in io.apicurio.registry.mt.limits
Methods in io.apicurio.registry.mt.limits with parameters of type ContentHandle Modifier and Type Method Description ArtifactMetaDataDtoRegistryStorageLimitsEnforcer. createArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)ArtifactMetaDataDtoRegistryStorageLimitsEnforcer. createArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData)ArtifactMetaDataDtoRegistryStorageLimitsEnforcer. updateArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)ArtifactMetaDataDtoRegistryStorageLimitsEnforcer. updateArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData) -
Uses of ContentHandle in io.apicurio.registry.rest.v2
Methods in io.apicurio.registry.rest.v2 that return ContentHandle Modifier and Type Method Description protected ContentHandleSearchResourceImpl. canonicalizeContent(ArtifactType artifactType, ContentHandle content)Methods in io.apicurio.registry.rest.v2 with parameters of type ContentHandle Modifier and Type Method Description protected ContentHandleSearchResourceImpl. canonicalizeContent(ArtifactType artifactType, ContentHandle content) -
Uses of ContentHandle in io.apicurio.registry.rules
Methods in io.apicurio.registry.rules that return ContentHandle Modifier and Type Method Description ContentHandleRuleContext. getCurrentContent()ContentHandleRuleContext. getUpdatedContent()Methods in io.apicurio.registry.rules with parameters of type ContentHandle Modifier and Type Method Description voidRulesService. applyRule(String groupId, String artifactId, ArtifactType artifactType, ContentHandle artifactContent, RuleType ruleType, String ruleConfiguration, RuleApplicationType ruleApplicationType)Applies a single, specific rule to the content update for the given artifact.voidRulesServiceImpl. applyRule(String groupId, String artifactId, ArtifactType artifactType, ContentHandle artifactContent, RuleType ruleType, String ruleConfiguration, RuleApplicationType ruleApplicationType)voidRulesService. applyRules(String groupId, String artifactId, ArtifactType artifactType, ContentHandle artifactContent, RuleApplicationType ruleApplicationType)Applies all configured rules to check whether a content update for an artifact is allowed.voidRulesService. applyRules(String groupId, String artifactId, String artifactVersion, ArtifactType artifactType, ContentHandle updatedContent)Applies configured rules to the content update, relative to ANY artifact version.voidRulesServiceImpl. applyRules(String groupId, String artifactId, ArtifactType artifactType, ContentHandle artifactContent, RuleApplicationType ruleApplicationType)voidRulesServiceImpl. applyRules(String groupId, String artifactId, String artifactVersion, ArtifactType artifactType, ContentHandle updatedContent)Constructors in io.apicurio.registry.rules with parameters of type ContentHandle Constructor Description RuleContext(String groupId, String artifactId, ArtifactType artifactType, String configuration, ContentHandle currentContent, ContentHandle updatedContent)Constructor. -
Uses of ContentHandle in io.apicurio.registry.rules.compatibility
Methods in io.apicurio.registry.rules.compatibility with parameters of type ContentHandle Modifier and Type Method Description default CompatibilityExecutionResultCompatibilityChecker. testCompatibility(CompatibilityLevel compatibilityLevel, List<ContentHandle> existingArtifacts, ContentHandle proposedArtifact)Method parameters in io.apicurio.registry.rules.compatibility with type arguments of type ContentHandle Modifier and Type Method Description default CompatibilityExecutionResultCompatibilityChecker. testCompatibility(CompatibilityLevel compatibilityLevel, List<ContentHandle> existingArtifacts, ContentHandle proposedArtifact) -
Uses of ContentHandle in io.apicurio.registry.rules.validity
Methods in io.apicurio.registry.rules.validity with parameters of type ContentHandle Modifier and Type Method Description voidApicurioDataModelContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)voidAvroContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)voidContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)Called to validate the given content.voidGraphQLContentValidator. validate(ValidityLevel level, ContentHandle content)voidJsonSchemaContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)voidKafkaConnectContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)voidProtobufContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)voidWsdlContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)voidXmlContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)voidXsdContentValidator. validate(ValidityLevel level, ContentHandle artifactContent) -
Uses of ContentHandle in io.apicurio.registry.storage
Methods in io.apicurio.registry.storage that return ContentHandle Modifier and Type Method Description ContentHandleRegistryStorage. getArtifactByContentHash(String contentHash)Gets some artifact content by the SHA-256 hash of that content.ContentHandleRegistryStorage. getArtifactByContentId(long contentId)Gets some artifact content by the unique contentId.Methods in io.apicurio.registry.storage with parameters of type ContentHandle Modifier and Type Method Description ArtifactMetaDataDtoRegistryStorage. createArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)Creates a new artifact (from the given value) in the artifactStore.ArtifactMetaDataDtoRegistryStorage. createArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData)Creates a new artifact (from the given value including metadata) in the artifactStore.ArtifactVersionMetaDataDtoRegistryStorage. getArtifactVersionMetaData(String groupId, String artifactId, boolean canonical, ContentHandle content)Gets the metadata of the version that matches content.ArtifactMetaDataDtoRegistryStorage. updateArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)Updates the artifact value by storing the given value as a new version of the artifact.ArtifactMetaDataDtoRegistryStorage. updateArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData)Updates the artifact value by storing the given value and metadata as a new version of the artifact. -
Uses of ContentHandle in io.apicurio.registry.storage.decorator
Methods in io.apicurio.registry.storage.decorator that return ContentHandle Modifier and Type Method Description ContentHandleRegistryStorageDecorator. getArtifactByContentHash(String contentHash)ContentHandleRegistryStorageDecorator. getArtifactByContentId(long contentId)Methods in io.apicurio.registry.storage.decorator with parameters of type ContentHandle Modifier and Type Method Description ArtifactMetaDataDtoRegistryStorageDecorator. createArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)ArtifactMetaDataDtoRegistryStorageDecorator. createArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData)ArtifactVersionMetaDataDtoRegistryStorageDecorator. getArtifactVersionMetaData(String groupId, String artifactId, boolean canonical, ContentHandle content)ArtifactMetaDataDtoRegistryStorageDecorator. updateArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)ArtifactMetaDataDtoRegistryStorageDecorator. updateArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData) -
Uses of ContentHandle in io.apicurio.registry.storage.impl.sql
Methods in io.apicurio.registry.storage.impl.sql that return ContentHandle Modifier and Type Method Description protected ContentHandleAbstractSqlRegistryStorage. canonicalizeContent(ArtifactType artifactType, ContentHandle content)Canonicalize the given content, returns the content unchanged in the case of an error.ContentHandleAbstractSqlRegistryStorage. getArtifactByContentHash(String contentHash)ContentHandleAbstractSqlRegistryStorage. getArtifactByContentId(long contentId)Methods in io.apicurio.registry.storage.impl.sql with parameters of type ContentHandle Modifier and Type Method Description protected ContentHandleAbstractSqlRegistryStorage. canonicalizeContent(ArtifactType artifactType, ContentHandle content)Canonicalize the given content, returns the content unchanged in the case of an error.ArtifactMetaDataDtoAbstractSqlRegistryStorage. createArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)protected ArtifactMetaDataDtoAbstractSqlRegistryStorage. createArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, GlobalIdGenerator globalIdGenerator)ArtifactMetaDataDtoAbstractSqlRegistryStorage. createArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData)protected ArtifactMetaDataDtoAbstractSqlRegistryStorage. createArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData, GlobalIdGenerator globalIdGenerator)protected LongAbstractSqlRegistryStorage. createOrUpdateContent(Handle handle, ArtifactType artifactType, ContentHandle content)Store the content in the database and return the ID of the new row.protected EditableArtifactMetaDataDtoAbstractSqlRegistryStorage. extractMetaData(ArtifactType artifactType, ContentHandle content)ArtifactVersionMetaDataDtoAbstractSqlRegistryStorage. getArtifactVersionMetaData(String groupId, String artifactId, boolean canonical, ContentHandle content)ArtifactMetaDataDtoAbstractSqlRegistryStorage. updateArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)protected ArtifactMetaDataDtoAbstractSqlRegistryStorage. updateArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, GlobalIdGenerator globalIdGenerator)ArtifactMetaDataDtoAbstractSqlRegistryStorage. updateArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData)protected ArtifactMetaDataDtoAbstractSqlRegistryStorage. updateArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData, GlobalIdGenerator globalIdGenerator) -
Uses of ContentHandle in io.apicurio.registry.storage.impl.sql.mappers
Methods in io.apicurio.registry.storage.impl.sql.mappers that return ContentHandle Modifier and Type Method Description ContentHandleContentMapper. map(ResultSet rs) -
Uses of ContentHandle in io.apicurio.registry.util
Methods in io.apicurio.registry.util that return ContentHandle Modifier and Type Method Description static ContentHandleContentTypeUtil. yamlToJson(ContentHandle yaml)Methods in io.apicurio.registry.util with parameters of type ContentHandle Modifier and Type Method Description static ArtifactTypeArtifactTypeUtil. determineArtifactType(ContentHandle content, ArtifactType xArtifactType, String contentType)Figures out the artifact type in the following order of precedent:static ContentHandleContentTypeUtil. yamlToJson(ContentHandle yaml)
-