Modifier and Type | Method and Description |
---|---|
ContentHandle |
ContentCanonicalizer.canonicalize(ContentHandle content)
Called to convert the given content to its canonical form.
|
static ContentHandle |
ContentHandle.create(byte[] bytes) |
static ContentHandle |
ContentHandle.create(InputStream stream) |
static ContentHandle |
ContentHandle.create(String content) |
Modifier and Type | Method and Description |
---|---|
ContentHandle |
ContentCanonicalizer.canonicalize(ContentHandle content)
Called to convert the given content to its canonical form.
|
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) |
Modifier and Type | Method and Description |
---|---|
ContentHandle |
NoOpContentCanonicalizer.canonicalize(ContentHandle content) |
ContentHandle |
JsonContentCanonicalizer.canonicalize(ContentHandle content) |
ContentHandle |
GraphQLContentCanonicalizer.canonicalize(ContentHandle content) |
ContentHandle |
AvroContentCanonicalizer.canonicalize(ContentHandle content) |
Modifier and Type | Method and Description |
---|---|
ContentHandle |
NoOpContentCanonicalizer.canonicalize(ContentHandle content) |
ContentHandle |
JsonContentCanonicalizer.canonicalize(ContentHandle content) |
ContentHandle |
GraphQLContentCanonicalizer.canonicalize(ContentHandle content) |
ContentHandle |
AvroContentCanonicalizer.canonicalize(ContentHandle content) |
Modifier and Type | Method and Description |
---|---|
ContentHandle |
RuleContext.getCurrentContent() |
ContentHandle |
RuleContext.getUpdatedContent() |
Modifier and Type | Method and Description |
---|---|
void |
RulesServiceImpl.applyRule(String artifactId,
ArtifactType artifactType,
ContentHandle artifactContent,
RuleType ruleType,
String ruleConfiguration,
RuleApplicationType ruleApplicationType) |
void |
RulesService.applyRule(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.applyRules(String artifactId,
ArtifactType artifactType,
ContentHandle artifactContent,
RuleApplicationType ruleApplicationType) |
void |
RulesService.applyRules(String artifactId,
ArtifactType artifactType,
ContentHandle artifactContent,
RuleApplicationType ruleApplicationType)
Applies all configured rules to check whether a content update for an artifact is allowed.
|
Constructor and Description |
---|
RuleContext(String artifactId,
ArtifactType artifactType,
String configuration,
ContentHandle currentContent,
ContentHandle updatedContent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProtobufFdArtifactTypeAdapter.isCompatibleWith(CompatibilityLevel compatibilityLevel,
List<ContentHandle> existingArtifacts,
ContentHandle proposedArtifact) |
default boolean |
ArtifactTypeAdapter.isCompatibleWith(CompatibilityLevel compatibilityLevel,
List<ContentHandle> existingArtifacts,
ContentHandle proposedArtifact) |
Modifier and Type | Method and Description |
---|---|
boolean |
ProtobufFdArtifactTypeAdapter.isCompatibleWith(CompatibilityLevel compatibilityLevel,
List<ContentHandle> existingArtifacts,
ContentHandle proposedArtifact) |
default boolean |
ArtifactTypeAdapter.isCompatibleWith(CompatibilityLevel compatibilityLevel,
List<ContentHandle> existingArtifacts,
ContentHandle proposedArtifact) |
Modifier and Type | Method and Description |
---|---|
void |
ProtobufFdContentValidator.validate(ValidityLevel level,
ContentHandle artifactContent) |
void |
ProtobufContentValidator.validate(ValidityLevel level,
ContentHandle artifactContent) |
void |
KafkaConnectContentValidator.validate(ValidityLevel level,
ContentHandle artifactContent) |
void |
JsonSchemaContentValidator.validate(ValidityLevel level,
ContentHandle artifactContent) |
void |
GraphQLContentValidator.validate(ValidityLevel level,
ContentHandle content) |
void |
ContentValidator.validate(ValidityLevel level,
ContentHandle artifactContent)
Called to validate the given content.
|
void |
AvroContentValidator.validate(ValidityLevel level,
ContentHandle artifactContent) |
void |
ApicurioDataModelContentValidator.validate(ValidityLevel level,
ContentHandle artifactContent) |
Modifier and Type | Field and Description |
---|---|
ContentHandle |
StoredArtifact.content |
Modifier and Type | Method and Description |
---|---|
CompletionStage<ArtifactMetaDataDto> |
RegistryStorage.createArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content)
Creates a new artifact (from the given value) in the storage.
|
ArtifactMetaDataDto |
RegistryStorage.getArtifactMetaData(String artifactId,
ContentHandle content)
Gets the metadata of the version that matches content, or 404
|
CompletionStage<ArtifactMetaDataDto> |
RegistryStorage.updateArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content)
Updates the artifact value by storing the given value as a new version of the artifact.
|
Modifier and Type | Method and Description |
---|---|
CompletionStage<ArtifactMetaDataDto> |
AbstractMapRegistryStorage.createArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content) |
protected ArtifactMetaDataDto |
AbstractMapRegistryStorage.createOrUpdateArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content,
boolean create,
long globalId) |
ArtifactMetaDataDto |
AbstractMapRegistryStorage.getArtifactMetaData(String artifactId,
ContentHandle content) |
CompletionStage<ArtifactMetaDataDto> |
AbstractMapRegistryStorage.updateArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content) |
Modifier and Type | Method and Description |
---|---|
static ArtifactType |
ArtifactTypeUtil.discoverType(ContentHandle content,
String contentType)
Method that discovers the artifact type from the raw content of an artifact.
|
Copyright © 2020 Red Hat. All rights reserved.