Merge "Update definition of tosca.nodes.WebServer"

This commit is contained in:
Jenkins
2015-04-23 02:29:56 +00:00
committed by Gerrit Code Review
2 changed files with 9 additions and 4 deletions

View File

@@ -125,10 +125,10 @@ tosca.nodes.Database:
tosca.nodes.WebServer:
derived_from: tosca.nodes.SoftwareComponent
capabilities:
http_endpoint:
type: tosca.capabilities.Endpoint
https_endpoint:
data_endpoint:
type: tosca.capabilities.Endpoint
admin_endpoint:
type: tosca.capabilities.Endpoint.Admin
host:
type: tosca.capabilities.Container
valid_source_types: [tosca.nodes.WebApplication]
@@ -372,6 +372,11 @@ tosca.capabilities.Endpoint:
ip_address:
type: string
tosca.capabilities.Endpoint.Admin:
derived_from: tosca.capabilities.Endpoint
properties:
secure: true
tosca.capabilities.Scalable:
derived_from: tosca.capabilities.Root
properties:

View File

@@ -464,7 +464,7 @@ class ToscaTemplateValidationTest(TestCase):
server:
type: tosca.nodes.WebServer
capabilities:
http_endpoint:
data_endpoint:
properties:
initiator: test
'''