File: test_custom_interface_invalid_operation.yaml

package info (click to toggle)
python-tosca-parser 2.13.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,920 kB
  • sloc: python: 11,185; sh: 144; makefile: 26
file content (24 lines) | stat: -rw-r--r-- 523 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
tosca_definitions_version: tosca_simple_yaml_1_0

description: >
  TOSCA simple profile with invalid custom operation.

imports:
  - ../custom_types/custom_interface.yaml

topology_template:

  node_templates:
    customInterfaceTest:
      type: tosca.nodes.CustomInterfaceTest
      interfaces:
        CustomInterface:
          CustomOp4: # invalid operation
            inputs:
              param3:
                type: string
      requirements:
        - host: compute

    compute:
      type: tosca.nodes.Compute