diff --git a/servicetemplates/radon.blueprints.examples/myApacheService/README.md b/servicetemplates/radon.blueprints.examples/myApacheService/README.md new file mode 100644 index 0000000000000000000000000000000000000000..82b6c89044a623a301e6c81e7c6f41dd0382ed72 --- /dev/null +++ b/servicetemplates/radon.blueprints.examples/myApacheService/README.md @@ -0,0 +1 @@ +Tark first apache service template \ No newline at end of file diff --git a/servicetemplates/radon.blueprints.examples/myApacheService/README.md.mimetype b/servicetemplates/radon.blueprints.examples/myApacheService/README.md.mimetype new file mode 100644 index 0000000000000000000000000000000000000000..f1148cc2baccbe95d5f63958e07c4f7df1f9d6c4 --- /dev/null +++ b/servicetemplates/radon.blueprints.examples/myApacheService/README.md.mimetype @@ -0,0 +1 @@ +text/plain \ No newline at end of file diff --git a/servicetemplates/radon.blueprints.examples/myApacheService/ServiceTemplate.tosca b/servicetemplates/radon.blueprints.examples/myApacheService/ServiceTemplate.tosca new file mode 100644 index 0000000000000000000000000000000000000000..08794fd923dd321c8d2adf10d777b98db3fbbb90 --- /dev/null +++ b/servicetemplates/radon.blueprints.examples/myApacheService/ServiceTemplate.tosca @@ -0,0 +1,48 @@ +tosca_definitions_version: tosca_simple_yaml_1_3 + +metadata: + targetNamespace: "radon.blueprints.examples" +topology_template: + node_templates: + RemoteWorkstation_1: + type: radon.nodes.VM.RemoteWorkstation + metadata: + x: "392" + y: "219" + displayName: "myWorkerVM_tark" + properties: + ssh_username: "centos" + KeyFile: "/home/ubuntu/tark_priv.pem" + external_ip: "172.17.89.136" + containerNginx_0: + type: radon.nodes.docker.containerNginx + metadata: + x: "1231" + y: "543" + displayName: "defaultApacheServer_tark" + properties: + container_port: "80" + image_name: "httpd:2.4" + container_name: "tark_apache" + host_port: "8088" + requirements: + - host: + node: DockerEngineUT_0 + relationship: con_HostedOn_1 + capability: host + DockerEngineUT_0: + type: radon.nodes.docker.DockerEngineUT + metadata: + x: "641" + y: "427" + displayName: "DockerEngineUT" + requirements: + - host: + node: RemoteWorkstation_1 + relationship: con_HostedOn_0 + capability: host + relationship_templates: + con_HostedOn_0: + type: tosca.relationships.HostedOn + con_HostedOn_1: + type: tosca.relationships.HostedOn