summaryrefslogtreecommitdiffstats
path: root/azure/aria/aria-extension-cloudify/src/aria/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/artifacts.yaml
blob: 945622f8c244faeef63a8b7446339237364af2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

artifact_types:

  tosca.artifacts.Root:
    _extensions:
      shorthand_name: Root # ARIA NOTE: omitted in the spec
      type_qualified_name: tosca:Root
      specification: tosca-simple-1.0
      specification_section: 5.3.1
      specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_ARTIFACTS_ROOT'
    description: >-
      This is the default (root) TOSCA Artifact Type definition that all other TOSCA base Artifact Types derive from.

  tosca.artifacts.File:
    _extensions:
      shorthand_name: File
      type_qualified_name: tosca:File
      specification: tosca-simple-1.0
      specification_section: 5.3.2
    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).
    derived_from: tosca.artifacts.Root

  #
  # Deployments
  #

  tosca.artifacts.Deployment:
    _extensions:
      shorthand_name: Deployment # ARIA NOTE: omitted in the spec
      type_qualified_name: tosca:Deployment
      specification: tosca-simple-1.0
      specification_section: 5.3.3.1
      specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_ARTIFACTS_DEPLOYMENT'
    description: >-
      This artifact type represents the parent type for all deployment artifacts in TOSCA. This class of artifacts typically
      represents a binary packaging of an application or service that is used to install/create or deploy it as part of a node's
      lifecycle.
    derived_from: tosca.artifacts.Root

  tosca.artifacts.Deployment.Image:
    _extensions:
      shorthand_name: Deployment.Image
      type_qualified_name: tosca:Deployment.Image
      specification: tosca-simple-1.0
      specification_section: 5.3.3.3
      specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_ARTIFACTS_DEPLOYMENT_IMAGE'
    description: >-
      This artifact type represents a parent type for any "image" which is an opaque packaging of a TOSCA Node's deployment
      (whether real or virtual) whose contents are typically already installed and pre-configured (i.e., "stateful") and prepared
      to be run on a known target container.
    derived_from: tosca.artifacts.Deployment

  tosca.artifacts.Deployment.Image.VM:
    _extensions:
      shorthand_name: Deployment.VM # ARIA NOTE: omitted in the spec
      type_qualified_name: tosca:Deployment.VM
      specification: tosca-simple-1.0
      specification_section: 5.3.3.4
      specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_ARTIFACTS_DEPLOY_IMAGE_VM'
    description: >-
      This artifact represents the parent type for all Virtual Machine (VM) image and container formatted deployment artifacts.
      These images contain a stateful capture of a machine (e.g., server) including operating system and installed software along
      with any configurations and can be run on another machine using a hypervisor which virtualizes typical server (i.e.,
      hardware) resources.
    derived_from: tosca.artifacts.Deployment

  #
  # Implementations
  #

  tosca.artifacts.Implementation:
    _extensions:
      shorthand_name: Implementation # ARIA NOTE: omitted in the spec
      type_qualified_name: tosca:Implementation
      specification: tosca-simple-1.0
      specification_section: 5.3.4.1
      specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_ARTIFACTS_IMPLEMENTATION'
    description: >-
      This artifact type represents the parent type for all implementation artifacts in TOSCA. These artifacts are used to
      implement operations of TOSCA interfaces either directly (e.g., scripts) or indirectly (e.g., config. files).
    derived_from: tosca.artifacts.Root

  tosca.artifacts.Implementation.Bash:
    _extensions:
      shorthand_name: Implementation.Bash # ARIA NOTE: mistake in spec? shouldn't we have "Implementation." as prefix?
      type_qualified_name: tosca:Implementation.Bash
      specification: tosca-simple-1.0
      specification_section: 5.3.4.3
    description: >-
      This artifact type represents a Bash script type that contains Bash commands that can be executed on the Unix Bash shell.
    derived_from: tosca.artifacts.Implementation
    mime_type: application/x-sh
    file_ext: [ sh ]

  tosca.artifacts.Implementation.Python:
    _extensions:
      shorthand_name: Implementation.Python # ARIA NOTE: mistake in spec? shouldn't we have "Implementation." as prefix?
      type_qualified_name: tosca:Implementation.Python
      specification: tosca-simple-1.0
      specification_section: 5.3.4.4
    description: >-
      This artifact type represents a Python file that contains Python language constructs that can be executed within a Python
      interpreter.
    derived_from: tosca.artifacts.Implementation
    mime_type: application/x-python
    file_ext: [ py ]