From 5e2be41744b4c682f5a8532b9c3a78eccf7372f4 Mon Sep 17 00:00:00 2001 From: stasys10 Date: Wed, 2 Mar 2022 13:30:31 +0000 Subject: Add ASD artifact type to SDC AID model Issue-ID: SDC-3948 Signed-off-by: stasys10 Change-Id: I927f7d57dad12bfe06aee450675b4363998f58b1 --- .../import/tosca/artifact-types/artifactTypes.yml | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'catalog-be/src/main/resources/import/tosca') diff --git a/catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.yml b/catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.yml index 0453fb7f16..ad9b37ed32 100644 --- a/catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.yml +++ b/catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.yml @@ -39,3 +39,34 @@ tosca.artifacts.File: derived_from: tosca.artifacts.Root description: This artifact type is used when an artifact definition needs to have its associated file simply treated as a file and no special handling/handlers are invoked (i.e., it is not treated as either an implementation or deployment artifact type). +tosca.artifacts.asd.deploymentItem: + version: 0.1 + derived_from: tosca.artifacts.Root + description: "Describes the artifact type of asd deployment item" + file: "URI or path of the artifact" + properties: + item_id: + description: "The identifier of this asd deployment item" + required: true + type: string + artifact_type: + description: > + Specify artifact type. + required: true + type: string + constraints: + - valid_values: ["helm_chart", "helmfile", "crd", "terraform" ] + deployment_order: + description: > + Specifies the deployment stage that the DeploymentArtifact belongs to. + A lower value specifies that the DeploymentArtifact belongs to an earlier + deployment stage. When this value is omitted, the deployment order + will be decided by the orchestrator. + required: false + type: integer + lifecycle_parameters: + description: "list of parameters that can be overridden at deployment time " + required: false + type: list + entry_schema: + type: string \ No newline at end of file -- cgit 1.2.3-korg