Incorporate the ECOMP SDC Artefact Generator code
[aai/babel.git] / src / test / resources / ymlFiles / artifacts.yml
1 #
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 #      http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13 #
14
15 tosca_definitions_version: tosca_simple_yaml_1_0
16
17 #metadata:
18 #  filename: tosca/artifacts.yml
19 #  version: '1.0'
20   
21 imports:
22 - data.yml  
23
24 artifact_types:
25   tosca.artifacts.Root:
26     description: This is the default (root) TOSCA Artifact Type definition that all other TOSCA base Artifact Types derive from.
27
28   tosca.artifacts.Deployment.Image:
29     derived_from: tosca.artifacts.Deployment
30     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.
31
32   tosca.artifacts.Implementation.Bash:
33     derived_from: tosca.artifacts.Implementation
34     description: This artifact type represents a Bash script type that contains Bash commands that can be executed on the Unix Bash shell.
35
36   tosca.artifacts.Deployment.Image.VM:
37     derived_from: tosca.artifacts.Deployment
38     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.
39
40   tosca.artifacts.Implementation.Python:
41     derived_from: tosca.artifacts.Implementation
42     description: This artifact type represents a Python file that contains Python language constructs that can be executed within a Python interpreter.
43
44   tosca.artifacts.Deployment:
45     derived_from: tosca.artifacts.Root
46     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.
47
48   tosca.artifacts.File:
49     derived_from: tosca.artifacts.Root
50     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).
51
52   tosca.artifacts.Implementation:
53     derived_from: tosca.artifacts.Root
54     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).