summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstasys10 <stasys.jurgaitis@est.tech>2022-03-02 13:30:31 +0000
committerMichael Morris <michael.morris@est.tech>2022-04-01 09:57:02 +0000
commit5e2be41744b4c682f5a8532b9c3a78eccf7372f4 (patch)
treeff0cc28fb8c83278ed35951c3b7459e06cfb3bd6
parent6e6d0d3f8ec7912e6696919ec307856c0804e039 (diff)
Add ASD artifact type to SDC AID model
Issue-ID: SDC-3948 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: I927f7d57dad12bfe06aee450675b4363998f58b1
-rw-r--r--catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.yml31
1 files changed, 31 insertions, 0 deletions
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