Merge "Update definition of tosca.nodes.WebServer"
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -464,7 +464,7 @@ class ToscaTemplateValidationTest(TestCase):
|
||||
server:
|
||||
type: tosca.nodes.WebServer
|
||||
capabilities:
|
||||
http_endpoint:
|
||||
data_endpoint:
|
||||
properties:
|
||||
initiator: test
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user