Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
ARIA-150 Fixed simple hello-world example
The simple hello-world example had a missing host node,
which caused an error at service creation phase.
The example now uses custom types which do not require
the extra host node.
  • Loading branch information
Ran Ziv committed Apr 23, 2017
1 parent 29bc84b commit 7a4a1ddabadef814affb56778c7614256ca8fe00
Showing 1 changed file with 8 additions and 3 deletions.
@@ -1,18 +1,23 @@
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0
tosca_definitions_version: tosca_simple_yaml_1_0

node_types:
web_server:
derived_from: tosca.nodes.Root
capabilities:
host:
type: tosca.capabilities.Container

web_app:
derived_from: tosca.nodes.WebApplication
properties:
port:
type: integer
default: 8080

topology_template:

node_templates:
web_server:
type: tosca.nodes.WebServer
type: web_server

web_app:
type: web_app

0 comments on commit 7a4a1dd

Please sign in to comment.