http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/hello-world/scripts/stop.sh ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/hello-world/scripts/stop.sh b/apache-ariatosca-0.1.1/examples/hello-world/scripts/stop.sh deleted file mode 100755 index e393dbf..0000000 --- a/apache-ariatosca-0.1.1/examples/hello-world/scripts/stop.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -# 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. - -set -e - -TEMP_DIR="/tmp" -PYTHON_FILE_SERVER_ROOT=${TEMP_DIR}/python-simple-http-webserver -PID_FILE="server.pid" - -PID=`cat ${PYTHON_FILE_SERVER_ROOT}/${PID_FILE}` - -ctx logger info "Shutting down file server. pid = ${PID}" -kill -9 ${PID} || exit $? - -ctx logger info "Deleting file server root directory (${PYTHON_FILE_SERVER_ROOT})" -rm -rf ${PYTHON_FILE_SERVER_ROOT}
http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-1/block-storage-1.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-1/block-storage-1.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-1/block-storage-1.yaml deleted file mode 100644 index b912fb2..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-1/block-storage-1.yaml +++ /dev/null @@ -1,68 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with server and attached block storage using the normative AttachesTo - Relationship Type. - -metadata: - template_name: block-storage-1 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -topology_template: - - inputs: - cpus: - type: integer - description: Number of CPUs for the server. - constraints: - - valid_values: [ 1, 2, 4, 8 ] - storage_size: - type: scalar-unit.size - description: Size of the storage to be created. - default: 1 GB - storage_snapshot_id: - type: string - description: >- - Optional identifier for an existing snapshot to use when creating storage. - storage_location: - type: string - description: Block storage mount point (filesystem path). - - node_templates: - - my_server: - type: Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: { get_input: cpus } - mem_size: 1 GB - os: - properties: - architecture: x86_64 - type: linux - distribution: fedora - version: 18.0 - requirements: - - local_storage: - node: my_storage - relationship: - type: AttachesTo - properties: - location: { get_input: storage_location } - - my_storage: - type: BlockStorage - properties: - size: { get_input: storage_size } - snapshot_id: { get_input: storage_snapshot_id } - - outputs: - private_ip: - description: The private IP address of the newly created compute instance. - value: { get_attribute: [ my_server, private_address ] } - volume_id: - description: The volume id of the block storage instance. - value: { get_property: [ my_storage, volume_id ] } # ARIA NOTE: wrong in spec http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-1/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-1/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-1/inputs.yaml deleted file mode 100644 index d0b0854..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-1/inputs.yaml +++ /dev/null @@ -1,3 +0,0 @@ -storage_snapshot_id: "snapshot-id" -storage_location: /mnt -cpus: 4 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-2/block-storage-2.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-2/block-storage-2.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-2/block-storage-2.yaml deleted file mode 100644 index ac475cf..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-2/block-storage-2.yaml +++ /dev/null @@ -1,75 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with server and attached block storage using a custom AttachesTo Relationship - Type. - -metadata: - template_name: block-storage-2 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -relationship_types: - - MyCustomAttachesTo: - derived_from: AttachesTo - -topology_template: - - inputs: - cpus: - type: integer - description: Number of CPUs for the server. - constraints: - - valid_values: [ 1, 2, 4, 8 ] - storage_size: - type: scalar-unit.size - description: Size of the storage to be created. - default: 1 GB - storage_snapshot_id: - type: string - description: >- - Optional identifier for an existing snapshot to use when creating storage. - storage_location: - type: string - description: Block storage mount point (filesystem path). - - node_templates: - - my_server: - type: Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: { get_input: cpus } - mem_size: 4 GB - os: - properties: - architecture: x86_64 - type: Linux - distribution: Fedora - version: 18.0 - requirements: - - local_storage: - node: my_storage - # Declare custom AttachesTo type using the 'relationship' keyword - relationship: - type: MyCustomAttachesTo - properties: - location: { get_input: storage_location } - - my_storage: - type: BlockStorage - properties: - size: { get_input: storage_size } - snapshot_id: { get_input: storage_snapshot_id } - - outputs: - private_ip: - description: The private IP address of the newly created compute instance. - value: { get_attribute: [ my_server, private_address ] } - - volume_id: - description: The volume id of the block storage instance. - value: { get_property: [ my_storage, volume_id ] } # ARIA NOTE: wrong in spec http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-2/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-2/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-2/inputs.yaml deleted file mode 100644 index d0b0854..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-2/inputs.yaml +++ /dev/null @@ -1,3 +0,0 @@ -storage_snapshot_id: "snapshot-id" -storage_location: /mnt -cpus: 4 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-3/block-storage-3.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-3/block-storage-3.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-3/block-storage-3.yaml deleted file mode 100644 index c3f183e..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-3/block-storage-3.yaml +++ /dev/null @@ -1,68 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with server and attached block storage using a named Relationship Template - for the storage attachment. - -metadata: - template_name: block-storage-3 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -topology_template: - - inputs: - cpus: - type: integer - description: Number of CPUs for the server. - constraints: - - valid_values: [ 1, 2, 4, 8 ] - storage_size: - type: scalar-unit.size - description: Size of the storage to be created. - default: 1 GB - storage_location: - type: string - description: Block storage mount point (filesystem path). - - node_templates: - - my_server: - type: Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: { get_input: cpus } - mem_size: 4 GB - os: - properties: - architecture: x86_64 - type: Linux - distribution: Fedora - version: 18.0 - requirements: - - local_storage: - node: my_storage - # Declare template to use with 'relationship' keyword - relationship: storage_attachment - - my_storage: - type: BlockStorage - properties: - size: { get_input: storage_size } - - relationship_templates: - - storage_attachment: - type: AttachesTo - properties: - location: { get_input: storage_location } - - outputs: - private_ip: - description: The private IP address of the newly created compute instance. - value: { get_attribute: [ my_server, private_address ] } - volume_id: - description: The volume id of the block storage instance. - value: { get_property: [ my_storage, volume_id ] } # ARIA NOTE: wrong in spec http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-3/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-3/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-3/inputs.yaml deleted file mode 100644 index daca041..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-3/inputs.yaml +++ /dev/null @@ -1,2 +0,0 @@ -storage_location: /mnt -cpus: 4 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-4/block-storage-4.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-4/block-storage-4.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-4/block-storage-4.yaml deleted file mode 100644 index e2bdb9f..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-4/block-storage-4.yaml +++ /dev/null @@ -1,96 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with a Single Block Storage node shared by 2-Tier Application with custom - AttachesTo Type and implied relationships. - -metadata: - template_name: block-storage-4 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -relationship_types: - - MyAttachesTo: - derived_from: tosca.relationships.AttachesTo - properties: - location: - type: string - default: /default_location - -topology_template: - - inputs: - cpus: - type: integer - description: Number of CPUs for the server. - constraints: - - valid_values: [ 1, 2, 4, 8 ] - storage_size: - type: scalar-unit.size - default: 1 GB - description: Size of the storage to be created. - storage_snapshot_id: - type: string - description: >- - Optional identifier for an existing snapshot to use when creating storage. - - node_templates: - - my_web_app_tier_1: - type: tosca.nodes.Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: { get_input: cpus } - mem_size: 4096 MB - os: - properties: - architecture: x86_64 - type: Linux - distribution: Fedora - version: 18.0 - requirements: - - local_storage: - node: my_storage - relationship: MyAttachesTo - - my_web_app_tier_2: - type: tosca.nodes.Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: { get_input: cpus } - mem_size: 4096 MB - os: - properties: - architecture: x86_64 - type: Linux - distribution: Fedora - version: 18.0 - requirements: - - local_storage: - node: my_storage - relationship: - type: MyAttachesTo - properties: - location: /some_other_data_location - - my_storage: - type: tosca.nodes.BlockStorage - properties: - size: { get_input: storage_size } - snapshot_id: { get_input: storage_snapshot_id } - - outputs: - private_ip_1: - description: The private IP address of the application's first tier. - value: { get_attribute: [ my_web_app_tier_1, private_address ] } - private_ip_2: - description: The private IP address of the application's second tier. - value: { get_attribute: [ my_web_app_tier_2, private_address ] } - volume_id: - description: The volume id of the block storage instance. - value: { get_property: [ my_storage, volume_id ] } # ARIA NOTE: wrong in spec http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-4/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-4/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-4/inputs.yaml deleted file mode 100644 index 18e457d..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-4/inputs.yaml +++ /dev/null @@ -1,2 +0,0 @@ -storage_snapshot_id: "snapshot-id" -cpus: 4 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-5/block-storage-5.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-5/block-storage-5.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-5/block-storage-5.yaml deleted file mode 100644 index a0c2229..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-5/block-storage-5.yaml +++ /dev/null @@ -1,109 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with a single Block Storage node shared by 2-Tier Application with custom - AttachesTo Type and explicit Relationship Templates. - -metadata: - template_name: block-storage-5 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -relationship_types: - - MyAttachesTo: - derived_from: tosca.relationships.AttachesTo - properties: - location: - type: string - default: /default_location - -topology_template: - - inputs: - cpus: - type: integer - description: Number of CPUs for the server. - constraints: - - valid_values: [ 1, 2, 4, 8 ] - storage_size: - type: scalar-unit.size - default: 1 GB - description: Size of the storage to be created. - storage_snapshot_id: - type: string - description: >- - Optional identifier for an existing snapshot to use when creating storage. - storage_location: - type: string - description: >- - Block storage mount point (filesystem path). - - node_templates: - - my_web_app_tier_1: - type: tosca.nodes.Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: { get_input: cpus } - mem_size: 4096 MB - os: - properties: - architecture: x86_64 - type: Linux - distribution: Fedora - version: 18.0 - requirements: - - local_storage: - node: my_storage - relationship: storage_attachesto_1 - - my_web_app_tier_2: - type: tosca.nodes.Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: { get_input: cpus } - mem_size: 4096 MB - os: - properties: - architecture: x86_64 - type: Linux - distribution: Fedora - version: 18.0 - requirements: - - local_storage: - node: my_storage - relationship: storage_attachesto_2 - - my_storage: - type: tosca.nodes.BlockStorage - properties: - size: { get_input: storage_size } - snapshot_id: { get_input: storage_snapshot_id } - - relationship_templates: - - storage_attachesto_1: - type: MyAttachesTo - properties: - location: /my_data_location - - storage_attachesto_2: - type: MyAttachesTo - properties: - location: /some_other_data_location - - outputs: - private_ip_1: - description: The private IP address of the application's first tier. - value: { get_attribute: [ my_web_app_tier_1, private_address ] } - private_ip_2: - description: The private IP address of the application's second tier. - value: { get_attribute: [ my_web_app_tier_2, private_address ] } - volume_id: - description: The volume id of the block storage instance. - value: { get_property: [ my_storage, volume_id ] } # ARIA NOTE: wrong in spec http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-5/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-5/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-5/inputs.yaml deleted file mode 100644 index d0b0854..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-5/inputs.yaml +++ /dev/null @@ -1,3 +0,0 @@ -storage_snapshot_id: "snapshot-id" -storage_location: /mnt -cpus: 4 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-6/block-storage-6.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-6/block-storage-6.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-6/block-storage-6.yaml deleted file mode 100644 index 534884a..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-6/block-storage-6.yaml +++ /dev/null @@ -1,102 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with 2 servers each with different attached block storage. - -metadata: - template_name: block-storage-6 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -topology_template: - - inputs: - cpus: - type: integer - description: Number of CPUs for the server. - constraints: - - valid_values: [ 1, 2, 4, 8 ] - storage_size: - type: scalar-unit.size - default: 1 GB - description: Size of the storage to be created. - storage_snapshot_id: - type: string - description: >- - Optional identifier for an existing snapshot to use when creating storage. - storage_location: - type: string - description: >- - Block storage mount point (filesystem path). - - node_templates: - - my_server: - type: tosca.nodes.Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: { get_input: cpus } - mem_size: 4096 MB - os: - properties: - architecture: x86_64 - type: Linux - distribution: Fedora - version: 18.0 - requirements: - - local_storage: - node: my_storage - relationship: - type: AttachesTo - properties: - location: { get_input: storage_location } - - my_storage: - type: tosca.nodes.BlockStorage - properties: - size: { get_input: storage_size } - snapshot_id: { get_input: storage_snapshot_id } - - my_server2: - type: tosca.nodes.Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: { get_input: cpus } - mem_size: 4096 MB - os: - properties: - architecture: x86_64 - type: Linux - distribution: Fedora - version: 18.0 - requirements: - - local_storage: - node: my_storage2 - relationship: - type: AttachesTo - properties: - location: { get_input: storage_location } - - my_storage2: - type: tosca.nodes.BlockStorage - properties: - size: { get_input: storage_size } - snapshot_id: { get_input: storage_snapshot_id } - - outputs: - server_ip_1: - description: The private IP address of the application's first server. - value: { get_attribute: [ my_server, private_address ] } - server_ip_2: - description: The private IP address of the application's second server. - value: { get_attribute: [ my_server2, private_address ] } - volume_id_1: - description: The volume id of the first block storage instance. - value: { get_property: [ my_storage, volume_id ] } # ARIA NOTE: wrong in spec - volume_id_2: - description: The volume id of the second block storage instance. - value: { get_property: [ my_storage2, volume_id ] } # ARIA NOTE: wrong in spec http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-6/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-6/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-6/inputs.yaml deleted file mode 100644 index d0b0854..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/block-storage-6/inputs.yaml +++ /dev/null @@ -1,3 +0,0 @@ -storage_snapshot_id: "snapshot-id" -storage_location: /mnt -cpus: 4 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/compute-1/compute-1.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/compute-1/compute-1.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/compute-1/compute-1.yaml deleted file mode 100644 index 254d2b6..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/compute-1/compute-1.yaml +++ /dev/null @@ -1,42 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile that just defines a single compute instance and selects a (guest) host - Operating System from the Compute node's properties. Note, this example does not include default - values on inputs properties. - -metadata: - template_name: compute-1 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -topology_template: - - inputs: - cpus: - type: integer - description: Number of CPUs for the server. - constraints: - - valid_values: [ 1, 2, 4, 8 ] - - node_templates: - - my_server: - type: Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: { get_input: cpus } - mem_size: 1 GB - os: - properties: - architecture: x86_64 - type: Linux - distribution: ubuntu - version: 12.04 - - outputs: - private_ip: - description: The private IP address of the deployed server instance. - value: { get_attribute: [ my_server, private_address ] } http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/compute-1/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/compute-1/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/compute-1/inputs.yaml deleted file mode 100644 index c1ee88a..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/compute-1/inputs.yaml +++ /dev/null @@ -1 +0,0 @@ -cpus: 4 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/container-1/container-1.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/container-1/container-1.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/container-1/container-1.yaml deleted file mode 100644 index f6f69fc..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/container-1/container-1.yaml +++ /dev/null @@ -1,68 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with wordpress, web server and mysql on the same server. - -metadata: - template_name: compute-1 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -imports: - - ../non-normative-types.yaml - -# Repositories to retrieve code artifacts from - -repositories: - - docker_hub: https://registry.hub.docker.com/ - -topology_template: - - inputs: - wp_host_port: - type: integer - description: The host port that maps to port 80 of the WordPress container. - db_root_pwd: - type: string - description: Root password for MySQL. - - node_templates: - - # The MYSQL container based on official MySQL image in Docker hub - - mysql_container: - type: tosca.nodes.Container.Application.Docker - # ARIA NOTE: moved to a requirement in the node type - #capabilities: - # # This is a capability that would mimic the Docker âlink feature - # database_link: tosca.capabilities.Docker.Link - artifacts: - my_image: - file: mysql - type: tosca.artifacts.Deployment.Image.Container.Docker - repository: docker_hub - interfaces: - Standard: - create: - implementation: my_image - inputs: - db_root_password: { get_input: db_root_pwd } - - # The WordPress container based on official WordPress image in Docker hub - - wordpress_container: - type: tosca.nodes.Container.Application.Docker - requirements: - - database_link: mysql_container - artifacts: - my_image: - file: wordpress - type: tosca.artifacts.Deployment.Image.Container.Docker - repository: docker_hub - interfaces: - Standard: - create: - implementation: my_image - inputs: - host_port: { get_input: wp_host_port } http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/collectd.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/collectd.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/collectd.yaml deleted file mode 100644 index 6d28899..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/collectd.yaml +++ /dev/null @@ -1,10 +0,0 @@ -# ARIA NOTE: missing in spec - -node_types: - - tosca.nodes.SoftwareComponent.Collectd: - derived_from: tosca.nodes.SoftwareComponent - requirements: - - collectd_endpoint: - capability: tosca.capabilities.Endpoint - relationship: tosca.relationships.ConnectsTo http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/elasticsearch.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/elasticsearch.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/elasticsearch.yaml deleted file mode 100644 index 72b210a..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/elasticsearch.yaml +++ /dev/null @@ -1,8 +0,0 @@ -# ARIA NOTE: missing in spec - -node_types: - - tosca.nodes.SoftwareComponent.Elasticsearch: - derived_from: tosca.nodes.SoftwareComponent - capabilities: - app: tosca.capabilities.Endpoint http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/kibana.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/kibana.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/kibana.yaml deleted file mode 100644 index 4ee8700..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/kibana.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# ARIA NOTE: missing in spec - -node_types: - - tosca.nodes.SoftwareComponent.Kibana: - derived_from: tosca.nodes.SoftwareComponent - requirements: - - search_endpoint: - capability: tosca.capabilities.Endpoint - relationship: tosca.relationships.ConnectsTo - capabilities: - app: tosca.capabilities.Endpoint http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/logstash.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/logstash.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/logstash.yaml deleted file mode 100644 index ea74c7e..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/logstash.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# ARIA NOTE: missing in spec - -node_types: - - tosca.nodes.SoftwareComponent.Logstash: - derived_from: tosca.nodes.SoftwareComponent - requirements: - - search_endpoint: - capability: tosca.capabilities.Endpoint - relationship: tosca.relationships.ConnectsTo - capabilities: - app: tosca.capabilities.Endpoint http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/rsyslog.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/rsyslog.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/rsyslog.yaml deleted file mode 100644 index 3bd7c2b..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/custom_types/rsyslog.yaml +++ /dev/null @@ -1,10 +0,0 @@ -# ARIA NOTE: missing in spec - -node_types: - - tosca.nodes.SoftwareComponent.Rsyslog: - derived_from: tosca.nodes.SoftwareComponent - requirements: - - rsyslog_endpoint: - capability: tosca.capabilities.Endpoint - relationship: tosca.relationships.ConnectsTo http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/inputs.yaml deleted file mode 100644 index 5302bbf..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/inputs.yaml +++ /dev/null @@ -1 +0,0 @@ -my_cpus: 8 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/multi-tier-1.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/multi-tier-1.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/multi-tier-1.yaml deleted file mode 100644 index 50401ec..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/multi-tier-1/multi-tier-1.yaml +++ /dev/null @@ -1,237 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - This TOSCA simple profile deploys nodejs, mongodb, elasticsearch, logstash and kibana each on a - separate server with monitoring enabled for nodejs server where a sample nodejs application is - running. The syslog and collectd are installed on a nodejs server. - -metadata: - template_name: multi-tier-1 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -imports: - - ../webserver-dbms-2/custom_types/paypalpizzastore_nodejs_app.yaml # ARIA NOTE: moved - - custom_types/elasticsearch.yaml - - custom_types/logstash.yaml - - custom_types/kibana.yaml - - custom_types/collectd.yaml - - custom_types/rsyslog.yaml - -dsl_definitions: - - host_capabilities: &host_capabilities - # container properties (flavor) - disk_size: 10 GB - num_cpus: { get_input: my_cpus } - mem_size: 4096 MB - os_capabilities: &os_capabilities - architecture: x86_64 - type: Linux - distribution: Ubuntu - version: 14.04 - -topology_template: - - inputs: - my_cpus: - type: integer - description: Number of CPUs for the server. - constraints: - - valid_values: [ 1, 2, 4, 8 ] - github_url: - type: string - description: The URL to download nodejs. - default: https://github.com/sample.git - - node_templates: - - paypal_pizzastore: - type: tosca.nodes.WebApplication.PayPalPizzaStore - properties: - github_url: { get_input: github_url } - requirements: - - host: nodejs - - database_connection: mongo_db - interfaces: - Standard: - configure: - implementation: scripts/nodejs/configure.sh - inputs: - github_url: { get_property: [ SELF, github_url ] } - mongodb_ip: { get_attribute: [ mongo_server, private_address ] } - start: scripts/nodejs/start.sh - - nodejs: - type: tosca.nodes.WebServer.Nodejs - requirements: - - host: app_server - interfaces: - Standard: - create: scripts/nodejs/create.sh - - mongo_db: - type: tosca.nodes.Database - properties: - name: 'pizzastore' # ARIA NOTE: missing in spec - requirements: - - host: mongo_dbms - interfaces: - Standard: - create: create_database.sh - - mongo_dbms: - type: tosca.nodes.DBMS - requirements: - - host: mongo_server - interfaces: - Standard: # ARIA NOTE: wrong in spec - create: scripts/mongodb/create.sh - configure: - implementation: scripts/mongodb/config.sh - inputs: - mongodb_ip: { get_attribute: [ mongo_server, private_address ] } # ARIA NOTE: wrong in spec - start: scripts/mongodb/start.sh - - elasticsearch: - type: tosca.nodes.SoftwareComponent.Elasticsearch - requirements: - - host: elasticsearch_server - interfaces: - Standard: # ARIA NOTE: wrong in spec - create: scripts/elasticsearch/create.sh - start: scripts/elasticsearch/start.sh - - logstash: - type: tosca.nodes.SoftwareComponent.Logstash - requirements: - - host: logstash_server - # ARIA NOTE: mangled in the spec - - search_endpoint: - node: elasticsearch - relationship: - interfaces: - Configure: - pre_configure_source: - implementation: python/logstash/configure_elasticsearch.py - inputs: - elasticsearch_ip: { get_attribute: [ elasticsearch_server, private_address ] } # ARIA NOTE: wrong in spec - interfaces: - Standard: # ARIA NOTE: wrong in spec - create: scripts/lostash/create.sh - configure: scripts/logstash/config.sh - start: scripts/logstash/start.sh - - kibana: - type: tosca.nodes.SoftwareComponent.Kibana - requirements: - - host: kibana_server - - search_endpoint: elasticsearch - interfaces: - Standard: # ARIA NOTE: wrong in spec - create: scripts/kibana/create.sh - configure: - implementation: scripts/kibana/config.sh - inputs: - elasticsearch_ip: { get_attribute: [ elasticsearch_server, private_address ] } # ARIA NOTE: wrong in spec - kibana_ip: { get_attribute: [ kibana_server, private_address ] } # ARIA NOTE: wrong in spec - start: scripts/kibana/start.sh - - app_collectd: - type: tosca.nodes.SoftwareComponent.Collectd - requirements: - - host: app_server - # ARIA NOTE: mangled in the spec - - collectd_endpoint: - node: logstash - relationship: - interfaces: - Configure: - pre_configure_target: - implementation: python/logstash/configure_collectd.py - interfaces: - Standard: # ARIA NOTE: wrong in spec - create: scripts/collectd/create.sh - configure: - implementation: python/collectd/config.py - inputs: - logstash_ip: { get_attribute: [ logstash_server, private_address ] } # ARIA NOTE: wrong in spec - start: scripts/collectd/start.sh - - app_rsyslog: - type: tosca.nodes.SoftwareComponent.Rsyslog - requirements: - - host: app_server - # ARIA NOTE: mangled in the spec - - rsyslog_endpoint: - node: logstash - relationship: - interfaces: - Configure: - pre_configure_target: - implementation: python/logstash/configure_rsyslog.py - interfaces: - Standard: # ARIA NOTE: wrong in spec - create: scripts/rsyslog/create.sh - configure: - implementation: scripts/rsyslog/config.sh - inputs: - logstash_ip: { get_attribute: [ logstash_server, private_address ] } # ARIA NOTE: wrong in spec - start: scripts/rsyslog/start.sh - - app_server: - type: tosca.nodes.Compute - capabilities: - host: - properties: *host_capabilities - os: - properties: *os_capabilities - - mongo_server: - type: tosca.nodes.Compute - capabilities: - host: - properties: *host_capabilities - os: - properties: *os_capabilities - - elasticsearch_server: - type: tosca.nodes.Compute - capabilities: - host: - properties: *host_capabilities - os: - properties: *os_capabilities - - logstash_server: - type: tosca.nodes.Compute - capabilities: - host: - properties: *host_capabilities - os: - properties: *os_capabilities - - kibana_server: - type: tosca.nodes.Compute - capabilities: - host: - properties: *host_capabilities - os: - properties: *os_capabilities - - outputs: - nodejs_url: - description: URL for the nodejs server. - value: { get_attribute: [ app_server, private_address ] } - mongodb_url: - description: URL for the mongodb server. - value: { get_attribute: [ mongo_server, private_address ] } - elasticsearch_url: - description: URL for the elasticsearch server. - value: { get_attribute: [ elasticsearch_server, private_address ] } - logstash_url: - description: URL for the logstash server. - value: { get_attribute: [ logstash_server, private_address ] } - kibana_url: - description: URL for the kibana server. - value: { get_attribute: [ kibana_server, private_address ] } http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-1/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-1/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-1/inputs.yaml deleted file mode 100644 index 9687bb0..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-1/inputs.yaml +++ /dev/null @@ -1 +0,0 @@ -network_name: "network" \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-1/network-1.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-1/network-1.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-1/network-1.yaml deleted file mode 100644 index c66964f..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-1/network-1.yaml +++ /dev/null @@ -1,49 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with 1 server bound to a new network. - -metadata: - template_name: network-1 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -topology_template: - - inputs: - network_name: - type: string - description: Network name - - node_templates: - - my_server: - type: tosca.nodes.Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: 1 - mem_size: 4096 MB - os: - properties: - architecture: x86_64 - type: Linux - distribution: CirrOS - version: 0.3.2 - - my_network: - type: tosca.nodes.network.Network - properties: - network_name: { get_input: network_name } - ip_version: 4 - cidr: '192.168.0.0/24' - start_ip: '192.168.0.50' - end_ip: '192.168.0.200' - gateway_ip: '192.168.0.1' - - my_port: - type: tosca.nodes.network.Port - requirements: - - binding: my_server - - link: my_network http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-2/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-2/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-2/inputs.yaml deleted file mode 100644 index 9687bb0..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-2/inputs.yaml +++ /dev/null @@ -1 +0,0 @@ -network_name: "network" \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-2/network-2.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-2/network-2.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-2/network-2.yaml deleted file mode 100644 index 017950d..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-2/network-2.yaml +++ /dev/null @@ -1,46 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with 1 server bound to an existing network. - -metadata: - template_name: network-2 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -topology_template: - - inputs: - network_name: - type: string - description: Network name - - node_templates: - - my_server: - type: tosca.nodes.Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: 1 - mem_size: 4096 MB - os: - properties: - architecture: x86_64 - type: Linux - distribution: CirrOS - version: 0.3.2 - - my_network: - type: tosca.nodes.network.Network - properties: - network_name: { get_input: network_name } - - my_port: - type: tosca.nodes.network.Port - requirements: - - binding: - node: my_server - - link: - node: my_network http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-3/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-3/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-3/inputs.yaml deleted file mode 100644 index 9687bb0..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-3/inputs.yaml +++ /dev/null @@ -1 +0,0 @@ -network_name: "network" \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-3/network-3.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-3/network-3.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-3/network-3.yaml deleted file mode 100644 index 5fa40b7..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-3/network-3.yaml +++ /dev/null @@ -1,81 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with 2 servers bound to the 1 network. - -metadata: - template_name: network-3 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -topology_template: - - inputs: - network_name: - type: string - description: Network name - network_cidr: - type: string - default: 10.0.0.0/24 - description: CIDR for the network - network_start_ip: - type: string - default: 10.0.0.100 - description: Start IP for the allocation pool - network_end_ip: - type: string - default: 10.0.0.150 - description: End IP for the allocation pool - - node_templates: - - my_server: - type: tosca.nodes.Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: 1 - mem_size: 4096 MB - os: - properties: - architecture: x86_64 - type: Linux - distribution: CirrOS - version: 0.3.2 - - my_server2: - type: tosca.nodes.Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: 1 - mem_size: 4096 MB - os: - properties: - architecture: x86_64 - type: Linux - distribution: CirrOS - version: 0.3.2 - - my_network: - type: tosca.nodes.network.Network - properties: - ip_version: 4 - cidr: { get_input: network_cidr } - network_name: { get_input: network_name } - start_ip: { get_input: network_start_ip } - end_ip: { get_input: network_end_ip } - - my_port: - type: tosca.nodes.network.Port - requirements: - - binding: my_server - - link: my_network - - my_port2: - type: tosca.nodes.network.Port - requirements: - - binding: my_server2 - - link: my_network http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-4/network-4.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-4/network-4.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-4/network-4.yaml deleted file mode 100644 index 5b51117..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/network-4/network-4.yaml +++ /dev/null @@ -1,70 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with 1 server bound to 3 networks. - -metadata: - template_name: network-4 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -topology_template: - - node_templates: - - my_server: - type: tosca.nodes.Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: 1 - mem_size: 4096 MB - os: - properties: - architecture: x86_64 - type: Linux - distribution: CirrOS - version: 0.3.2 - - my_network1: - type: tosca.nodes.network.Network - properties: - cidr: '192.168.1.0/24' - network_name: net1 - - my_network2: - type: tosca.nodes.network.Network - properties: - cidr: '192.168.2.0/24' - network_name: net2 - - my_network3: - type: tosca.nodes.network.Network - properties: - cidr: '192.168.3.0/24' - network_name: net3 - - my_port1: - type: tosca.nodes.network.Port - properties: - order: 0 - requirements: - - binding: my_server - - link: my_network1 - - my_port2: - type: tosca.nodes.network.Port - properties: - order: 1 - requirements: - - binding: my_server - - link: my_network2 - - my_port3: - type: tosca.nodes.network.Port - properties: - order: 2 - requirements: - - binding: my_server - - link: my_network3 http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/non-normative-types.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/non-normative-types.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/non-normative-types.yaml deleted file mode 100644 index 24f22a3..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/non-normative-types.yaml +++ /dev/null @@ -1,177 +0,0 @@ - -artifact_types: - - tosca.artifacts.Deployment.Image.Container.Docker: - _extensions: - specification: tosca-simple-1.0 - specification_section: 8.1.1 - derived_from: tosca.artifacts.Deployment.Image - description: Docker Container Image - - tosca.artifacts.Deployment.Image.VM.ISO: - _extensions: - specification: tosca-simple-1.0 - specification_section: 8.1.2 - derived_from: tosca.artifacts.Deployment.Image.VM - description: Virtual Machine (VM) image in ISO disk format - mime_type: application/octet-stream - file_ext: [ iso ] - - tosca.artifacts.Deployment.Image.VM.QCOW2: - _extensions: - specification: tosca-simple-1.0 - specification_section: 8.1.3 - derived_from: tosca.artifacts.Deployment.Image.VM - description: Virtual Machine (VM) image in QCOW v2 standard disk format - mime_type: application/octet-stream - file_ext: [ qcow2 ] - -capability_types: - - tosca.capabilities.Container.Docker: - _extensions: - specification: tosca-simple-1.0 - specification_section: 8.2.1 - derived_from: tosca.capabilities.Container - description: The type indicates capabilities of a Docker runtime environment (client). - properties: - version: - description: >- - The Docker version capability (i.e., the versions supported by the capability). - type: list - required: false - entry_schema: version - publish_all: - description: >- - Indicates that all ports (ranges) listed in the dockerfile using the EXPOSE keyword be - published. - type: boolean - default: false - required: false - publish_ports: - description: >- - List of ports mappings from source (Docker container) to target (host) ports to publish. - type: list - entry_schema: PortSpec - required: false - expose_ports: - description: >- - List of ports mappings from source (Docker container) to expose to other Docker containers - (not accessible outside host). - type: list - entry_schema: PortSpec - required: false - volumes: - description: >- - The dockerfile VOLUME command which is used to enable access from the Docker container to - a directory on the host machine. - type: list - entry_schema: string - required: false - # ARIA NOTE: these are missing in the spec - host_id: - description: >- - The optional identifier of an existing host resource that should be used to run this - container on. - type: string - required: false - volume_id: - description: >- - The optional identifier of an existing storage volume (resource) that should be used to - create the container's mount point(s) on. - type: string - required: false - - # ARIA NOTE: missing in spec - tosca.capabilities.Docker.Link: - derived_from: tosca.capabilities.Root - description: This is a capability that would mimic the Docker âlink feature - -node_types: - - tosca.nodes.Database.MySQL: - _extensions: - specification: tosca-simple-1.0 - specification_section: 8.3.1 - derived_from: tosca.nodes.Database - requirements: - - host: - capability: tosca.capabilities.Container # ARIA NOTE: missing in spec - node: tosca.nodes.DBMS.MySQL - - tosca.nodes.DBMS.MySQL: - _extensions: - specification: tosca-simple-1.0 - specification_section: 8.3.2 - derived_from: tosca.nodes.DBMS - properties: - port: - description: reflect the default MySQL server port - type: integer # AIRA NOTE: missing in spec - default: 3306 - root_password: - # MySQL requires a root_password for configuration - # Override parent DBMS definition to make this property required - type: string # AIRA NOTE: missing in spec - required: true - capabilities: - # Further constrain the 'host' capability to only allow MySQL databases - host: - type: tosca.capabilities.Container # ARIA NOTE: missing in spec - valid_source_types: [ tosca.nodes.Database.MySQL ] - - tosca.nodes.WebServer.Apache: - _extensions: - specification: tosca-simple-1.0 - specification_section: 8.3.3 - derived_from: tosca.nodes.WebServer - - tosca.nodes.WebApplication.WordPress: - _extensions: - specification: tosca-simple-1.0 - specification_section: 8.3.4 - derived_from: tosca.nodes.WebApplication - properties: - admin_user: - type: string - required: false # ARIA NOTE: missing in spec - admin_password: - type: string - required: false # ARIA NOTE: missing in spec - db_host: - type: string - required: false # ARIA NOTE: missing in spec - requirements: - - database_endpoint: - capability: tosca.capabilities.Endpoint.Database - node: tosca.nodes.Database - relationship: tosca.relationships.ConnectsTo - - tosca.nodes.WebServer.Nodejs: - _extensions: - specification: tosca-simple-1.0 - specification_section: 8.3.5 - derived_from: tosca.nodes.WebServer - properties: - # Property to supply the desired implementation in the Github repository - github_url: - required: false - type: string - description: location of the application on the github. - default: https://github.com/mmm/testnode.git - interfaces: - Standard: - inputs: - github_url: - type: string - - tosca.nodes.Container.Application.Docker: - _extensions: - specification: tosca-simple-1.0 - specification_section: 8.3.6 - derived_from: tosca.nodes.Container.Application - requirements: - - host: - capability: tosca.capabilities.Container.Docker - - database_link: # ARIA NOTE: missing in spec - capability: tosca.capabilities.Docker.Link http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/object-storage-1/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/object-storage-1/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/object-storage-1/inputs.yaml deleted file mode 100644 index 57f99a3..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/object-storage-1/inputs.yaml +++ /dev/null @@ -1 +0,0 @@ -objectstore_name: "objectstore" \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/object-storage-1/object-storage-1.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/object-storage-1/object-storage-1.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/object-storage-1/object-storage-1.yaml deleted file mode 100644 index c55a4db..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/object-storage-1/object-storage-1.yaml +++ /dev/null @@ -1,24 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA template for creating an object storage service. - -metadata: - template_name: object-storage-1 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -topology_template: - - inputs: - objectstore_name: - type: string - - node_templates: - - obj_store_server: - type: tosca.nodes.ObjectStorage - properties: - name: { get_input: objectstore_name } - size: 4096 MB - maxsize: 20 GB http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/software-component-1/inputs.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/software-component-1/inputs.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/software-component-1/inputs.yaml deleted file mode 100644 index c1ee88a..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/software-component-1/inputs.yaml +++ /dev/null @@ -1 +0,0 @@ -cpus: 4 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/software-component-1/software-component-1.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/software-component-1/software-component-1.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/software-component-1/software-component-1.yaml deleted file mode 100644 index fc1cfd7..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/software-component-1/software-component-1.yaml +++ /dev/null @@ -1,54 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA Simple Profile with a SoftwareComponent node with a declared Virtual machine (VM) deployment - artifact that automatically deploys to its host Compute node. - -metadata: - template_name: software-component-1 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -imports: - - ../non-normative-types.yaml - -topology_template: - - # ARIA NOTE: missing in spec - inputs: - cpus: - type: integer - description: Number of CPUs for the server. - constraints: - - valid_values: [ 1, 2, 4, 8 ] - - node_templates: - - my_virtual_machine: - type: SoftwareComponent - artifacts: - my_vm_image: - file: images/fedora-18-x86_64.qcow2 - type: tosca.artifacts.Deployment.Image.VM.QCOW2 - requirements: - - host: my_server - # Automatically deploy the VM image referenced on the create operation - interfaces: - Standard: - create: my_vm_image - - # Compute instance with no Operating System guest host - my_server: - type: Compute - capabilities: - # Note: no guest OperatingSystem requirements as these are in the image. - host: - properties: - disk_size: 10 GB - num_cpus: { get_input: cpus } - mem_size: 4 GB - - outputs: - private_ip: - description: The private IP address of the deployed server instance. - value: { get_attribute: [ my_server, private_address ] } http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/webserver-dbms-1/webserver-dbms-1.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/webserver-dbms-1/webserver-dbms-1.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/webserver-dbms-1/webserver-dbms-1.yaml deleted file mode 100644 index faf109d..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/webserver-dbms-1/webserver-dbms-1.yaml +++ /dev/null @@ -1,122 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with WordPress, a web server, a MySQL DBMS hosting the application's database - content on the same server. Does not have input defaults or constraints. - -metadata: - template_name: webserver-dbms-1 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -imports: - - ../non-normative-types.yaml - -topology_template: - - inputs: - cpus: - type: integer - description: Number of CPUs for the server. - db_name: - type: string - description: The name of the database. - db_user: - type: string - description: The username of the DB user. - db_pwd: - type: string - description: The WordPress database admin account password. - db_root_pwd: - type: string - description: Root password for MySQL. - db_port: - type: PortDef - description: Port for the MySQL database - # ARIA NOTE: missing in spec - context_root: - type: string - description: Context root for WordPress. - - node_templates: - - wordpress: - type: tosca.nodes.WebApplication.WordPress - properties: - context_root: { get_input: context_root } - requirements: - - host: webserver - - database_endpoint: mysql_database - interfaces: - Standard: - create: wordpress_install.sh - configure: - implementation: wordpress_configure.sh - inputs: - wp_db_name: { get_property: [ mysql_database, name ] } - wp_db_user: { get_property: [ mysql_database, user ] } - wp_db_password: { get_property: [ mysql_database, password ] } - # In my own template, find requirement/capability, find port property - wp_db_port: { get_property: [ SELF, database_endpoint, port ] } - - mysql_database: - type: Database - properties: - name: { get_input: db_name } - user: { get_input: db_user } - password: { get_input: db_pwd } - port: { get_input: db_port } - capabilities: - database_endpoint: - properties: - port: { get_input: db_port } - requirements: - - host: mysql_dbms - interfaces: - Standard: - configure: mysql_database_configure.sh - - mysql_dbms: - type: DBMS - properties: - root_password: { get_input: db_root_pwd } - port: { get_input: db_port } - requirements: - - host: server - interfaces: - Standard: - # ARIA NOTE: not declared in spec - #inputs: - # db_root_password: { get_property: [ mysql_dbms, root_password ] } - create: mysql_dbms_install.sh - start: mysql_dbms_start.sh - configure: mysql_dbms_configure.sh - - webserver: - type: WebServer - requirements: - - host: server - interfaces: - Standard: - create: webserver_install.sh - start: webserver_start.sh - - server: - type: Compute - capabilities: - host: - properties: - disk_size: 10 GB - num_cpus: { get_input: cpus } - mem_size: 4096 MB - os: - properties: - architecture: x86_64 - type: linux - distribution: fedora - version: 17.0 - - outputs: - website_url: - description: URL for Wordpress wiki. - value: { get_attribute: [ server, public_address ] } http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/webserver-dbms-2/custom_types/paypalpizzastore_nodejs_app.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/webserver-dbms-2/custom_types/paypalpizzastore_nodejs_app.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/webserver-dbms-2/custom_types/paypalpizzastore_nodejs_app.yaml deleted file mode 100644 index 02bb399..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/webserver-dbms-2/custom_types/paypalpizzastore_nodejs_app.yaml +++ /dev/null @@ -1,15 +0,0 @@ -# ARIA NOTE: missing in spec - -node_types: - - tosca.nodes.WebApplication.PayPalPizzaStore: - derived_from: tosca.nodes.WebApplication - properties: - github_url: - type: string - requirements: - - database_connection: - capability: tosca.capabilities.Node - - tosca.nodes.WebServer.Nodejs: - derived_from: tosca.nodes.WebServer http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/webserver-dbms-2/webserver-dbms-2.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/webserver-dbms-2/webserver-dbms-2.yaml b/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/webserver-dbms-2/webserver-dbms-2.yaml deleted file mode 100644 index 91f0b35..0000000 --- a/apache-ariatosca-0.1.1/examples/tosca-simple-1.0/use-cases/webserver-dbms-2/webserver-dbms-2.yaml +++ /dev/null @@ -1,115 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0 - -description: >- - TOSCA simple profile with a nodejs web server hosting a PayPal sample application which connects - to a mongodb database. - -metadata: - template_name: webserver-dbms-2 - template_author: TOSCA Simple Profile in YAML - template_version: '1.0' - -imports: - - custom_types/paypalpizzastore_nodejs_app.yaml - -dsl_definitions: - - ubuntu_node: &ubuntu_node - disk_size: 10 GB - num_cpus: { get_input: my_cpus } - mem_size: 4096 MB - os_capabilities: &os_capabilities - architecture: x86_64 - type: Linux - distribution: Ubuntu - version: 14.04 - -topology_template: - - inputs: - my_cpus: - type: integer - description: Number of CPUs for the server. - constraints: - - valid_values: [ 1, 2, 4, 8 ] - default: 1 - github_url: - type: string - description: The URL to download nodejs. - default: https://github.com/sample.git - - node_templates: - - paypal_pizzastore: - type: tosca.nodes.WebApplication.PayPalPizzaStore - properties: - github_url: { get_input: github_url } - requirements: - - host: nodejs - - database_connection: mongo_db - interfaces: - Standard: - configure: - implementation: scripts/nodejs/configure.sh - inputs: - github_url: { get_property: [ SELF, github_url ] } - mongodb_ip: { get_attribute: [ mongo_server, private_address ] } - start: scripts/nodejs/start.sh - - nodejs: - type: tosca.nodes.WebServer.Nodejs - requirements: - - host: app_server - interfaces: - Standard: - create: scripts/nodejs/create.sh - - mongo_db: - type: tosca.nodes.Database - properties: - name: 'pizzastore' # ARIA NOTE: missing in spec - requirements: - - host: mongo_dbms - interfaces: - Standard: - create: create_database.sh - - mongo_dbms: - type: tosca.nodes.DBMS - requirements: - - host: mongo_server - properties: - port: 27017 - interfaces: - Standard: # ARIA NOTE: mistaken in spec - create: mongodb/create.sh - configure: - implementation: mongodb/config.sh - inputs: - mongodb_ip: { get_attribute: [ mongo_server, private_address ] } - start: mongodb/start.sh - - mongo_server: - type: tosca.nodes.Compute - capabilities: - os: - properties: *os_capabilities - host: - properties: *ubuntu_node - - app_server: - type: tosca.nodes.Compute - capabilities: - os: - properties: *os_capabilities - host: - properties: *ubuntu_node - - outputs: - - nodejs_url: - description: URL for the nodejs server, http://<IP>:3000 - value: { get_attribute: [ app_server, private_address ] } - mongodb_url: - description: URL for the mongodb server. - value: { get_attribute: [ mongo_server, private_address ] } http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/aria-1.0/aria-1.0.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/aria-1.0/aria-1.0.yaml b/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/aria-1.0/aria-1.0.yaml deleted file mode 100644 index c1dc11d..0000000 --- a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/aria-1.0/aria-1.0.yaml +++ /dev/null @@ -1,61 +0,0 @@ -# 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. - -policy_types: - - aria.Plugin: - _extensions: - shorthand_name: Plugin - type_qualified_name: aria:Plugin - role: plugin - description: >- - Policy used to specify plugins used by services. For an operation to be able to use a plugin - it must have a matching policy. The name of the policy must be the name of the plugin. The - optional properties can be used to further specify plugin selection by the orchestrator. - derived_from: tosca.policies.Root - properties: - version: - description: >- - Minimum plugin version. - type: version - required: false - enabled: - description: >- - If the policy is to disable the plugin then it will be ignored and all operations and - workflows depending on it will also be disabled. - type: boolean - default: true - - aria.Workflow: - _extensions: - shorthand_name: Workflow - type_qualified_name: aria:Workflow - role: workflow - description: >- - Policy used to specify custom workflows. A workflow is usually a workload of interconnected - calls to operations on nodes and relationships in the service topology. The name of the policy - is used as the name of the workflow. Note that it can be the same name as one of the normative - lifecycle workflows ("install", "uninstall", etc.), in which case it would be considered an - override of the default behavior. If the workflow requires parameters then this base type - should be inherited and extended with additional properties. - derived_from: tosca.policies.Root - properties: - implementation: - description: >- - The interpretation of the implementation string depends on the orchestrator. In ARIA it is - the full path to a Python @workflow function that generates a task graph based on the - service topology. - type: string - required: true http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/artifacts.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/artifacts.yaml b/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/artifacts.yaml deleted file mode 100644 index cfb0df5..0000000 --- a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/artifacts.yaml +++ /dev/null @@ -1,121 +0,0 @@ -# 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 ]
