Package | Description |
---|---|
io.apicurio.registry.storage | |
io.apicurio.registry.storage.impl | |
io.apicurio.registry.util |
Modifier and Type | Method and Description |
---|---|
ArtifactMetaDataDto |
RegistryStorage.getArtifactMetaData(long id)
Gets the stored meta-data for an artifact by global ID.
|
ArtifactMetaDataDto |
RegistryStorage.getArtifactMetaData(String artifactId)
Gets the stored meta-data for an artifact by ID.
|
ArtifactMetaDataDto |
RegistryStorage.getArtifactMetaData(String artifactId,
ContentHandle content)
Gets the metadata of the version that matches content, or 404
|
static ArtifactMetaDataDto |
MetaDataKeys.toArtifactMetaData(Map<String,String> 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.
|
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 |
---|---|
protected ArtifactMetaDataDto |
AbstractMapRegistryStorage.createOrUpdateArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content,
boolean create,
long globalId) |
ArtifactMetaDataDto |
AbstractMapRegistryStorage.getArtifactMetaData(long id) |
ArtifactMetaDataDto |
AbstractMapRegistryStorage.getArtifactMetaData(String artifactId) |
ArtifactMetaDataDto |
AbstractMapRegistryStorage.getArtifactMetaData(String artifactId,
ContentHandle content) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<ArtifactMetaDataDto> |
AbstractMapRegistryStorage.createArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content) |
CompletionStage<ArtifactMetaDataDto> |
AbstractMapRegistryStorage.updateArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content) |
Modifier and Type | Method and Description |
---|---|
static ArtifactMetaData |
DtoUtil.dtoToMetaData(String artifactId,
ArtifactType artifactType,
ArtifactMetaDataDto dto)
Creates a jax-rs meta-data entity from the id, type, and storage meta-data.
|
static VersionMetaData |
DtoUtil.dtoToVersionMetaData(String artifactId,
ArtifactType artifactType,
ArtifactMetaDataDto dto)
Creates a jax-rs version meta-data entity from the id, type, and storage meta-data.
|
Copyright © 2020 Red Hat. All rights reserved.