aboutsummaryrefslogtreecommitdiffstats
path: root/integration-tests/src/test/resources/ci/tests/importToscaResourceByCreateUrl/derivedFromWebAppDerivedReqCap.yml
blob: 0679bff4b197192b3368aa6b743831ef82ebc201 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types: 
  org.openecomp.resource.MyWebApp:
    derived_from: tosca.nodes.WebApplication
    properties:
      context_root:
        type: string
    capabilities:
      app_endpoint: 
        type: tosca.capabilities.Endpoint.Admin #derived from WebApplication's tosca.capabilities.Endpoint "app_endpoint"
    requirements:
      - host: 
          capability: tosca.capabilities.Container.Docker #derived from WebApplication's tosca.capabilities.Container "host"
          node: tosca.nodes.WebServer
          relationship: tosca.relationships.HostedOn