Add ASD artifact type to SDC AID model 36/128236/2
authorstasys10 <stasys.jurgaitis@est.tech>
Wed, 2 Mar 2022 13:30:31 +0000 (13:30 +0000)
committerMichael Morris <michael.morris@est.tech>
Fri, 1 Apr 2022 09:57:02 +0000 (09:57 +0000)
Issue-ID: SDC-3948
Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
Change-Id: I927f7d57dad12bfe06aee450675b4363998f58b1

catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.yml

index 0453fb7..ad9b37e 100644 (file)
@@ -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