File: custom_definitions.yaml

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

policy_types:
  mycompany.mytypes.myScalingPolicy:
    derived_from: tosca.policies.Scaling
    metadata:
     type: map
     entry_schema:
       type: string

  tosca.policies.Adva.Failure:
    derived_from: tosca.policies.Root

  tosca.policies.Adva.Failure.Restart:
    derived_from: tosca.policies.Adva.Failure