Check that the number of occurences of the relationships of a template is correct related with the definition of the type. Also fix other tests that do not pass this new test. Related-Bug: 2044266 Change-Id: I3dfa56d4e48454983daacc4b210017be1123683a
29 lines
714 B
YAML
29 lines
714 B
YAML
tosca_definitions_version: tosca_simple_yaml_1_0
|
|
|
|
description: >
|
|
TOSCA simple profile with valid custom interface and operations.
|
|
|
|
imports:
|
|
- ../custom_types/custom_interface.yaml
|
|
|
|
topology_template:
|
|
|
|
node_templates:
|
|
customInterfaceTest:
|
|
type: tosca.nodes.CustomInterfaceTest
|
|
interfaces:
|
|
CustomInterface:
|
|
CustomOp: # operation from interface_type with additional inputs
|
|
inputs:
|
|
param:
|
|
type: string
|
|
CustomOp3: # operation from node_type with additional inputs
|
|
inputs:
|
|
param3:
|
|
type: string
|
|
requirements:
|
|
- host: my_server
|
|
|
|
my_server:
|
|
type: tosca.nodes.Compute
|