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 SchemaContent
FacadeConverter. convert(ContentHandle content)
-
Uses of ContentHandle in io.apicurio.registry.content
Methods in io.apicurio.registry.content that return ContentHandle Modifier and Type Method Description static ContentHandle
ContentHandle. create(byte[] bytes)
static ContentHandle
ContentHandle. create(InputStream stream)
static ContentHandle
ContentHandle. create(String content)
Methods in io.apicurio.registry.content with parameters of type ContentHandle Modifier and Type Method Description void
ContentHandleMessageBodyWriter. 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 ContentHandle
AvroContentCanonicalizer. canonicalize(ContentHandle content)
ContentHandle
ContentCanonicalizer. canonicalize(ContentHandle content)
Called to convert the given content to its canonical form.ContentHandle
GraphQLContentCanonicalizer. canonicalize(ContentHandle content)
ContentHandle
JsonContentCanonicalizer. canonicalize(ContentHandle content)
ContentHandle
NoOpContentCanonicalizer. canonicalize(ContentHandle content)
ContentHandle
XmlContentCanonicalizer. canonicalize(ContentHandle content)
Methods in io.apicurio.registry.content.canon with parameters of type ContentHandle Modifier and Type Method Description ContentHandle
AvroContentCanonicalizer. canonicalize(ContentHandle content)
ContentHandle
ContentCanonicalizer. canonicalize(ContentHandle content)
Called to convert the given content to its canonical form.ContentHandle
GraphQLContentCanonicalizer. canonicalize(ContentHandle content)
ContentHandle
JsonContentCanonicalizer. canonicalize(ContentHandle content)
ContentHandle
NoOpContentCanonicalizer. canonicalize(ContentHandle content)
ContentHandle
XmlContentCanonicalizer. 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 ExtractedMetaData
AvroContentExtractor. extract(ContentHandle content)
ExtractedMetaData
ContentExtractor. extract(ContentHandle content)
Extract metadata from content.ExtractedMetaData
JsonContentExtractor. extract(ContentHandle content)
ExtractedMetaData
NoopContentExtractor. extract(ContentHandle content)
ExtractedMetaData
OpenApiOrAsyncApiContentExtractor. extract(ContentHandle content)
ExtractedMetaData
WsdlOrXsdContentExtractor. 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 ContentHandle
EventSourcedRegistryStorage. getArtifactByContentHash(String contentHash)
ContentHandle
EventSourcedRegistryStorage. getArtifactByContentId(long contentId)
-
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 ContentHandle
SearchResourceImpl. canonicalizeContent(ArtifactType artifactType, ContentHandle content)
Methods in io.apicurio.registry.rest.v2 with parameters of type ContentHandle Modifier and Type Method Description protected ContentHandle
SearchResourceImpl. 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 ContentHandle
RuleContext. getCurrentContent()
ContentHandle
RuleContext. getUpdatedContent()
Methods in io.apicurio.registry.rules with parameters of type ContentHandle Modifier and Type Method Description void
RulesService. 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.void
RulesServiceImpl. applyRule(String groupId, String artifactId, ArtifactType artifactType, ContentHandle artifactContent, RuleType ruleType, String ruleConfiguration, RuleApplicationType ruleApplicationType)
void
RulesService. 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.void
RulesService. applyRules(String groupId, String artifactId, String artifactVersion, ArtifactType artifactType, ContentHandle updatedContent)
Applies configured rules to the content update, relative to ANY artifact version.void
RulesServiceImpl. applyRules(String groupId, String artifactId, ArtifactType artifactType, ContentHandle artifactContent, RuleApplicationType ruleApplicationType)
void
RulesServiceImpl. 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 CompatibilityExecutionResult
CompatibilityChecker. 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 CompatibilityExecutionResult
CompatibilityChecker. 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 void
ApicurioDataModelContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)
void
AvroContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)
void
ContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)
Called to validate the given content.void
GraphQLContentValidator. validate(ValidityLevel level, ContentHandle content)
void
JsonSchemaContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)
void
KafkaConnectContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)
void
ProtobufContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)
void
WsdlContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)
void
XmlContentValidator. validate(ValidityLevel level, ContentHandle artifactContent)
void
XsdContentValidator. 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 ContentHandle
RegistryStorage. getArtifactByContentHash(String contentHash)
Gets some artifact content by the SHA-256 hash of that content.ContentHandle
RegistryStorage. 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 CompletionStage<ArtifactMetaDataDto>
RegistryStorage. createArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)
Creates a new artifact (from the given value) in the artifactStore.CompletionStage<ArtifactMetaDataDto>
RegistryStorage. 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.ArtifactVersionMetaDataDto
RegistryStorage. getArtifactVersionMetaData(String groupId, String artifactId, boolean canonical, ContentHandle content)
Gets the metadata of the version that matches content.CompletionStage<ArtifactMetaDataDto>
RegistryStorage. 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.CompletionStage<ArtifactMetaDataDto>
RegistryStorage. 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.impl.sql
Methods in io.apicurio.registry.storage.impl.sql that return ContentHandle Modifier and Type Method Description protected ContentHandle
AbstractSqlRegistryStorage. canonicalizeContent(ArtifactType artifactType, ContentHandle content)
Canonicalize the given content, returns the content unchanged in the case of an error.ContentHandle
AbstractSqlRegistryStorage. getArtifactByContentHash(String contentHash)
ContentHandle
AbstractSqlRegistryStorage. getArtifactByContentId(long contentId)
Methods in io.apicurio.registry.storage.impl.sql with parameters of type ContentHandle Modifier and Type Method Description protected ContentHandle
AbstractSqlRegistryStorage. canonicalizeContent(ArtifactType artifactType, ContentHandle content)
Canonicalize the given content, returns the content unchanged in the case of an error.CompletionStage<ArtifactMetaDataDto>
AbstractSqlRegistryStorage. createArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)
protected CompletionStage<ArtifactMetaDataDto>
AbstractSqlRegistryStorage. createArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, GlobalIdGenerator globalIdGenerator)
CompletionStage<ArtifactMetaDataDto>
AbstractSqlRegistryStorage. createArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData)
protected CompletionStage<ArtifactMetaDataDto>
AbstractSqlRegistryStorage. createArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData, GlobalIdGenerator globalIdGenerator)
protected Long
AbstractSqlRegistryStorage. createOrUpdateContent(org.jdbi.v3.core.Handle handle, ArtifactType artifactType, ContentHandle content)
Store the content in the database and return the ID of the new row.protected EditableArtifactMetaDataDto
AbstractSqlRegistryStorage. extractMetaData(ArtifactType artifactType, ContentHandle content)
ArtifactVersionMetaDataDto
AbstractSqlRegistryStorage. getArtifactVersionMetaData(String groupId, String artifactId, boolean canonical, ContentHandle content)
CompletionStage<ArtifactMetaDataDto>
AbstractSqlRegistryStorage. updateArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content)
protected CompletionStage<ArtifactMetaDataDto>
AbstractSqlRegistryStorage. updateArtifact(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, GlobalIdGenerator globalIdGenerator)
CompletionStage<ArtifactMetaDataDto>
AbstractSqlRegistryStorage. updateArtifactWithMetadata(String groupId, String artifactId, String version, ArtifactType artifactType, ContentHandle content, EditableArtifactMetaDataDto metaData)
protected CompletionStage<ArtifactMetaDataDto>
AbstractSqlRegistryStorage. 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 ContentHandle
ContentMapper. map(ResultSet rs, org.jdbi.v3.core.statement.StatementContext ctx)
-
Uses of ContentHandle in io.apicurio.registry.util
Methods in io.apicurio.registry.util that return ContentHandle Modifier and Type Method Description static ContentHandle
ContentTypeUtil. yamlToJson(ContentHandle yaml)
Methods in io.apicurio.registry.util with parameters of type ContentHandle Modifier and Type Method Description static ArtifactType
ArtifactTypeUtil. discoverType(ContentHandle content, String contentType)
Method that discovers the artifact type from the raw content of an artifact.static ContentHandle
ContentTypeUtil. yamlToJson(ContentHandle yaml)
-