Commit 794b02d2 authored by Spiros Koulouzis's avatar Spiros Koulouzis

fix tests

parent 7269355f
HTTP/1.1 200
Server: nginx/1.19.3
Date: Tue, 20 Oct 2020 10:57:17 GMT
Content-Type: text/plain;charset=UTF-8
Content-Length: 3008
Connection: keep-alive
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Access-Control-Allow-Origin: *
tosca_definitions_version: "tosca_simple_yaml_1_0"
topology_template:
node_templates:
compute:
properties:
disk_size: "40000 MB"
mem_size: "1000 MB"
num_cores: 1
os: "Ubuntu 18.04"
user_name: "vm_user"
interfaces:
Standard:
create: "dumy.yaml"
type: "tosca.nodes.QC.VM.Compute"
compute_1:
properties:
disk_size: "40000 MB"
mem_size: "1000 MB"
num_cores: 1
os: "Ubuntu 18.04"
user_name: "vm_user"
interfaces:
Standard:
create: "dumy.yaml"
type: "tosca.nodes.QC.VM.Compute"
gluster_fs:
requirements:
- host:
capability: "tosca.capabilities.QC.VM.topology"
node: "topology"
relationship: "tosca.relationships.HostedOn"
interfaces:
Standard:
create:
inputs:
repository: "https://github.com/bityoga/mysome_glusterfs.git"
resources:
- "001.requirements.yml"
- "002.setup_glusterfs_infra.yml"
- "003.setup_glusterfs_cluster.yml"
- "004.mount_glusterfs.yml"
type: "tosca.nodes.QC.Application.GlusterFS"
topology:
properties:
domain: "Ireland"
provider: "EC2"
requirements:
- vm:
capability: "tosca.capabilities.QC.VM"
node: "compute"
relationship: "tosca.relationships.DependsOn"
- vm:
capability: "tosca.capabilities.QC.VM"
node: "compute_1"
relationship: "tosca.relationships.DependsOn"
- vm:
capability: "tosca.capabilities.QC.VM"
node: "compute_1"
relationship: "tosca.relationships.DependsOn"
interfaces:
CloudsStorm:
delete:
inputs:
code_type: "SEQ"
object_type: "SubTopology"
hscale:
inputs:
code_type: "SEQ"
object_type: "SubTopology"
provision:
inputs:
code_type: "SEQ"
object_type: "SubTopology"
start:
inputs:
code_type: "SEQ"
object_type: "SubTopology"
stop:
inputs:
code_type: "SEQ"
object_type: "SubTopology"
type: "tosca.nodes.QC.VM.topology"
artifacts:
provisioned_files:
required: false
type: "string"
description: "TOSCA example"
imports:
- nodes: "https://raw.githubusercontent.com/qcdis-sdia/sdia-tosca/master/types/nodes.yaml"
- data: "https://raw.githubusercontent.com/qcdis-sdia/sdia-tosca/master/types/data.yml"
- capabilities: "https://raw.githubusercontent.com/qcdis-sdia/sdia-tosca/master/types/capabilities.yaml"
- policies: "https://raw.githubusercontent.com/qcdis-sdia/sdia-tosca/master/types/policies.yaml"
- interfaces: "https://raw.githubusercontent.com/qcdis-sdia/sdia-tosca/master/types/interfaces.yml"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment