RegisterArtifact

A DSL structure representing the register action specifics.

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
@get:Input
var canonicalize: Boolean = false

Parameter that can be set to true to indicate that the server should "canonicalize" the content when searching for matching artifacts. Canonicalization is unique to each artifact type, but typically involves removing any extra whitespace and formatting the content in a consistent manner. Must be used along with the type query parameter.

Link copied to clipboard
@get:Input
@get:Optional
var conflictHandleType: String? = null

The behaviour of what should happen when the artifact already exists on the schema registry. Defaults to register failure. See ConflictHandleType for more options.

Link copied to clipboard
@get:Input
@get:Optional
var description: String? = null

An optional description which is to be assigned to the artifact.

Link copied to clipboard
@get:Input
@get:Optional
var groupId: String? = null

The specific group ID from the schema registry. Default group ID is applied if omitted.

Link copied to clipboard
@get:Input
lateinit var id: String

The corresponding artifact ID from the schema registry.

Link copied to clipboard
@get:Input
lateinit var name: String

The name of the artifact.

Link copied to clipboard
@get:Input
lateinit var path: String

The directory where the local artifact file is located in.

Link copied to clipboard
@get:Input
lateinit var type: String

The artifact type which matches the local artifact file. See ArtifactType for supported values.

Link copied to clipboard
@get:Input
@get:Optional
var version: String? = null

The specific version from the schema registry. The latest version is considered implicitly if omitted.