fix tosca template bugs
[modeling/etsicatalog.git] / catalog / pub / utils / toscaparser / testdata / ns / service-vims / Definitions / 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 tosca_definitions_version: tosca_simple_yaml_1_1
15 imports:
16 - data.yml
17 artifact_types:
18   tosca.artifacts.Root:
19     description: This is the default (root) TOSCA Artifact Type definition that all other TOSCA base Artifact Types derive from.
20   tosca.artifacts.Deployment.Image:
21     derived_from: tosca.artifacts.Deployment
22     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.
23   tosca.artifacts.Implementation.Bash:
24     derived_from: tosca.artifacts.Implementation
25     description: This artifact type represents a Bash script type that contains Bash commands that can be executed on the Unix Bash shell.
26   tosca.artifacts.Deployment.Image.VM:
27     derived_from: tosca.artifacts.Deployment
28     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.
29   tosca.artifacts.Implementation.Python:
30     derived_from: tosca.artifacts.Implementation
31     description: This artifact type represents a Python file that contains Python language constructs that can be executed within a Python interpreter.
32   tosca.artifacts.Deployment:
33     derived_from: tosca.artifacts.Root
34     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.
35   tosca.artifacts.File:
36     derived_from: tosca.artifacts.Root
37     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).
38   tosca.artifacts.Implementation:
39     derived_from: tosca.artifacts.Root
40     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).