tosca-parser/samples/tests/data/interfaces/test_custom_interface_operations.yaml
Yasufumi Ogawa bfbe9b33f5 Support for updating tosca-parser with TOSCA1.3
tosca-parser has had some updates to bring it into partial
compliance with the TOSCA Simple Profile for YAML version 1.3.

The implementation for the following updated items has been added:

The keyname of the Trigger definition was changed
'key_schema' was added to the keynames of the Property definition
'key_schema' was added to the keynames of the Parameter definition
The grammar for 'operation_definitions' in Interface Type changed.
'notifications' was added to the keynames of the Interface definition

Change-Id: I59f2c4b3f565a290e0f22d3648c9a2618dc1bc4e
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Co-Authored-By: Kaori Mitani <mitani.kaori@fujitsu.com>
2024-07-04 06:47:48 +00:00

30 lines
750 B
YAML

tosca_definitions_version: tosca_simple_yaml_1_3
description: >
This template contains custom defined interface type
and a node type which uses this custom interface
topology_template:
node_templates:
customInterfaceTest:
type: tosca.nodes.CustomInterfaceTest
interfaces:
CustomInterface:
operations:
CustomOp: # operation from interface_type with additional outputs
outputs:
interface_types:
tosca.interfaces.CustomInterface:
derived_from: tosca.interfaces.Root
operations:
CustomOp:
node_types:
tosca.nodes.CustomInterfaceTest:
derived_from: tosca.nodes.WebApplication
interfaces:
CustomInterface:
type: tosca.interfaces.CustomInterface