Backend support for operation milestone filters
[sdc.git] / catalog-be / src / test / resources / interfaceDefinition / interfaceDefinition-legacy.yaml
1 inputs:
2   stringInput:
3     type: string
4     description: stringInput description
5     required: true
6     default: defaultValue
7     status: aStatus
8   actionInput:
9     type: org.openecomp.resource.datatypes.Action
10 type: tosca.interfaces.node.lifecycle.Standard
11 create:
12   implementation:
13     primary:
14       type: tosca.artifacts.asd.deploymentItem
15       file: camunda/serviceSelect
16       artifact_version: '1'
17       properties:
18         artifact_type: typeA
19 start:
20   implementation: "camunda/executeAction"
21   inputs:
22     action:
23       type: org.openecomp.resource.datatypes.Action
24     stringInput:
25       type: string
26       default: this is a string
27     booleanInput:
28       type: boolean
29       default: true
30     integerInput:
31       type: integer
32       description: an integer
33       status: supported
34       required: true
35       default: 11
36     floatInput:
37       type: float
38       required: false
39       default: 11.1
40     complexInput:
41       type: onap.datatypes.partner.access_details
42       status: experimental
43       default:
44         dsl_stability_profile: dsl_stability_profile_value
45         central_splitter: false
46         service_restoration_sla: service_restoration_sla_value
47         battery_backup: true
48         partner_priorty_assist: false
49   milestones:
50     on_failure:
51       activities:
52         - type: delegate
53           workflow: workflow1
54         - type: delegate
55           workflow: workflow2
56     on_success:
57       activities:
58         - type: delegate
59           workflow: workflow1
60         - type: delegate
61           workflow: workflow2
62           inputs:
63             string:
64               type: string
65               value: testString
66             complex:
67               type: tosca.datatypes.nfv.VirtualCpu
68               value:
69                 virtual_cpu_oversubscription_policy: pol
70                 cpu_architecture: cpu
71                 virtual_cpu_clock: 27Hz
72                 vdu_cpu_requirements:
73                   'k1': 'v1'
74                   'k2': 'v2'
75                 virtual_cpu_pinning:
76                   virtual_cpu_pinning_policy: pol
77                   virtual_cpu_pinning_rule:
78                     - 1
79                     - 2
80       filters:
81         - my_attribute:
82             equal:
83               get_attribute:
84                 - SELF
85                 - role
86         - my_attribute1:
87             greaterThan: my_other_value
88         - my_attribute2:
89             inRange:
90               - test1
91               - test99
92         - my_attribute3:
93             validValues:
94               - test1
95               - test2
96               - test3
97         - my_attribute4:
98             length: 12
99         - my_attribute5:
100             minLength: 4
101     on_timeout:
102       activities:
103         - type: delegate
104           workflow: workflow1
105         - type: delegate
106           workflow: workflow2
107 stop:
108   implementation: "camunda/executeAction"
109   inputs:
110     action:
111       type: org.openecomp.resource.datatypes.Action
112 delete:
113   implementation: "camunda/serviceDeselect"