Add helm artifacts in the CSAR package
[nonrtric/plt/rappmanager.git] / sample-rapp-generator / rapp-all / Definitions / asd_types.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_2
2 description: ASD types definitions version 0.1
3 node_types:
4   tosca.nodes.asd:
5     derived_from: tosca.nodes.Root
6     description: "The ASD node type"
7     version: 0.1
8     properties:
9       descriptor_id:
10         type: string # UUID
11         required: true
12         description: Identifier of this ASD. It is in UUID format as specified in RFC 4122
13       descriptor_invariant_id:
14         type: string # UUID
15         required: true
16         description: >
17           Identifier of this descriptor in a version independent manner. This attribute
18           is invariant across versions of ASD. It is in UUID format as specified in RFC 4122
19       descriptor_version:
20         type: string
21         required: true
22         description: Identifies the version of the ASD.
23       schema_version:
24         type: string
25         required: true
26         description: Identifies the Identifies the version of this ASD’s schema.
27       function_description:
28         type: string
29         required: false
30         description: Description of the application service described by this ASD.
31       provider:
32         type: string
33         required: true
34         description: Identifies the provider of the ASD.
35       application_name:
36         type: string
37         required: true
38         description: Name to identify the application service described by this ASD
39       application_version:
40         type: string
41         required: true
42         description: Identifies the version of the application service described by this ASD.
43
44 artifact_types:
45 tosca.artifacts.asd.deploymentItem:
46     version: 0.1
47     derived_from: tosca.artifacts.Root
48     description: "Describes the artifact type of asd deployment item"
49     file: "Relative path of the artifact in the package"
50     properties:
51         item_id:
52             description: "The identifier of this asd deployment item"
53             required: true
54             type: string
55         artifact_type:
56             description: >
57                 Specify artifact type.
58             required: true
59             type: string
60             constraints:
61                 - valid_values: ["helm_chart"]