Milestone updates
[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   on_failure:
50     activities:
51       - delegate:
52           workflow: workflow1
53       - delegate:
54           workflow: workflow2
55   on_success:
56     activities:
57       - delegate:
58           workflow: workflow1
59       - delegate:
60           workflow: workflow2
61           inputs:
62             string:
63               testString
64             complex:
65               jeopardyType: test
66               name: name
67               eventType: type
68               message: message
69     filters:
70       - my_attribute:
71           equal:
72             get_attribute:
73               - SELF
74               - role
75       - my_attribute1:
76           greaterThan: my_other_value
77       - my_attribute2:
78           inRange:
79             - test1
80             - test99
81       - my_attribute3:
82           validValues:
83             - test1
84             - test2
85             - test3
86       - my_attribute4:
87           length: 12
88       - my_attribute5:
89           minLength: 4
90   on_timeout:
91     activities:
92       - delegate:
93           workflow: workflow1
94       - delegate:
95           workflow: workflow2
96 stop:
97   implementation: "camunda/executeAction"
98   inputs:
99     action:
100       type: org.openecomp.resource.datatypes.Action
101 delete:
102   implementation: "camunda/serviceDeselect"