Backend support for operation milestones with activity inputs
[sdc.git] / catalog-be / src / test / resources / interfaceDefinition / interfaceDefinition-legacy.yaml
index 49de865..7daba75 100644 (file)
@@ -46,6 +46,43 @@ start:
         service_restoration_sla: service_restoration_sla_value
         battery_backup: true
         partner_priorty_assist: false
+  milestones:
+    on_failure:
+      activities:
+        - type: delegate
+          workflow: workflow1
+        - type: delegate
+          workflow: workflow2
+    on_success:
+      activities:
+        - type: delegate
+          workflow: workflow1
+        - type: delegate
+          workflow: workflow2
+          inputs:
+            string:
+              type: string
+              value: testString
+            complex:
+              type: tosca.datatypes.nfv.VirtualCpu
+              value:
+                virtual_cpu_oversubscription_policy: pol
+                cpu_architecture: cpu
+                virtual_cpu_clock: 27Hz
+                vdu_cpu_requirements:
+                  'k1': 'v1'
+                  'k2': 'v2'
+                virtual_cpu_pinning:
+                  virtual_cpu_pinning_policy: pol
+                  virtual_cpu_pinning_rule:
+                    - 1
+                    - 2
+    on_timeout:
+      activities:
+        - type: delegate
+          workflow: workflow1
+        - type: delegate
+          workflow: workflow2
 stop:
   implementation: "camunda/executeAction"
   inputs: